avatar-standard
Setup your API Key
How to Make a Call
API Schemas
Create a video generation task and send it to the server
post
Body
modelstring · enumRequiredPossible values:
image_urlstring · uriRequired
A direct link to an online image or a Base64-encoded local image that will serve as the visual base or the first frame for the video.
audio_urlstringRequired
The URL of the audio file. Supported formats: MP3, WAV, M4A, AAC. Maximum file size: 5 MB.
promptstring · max: 2500Optional
The text description of the scene, subject, or action to generate in the video.
Responses
200Success
application/json
idstringRequiredExample:
The ID of the generated video.
60ac7c34-3224-4b14-8e7d-0aa0db708325statusstring · enumRequiredExample:
The current status of the generation task.
completedPossible values: post
/v2/video/generations200Success
Retrieve the generated video from the server
get
Authorizations
AuthorizationstringRequired
Bearer key
Query parameters
generation_idstringRequiredExample:
<REPLACE_WITH_YOUR_GENERATION_ID>Responses
200Success
application/json
idstringRequiredExample:
The ID of the generated video.
60ac7c34-3224-4b14-8e7d-0aa0db708325statusstring · enumRequiredExample:
The current status of the generation task.
completedPossible values: get
/v2/video/generations200Success
Full Example: Generating and Retrieving the Video From the Server
"prompt": "A person speaking playfully, laughing frequently and gesturing wildly."Last updated
Was this helpful?