o1/video-to-video-reference
Model Overview
How to Make a Call
API Schemas
Create a video generation task and send it to the server
post
Body
modelstring ¡ enumRequiredPossible values:
promptstring ¡ max: 2500Required
The text description of the scene, subject, or action to generate in the video.
video_urlstring ¡ uriRequired
A HTTPS URL pointing to a video or a data URI containing a video. This video will be used as a reference during generation.
image_liststring ¡ uri[] ¡ min: 1 ¡ max: 4Optional
Array of image URLs for multi-image-to-video generation.
aspect_ratiostring ¡ enumOptionalDefault:
The aspect ratio of the generated video.
16:9Possible values: durationinteger ¡ enumOptionalDefault:
The length of the output video in seconds.
5Possible values: keep_audiobooleanOptionalDefault:
Whether to keep the original audio from the video.
falseResponses
200Success
application/json
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
get
/v2/video/generations200Success
Code Example
Last updated
Was this helpful?