Videos
Create a new Video
Videos
Create a new Video
Creates a new Video with the specified details
POST
/
videos
curl --request POST \
--url https://api.argil.ai/v1/videos \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"moments": [
{
"transcript": "<string>",
"avatarId": "<string>",
"voiceId": "<string>",
"gestureSlug": "<string>",
"audioUrl": "<string>",
"zoom": {
"level": 1
}
}
],
"subtitles": {
"enable": true
},
"aspectRatio": "16:9",
"enableAutoBrolls": true,
"autoBrolls": {
"enable": true,
"source": "GENERATION",
"intensity": "LOW"
},
"extras": {},
"backgroundMusic": {
"assetId": "<string>",
"volume": 0.5
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"moments": [
{
"transcript": "<string>",
"avatarId": "<string>",
"voiceId": "<string>",
"audioUrl": "<string>",
"videoUrl": "<string>",
"gestureSlug": "<string>"
}
],
"videoUrl": "<string>",
"videoUrlSubtitled": "<string>",
"subtitles": {
"enable": true
},
"extras": {}
}
Authorizations
API key to be included in the x-api-key header
Body
application/json
Response
201
application/json
Successfully created Video
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.argil.ai/v1/videos \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"name": "<string>",
"moments": [
{
"transcript": "<string>",
"avatarId": "<string>",
"voiceId": "<string>",
"gestureSlug": "<string>",
"audioUrl": "<string>",
"zoom": {
"level": 1
}
}
],
"subtitles": {
"enable": true
},
"aspectRatio": "16:9",
"enableAutoBrolls": true,
"autoBrolls": {
"enable": true,
"source": "GENERATION",
"intensity": "LOW"
},
"extras": {},
"backgroundMusic": {
"assetId": "<string>",
"volume": 0.5
}
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"status": "<string>",
"moments": [
{
"transcript": "<string>",
"avatarId": "<string>",
"voiceId": "<string>",
"audioUrl": "<string>",
"videoUrl": "<string>",
"gestureSlug": "<string>"
}
],
"videoUrl": "<string>",
"videoUrlSubtitled": "<string>",
"subtitles": {
"enable": true
},
"extras": {}
}