Skip to main content
POST
/
v3
/
async
/
vidu-q1-startend2video
Vidu Q1 Start-End Frames
curl --request POST \
  --url https://api.myrouter.ai/v3/async/vidu-q1-startend2video \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "images": [
    "<string>"
  ],
  "prompt": "<string>",
  "duration": 123,
  "seed": 123,
  "resolution": "<string>",
  "movement_amplitude": "<string>",
  "bgm": true
}
'
{
  "task_id": "<string>"
}
Vidu Q1 Start-End Frames generates dynamic videos from a start frame and an end frame, incorporating creative storytelling and animation effects.
This is an async API that only returns the task_id of the async task. You should use the task_id to call the Get Async Task Result API to retrieve the generated result.

Request Headers

Content-Type
string
required
Enum: application/json
Authorization
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

images
string[]
required
Two images: the first is the start frame, the second is the end frame.Notes:
  1. Supports public URLs or Base64 format
  2. Aspect ratios must be similar: the ratio of the start frame to the end frame must be between 0.8 and 1.25
  3. Supported formats: png, jpeg, jpg, webp
  4. Maximum size: 50MB
  5. Base64 decoded length must be less than 10MB and must include the appropriate content type string. Example:
data:image/png;base64,{base64_encode}
prompt
string
Prompt description, maximum 1500 characters.
duration
integer
Video duration in seconds. Default: 5 seconds, currently only the 5 second option is supported.
seed
integer
Random seed for video generation.
  • Default: random seed value
  • Manually set values will override the default random seed
resolution
string
Output video resolution. Default: 1080p, currently only the 1080p option is supported.
movement_amplitude
string
Movement amplitude of objects in the frame. Default: auto
Possible values: auto, small, medium, large
bgm
boolean
Whether to add background music to the generated video. Default: false
Possible values: true, false
When set to true, the system will automatically add suitable BGM. BGM has no duration limit; the system will automatically adapt to the video length.

Response

task_id
string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.