Videos Endpoints
Create Videos
POST
/
v1
/
videos
curl --request POST \
--url https://api.videoaiditor.com/v1/videos \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"renderOptionsInUI": [],
"metadata": {
"name": "<string>",
"backgroundColor": "#000000",
"duration": 123,
"fps": 30,
"canvas": {
"width": 1920,
"height": 1080
}
},
"clips": [
{
"type": "video",
"name": "<string>",
"source": "<string>",
"volume": 1,
"timeFrame": {
"start": 0,
"end": 123,
"offset": 123
},
"position": {
"x": 0,
"y": 0,
"z": 0
},
"transform": {
"scale": {
"x": 1,
"y": 1
},
"rotation": 123
},
"size": {
"width": 100,
"height": 100
},
"textProperties": {
"content": "<string>",
"fontSize": 16,
"fontWeight": 400,
"fontFamily": "Arial",
"color": "#000000",
"backgroundColor": "transparent",
"textAlign": "left",
"fontStyle": "normal",
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"underline": false
},
"captionProperties": {
"words": [
{
"start": 123,
"end": 123,
"word": "<string>"
}
],
"highlightTextProperties": {
"fontSize": 24,
"color": "#000000",
"fontFamily": "Montserrat",
"fontWeight": 400,
"fontStyle": "normal",
"underline": false,
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"backgroundColor": "<string>"
},
"nonHighlightTextProperties": {
"fontSize": 123,
"color": "<string>",
"fontFamily": "<string>",
"fontWeight": 123,
"fontStyle": "<string>",
"underline": true,
"padding": 123,
"strokeWidth": 123,
"strokeColor": "<string>",
"borderWidth": 123,
"borderColor": "<string>",
"backgroundColor": "<string>"
},
"textAlign": "center",
"maxWidth": 500,
"maxWordsInFrame": 5
}
}
],
"additional": {}
}'
{
"data": {
"_id": "<string>",
"version": "<string>",
"metadata": {
"name": "<string>",
"backgroundColor": "#000000",
"duration": 123,
"fps": 30,
"canvas": {
"width": 1920,
"height": 1080
},
"redirectUrl": "<string>"
},
"clips": [
{
"type": "video",
"name": "<string>",
"source": "<string>",
"volume": 1,
"timeFrame": {
"start": 0,
"end": 123,
"offset": 123
},
"position": {
"x": 0,
"y": 0,
"z": 0
},
"transform": {
"scale": {
"x": 1,
"y": 1
},
"rotation": 123
},
"size": {
"width": 100,
"height": 100
},
"textProperties": {
"content": "<string>",
"fontSize": 16,
"fontWeight": 400,
"fontFamily": "Arial",
"color": "#000000",
"backgroundColor": "transparent",
"textAlign": "left",
"fontStyle": "normal",
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"underline": false
},
"captionProperties": {
"words": [
{
"start": 123,
"end": 123,
"word": "<string>"
}
],
"highlightTextProperties": {
"fontSize": 24,
"color": "#000000",
"fontFamily": "Montserrat",
"fontWeight": 400,
"fontStyle": "normal",
"underline": false,
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"backgroundColor": "<string>"
},
"nonHighlightTextProperties": {
"fontSize": 123,
"color": "<string>",
"fontFamily": "<string>",
"fontWeight": 123,
"fontStyle": "<string>",
"underline": true,
"padding": 123,
"strokeWidth": 123,
"strokeColor": "<string>",
"borderWidth": 123,
"borderColor": "<string>",
"backgroundColor": "<string>"
},
"textAlign": "center",
"maxWidth": 500,
"maxWordsInFrame": 5
},
"id": "<string>"
}
],
"additional": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Authorizations
Enter your API key here
Body
application/json
Response
201
application/json
The video has been successfully created.
The response is of type object
.
curl --request POST \
--url https://api.videoaiditor.com/v1/videos \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"renderOptionsInUI": [],
"metadata": {
"name": "<string>",
"backgroundColor": "#000000",
"duration": 123,
"fps": 30,
"canvas": {
"width": 1920,
"height": 1080
}
},
"clips": [
{
"type": "video",
"name": "<string>",
"source": "<string>",
"volume": 1,
"timeFrame": {
"start": 0,
"end": 123,
"offset": 123
},
"position": {
"x": 0,
"y": 0,
"z": 0
},
"transform": {
"scale": {
"x": 1,
"y": 1
},
"rotation": 123
},
"size": {
"width": 100,
"height": 100
},
"textProperties": {
"content": "<string>",
"fontSize": 16,
"fontWeight": 400,
"fontFamily": "Arial",
"color": "#000000",
"backgroundColor": "transparent",
"textAlign": "left",
"fontStyle": "normal",
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"underline": false
},
"captionProperties": {
"words": [
{
"start": 123,
"end": 123,
"word": "<string>"
}
],
"highlightTextProperties": {
"fontSize": 24,
"color": "#000000",
"fontFamily": "Montserrat",
"fontWeight": 400,
"fontStyle": "normal",
"underline": false,
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"backgroundColor": "<string>"
},
"nonHighlightTextProperties": {
"fontSize": 123,
"color": "<string>",
"fontFamily": "<string>",
"fontWeight": 123,
"fontStyle": "<string>",
"underline": true,
"padding": 123,
"strokeWidth": 123,
"strokeColor": "<string>",
"borderWidth": 123,
"borderColor": "<string>",
"backgroundColor": "<string>"
},
"textAlign": "center",
"maxWidth": 500,
"maxWordsInFrame": 5
}
}
],
"additional": {}
}'
{
"data": {
"_id": "<string>",
"version": "<string>",
"metadata": {
"name": "<string>",
"backgroundColor": "#000000",
"duration": 123,
"fps": 30,
"canvas": {
"width": 1920,
"height": 1080
},
"redirectUrl": "<string>"
},
"clips": [
{
"type": "video",
"name": "<string>",
"source": "<string>",
"volume": 1,
"timeFrame": {
"start": 0,
"end": 123,
"offset": 123
},
"position": {
"x": 0,
"y": 0,
"z": 0
},
"transform": {
"scale": {
"x": 1,
"y": 1
},
"rotation": 123
},
"size": {
"width": 100,
"height": 100
},
"textProperties": {
"content": "<string>",
"fontSize": 16,
"fontWeight": 400,
"fontFamily": "Arial",
"color": "#000000",
"backgroundColor": "transparent",
"textAlign": "left",
"fontStyle": "normal",
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"underline": false
},
"captionProperties": {
"words": [
{
"start": 123,
"end": 123,
"word": "<string>"
}
],
"highlightTextProperties": {
"fontSize": 24,
"color": "#000000",
"fontFamily": "Montserrat",
"fontWeight": 400,
"fontStyle": "normal",
"underline": false,
"padding": 0,
"strokeWidth": 0,
"strokeColor": "#000000",
"borderWidth": 0,
"borderColor": "#FFFFFF",
"backgroundColor": "<string>"
},
"nonHighlightTextProperties": {
"fontSize": 123,
"color": "<string>",
"fontFamily": "<string>",
"fontWeight": 123,
"fontStyle": "<string>",
"underline": true,
"padding": 123,
"strokeWidth": 123,
"strokeColor": "<string>",
"borderWidth": 123,
"borderColor": "<string>",
"backgroundColor": "<string>"
},
"textAlign": "center",
"maxWidth": 500,
"maxWordsInFrame": 5
},
"id": "<string>"
}
],
"additional": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.