Skip to main content
POST
/
v1
/
video_generation
cURL
curl --request POST \
  --url https://api.vozo.ai/v1/video_generation \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reference_file_url": "<string>",
  "audio_url": "<string>",
  "model": "standard_v1",
  "reference_file_type": "video",
  "callback_url": "<string>"
}'
{
  "task_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <api_key>, where <api_key> is your API Key. The token in the sample code is referring to this api_key as well.

Body

application/json
reference_file_url
string
required

Url that our server could download the reference file. Supported video types: .mp4 .mov .webm .avi .wmv. Supported image types: .jpg .jpeg .png .webp

audio_url
string
required

Url that our server could download the audio file from to drive the reference. Supported audio types: .wav .mp3 .m4a

model
enum<string>
required

standard_v1 or precision_v1. Standard model runs faster but the quality is lower.

Available options:
standard_v1,
precision_v1
reference_file_type
enum<string>
required

image or video

Available options:
video,
image
callback_url
string

Url for callback if the job status changes. This URL will receive a request with the schema same as response for query job status API when job status changes.

Response

Job ID

task_id
string
required

ID of the task