Model API

Vidu Q2 Turbo

Vidu Q2 Turbo: fast image-to-video with improved quality and control.

Model id

Use this in every request
vidu/q2/image-to-video/turbo

Run it

Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "vidu/q2/image-to-video/turbo",
  "input": {
    "prompt": "A red ceramic cup on a wooden table, soft morning light",
    "image_url": "https://example.com/input.png"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "vidu/q2/image-to-video/turbo", "quote_id": "QUOTE_ID", "input": {"prompt":"A red ceramic cup on a wooden table, soft morning light","image_url":"https://example.com/input.png"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Input

Input fields for vidu/q2/image-to-video/turbo
NameTypeDescription
promptrequiredstring
Text prompt for video generation, max 3000 characters
image_urlrequiredstring (image URL)
URL of the image to use as the starting frame
end_image_urlstring (image URL)
URL of the image to use as the ending frame. When provided, generates a transition video between start and end frames.
seedinteger
Random seed for reproducibility. If None, a random seed is chosen.
durationnumber (enum)
Duration of the video in seconds

Default: 4

One of: 2, 3, 4, 5, 6, 7, 8

resolutionstring (enum)
Output video resolution

Default: 720p

One of: 720p, 1080p

movement_amplitudestring (enum)
The movement amplitude of objects in the frame

Default: auto

One of: auto, small, medium, large

bgmboolean
Whether to add background music to the video (only for 4-second videos)

Default: false

Output

A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.

Job excerpt
"outputs": [
  { "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]

Pricing

  • 1080p · 2$0.48/ video
  • 1080p · 3$0.56/ video
  • 1080p · 4$0.64/ video
  • 1080p · 5$0.72/ video
  • 1080p · 6$0.80/ video
  • 1080p · 7$0.88/ video
  • 1080p · 8$0.96/ video
  • 720p · 2$0.16/ video
  • 720p · 3$0.24/ video
  • 720p · 4$0.32/ video
  • 720p · 5$0.40/ video
  • 720p · 6$0.48/ video
  • 720p · 7$0.56/ video
  • 720p · 8$0.64/ video

The exact charge for your input comes from a quote. How charges settle