Skip to main content
POST
/
v3
/
async
/
vidu-q3-turbo-f2v
Vidu Q3 Turbo First and Last Frame Video Generation
curl --request POST \
  --url https://api.highwayapi.ai/v3/async/vidu-q3-turbo-f2v \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "seed": 123,
  "audio": true,
  "images": [
    {}
  ],
  "is_rec": true,
  "prompt": "<string>",
  "duration": 123,
  "off_peak": true,
  "resolution": "<string>"
}
'
{
  "task_id": "<string>"
}
Vidu Q3 Turbo First and Last Frame Video Generation can generate high-quality videos from first-frame and last-frame images, using text-guided motion interpolation and supporting resolutions up to 1080p.
This is an asynchronous API and will only return the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

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

Request Body

seed
integer
Random seed for reproducible results. Pass 0 for random.
audio
boolean
default:true
Whether to use direct audio-video output capability. Defaults to true. false outputs a muted video, while true outputs an audio-synchronized video (including dialogue and sound effects). Supported only by Q3 series models.
images
array
required
Two image URLs or Base64-encoded images. The first image is the first-frame image, and the second image is the last-frame image. Supports png, jpeg, jpg, and webp formats, with each image no larger than 50MB. The resolutions of the first and last frame images must be similar (the first-frame/last-frame ratio must be between 0.8 and 1.25). The aspect ratio must be less than 1:4 or greater than 4:1.Array length: 2 - 2
is_rec
boolean
Whether to use the recommended prompt. When enabled, the system automatically generates a prompt.
prompt
string
Text describing the desired video motion effect between the first and last frames, up to 1500 characters.Length limit: 0 - 1500
duration
integer
default:5
Video duration (seconds), ranging from 1 to 16.Value range: [1, 16]
off_peak
boolean
default:false
Whether to use off-peak mode. The task will be processed within 48 hours at a lower cost.
resolution
string
default:"720p"
Output video resolution.Available values: 540p, 720p, 1080p

Response Information

task_id
string
required
Use task_id to request the Get Task Result API to retrieve the generated output.