Skip to content

Vidu · Q3 · Reference to Video · Mix

Integrate

Model id vidu/q3/reference-to-video/mix
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/vidu/q3/reference-to-video/mix?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.77 770 API credits Run it on this page

Get API key
Vidu Reference to Video Reference inputs1–16 sup to 1080p

Q3 reference-to-video using 1-4 reference images, five aspect ratios, up to 16 seconds with audio

Vidu · Video

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required 88 / 2000

Text instructions for generating a video, limited to 2000 characters.

•required reference_image_urls
Drop a file, or

Subject or scene consistency references, supplied as image URLs with a count between 1 and 4.

aspect_ratio default 16:9

Output video's aspect ratio.

resolution default 720p

Resolution of the resulting video.

default 5

Video length in seconds, ranging from 1 to 16 for Q3 models.

Advanced seed · audio

Seed that makes generation reproducible. Setting it to None selects a seed randomly.

POST /run/vidu/q3/reference-to-video/mix?wait=20 quote → $0.77
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/vidu/q3/reference-to-video/mix?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Vidu · Q3 · Reference to Video · Mix

Builds a video from a required `prompt` (max 2000 characters) and 1 to 4 `reference_image_urls` that keep subjects or scenes consistent. `duration` is 1-16 seconds, `resolution` 360p to 1080p, and `aspect_ratio` 16:9, 9:16, 4:3, 3:4 or 1:1. `audio` defaults to on.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
≤ 2,000 characters
Text instructions for generating a video, limited to 2000 characters.
reference_image_urlsrequired images
Typeurl[] · image
Subject or scene consistency references, supplied as image URLs with a count between 1 and 4.
durationoptional
Typeinteger
Default5
1 – 16
Video length in seconds, ranging from 1 to 16 for Q3 models.
seedoptional
Typeinteger | null
Seed that makes generation reproducible. Setting it to None selects a seed randomly.
aspect_ratiooptional
Typeenum
Default16:9
16:99:164:33:41:1
Output video's aspect ratio.
resolutionoptional
Typeenum
Default720p
360p540p720p1080p
Resolution of the resulting video.
audiooptional
Typeboolean
Defaulttrue
Generate sound alongside the video through direct audio-video generation by setting this to true.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vidu/q3/reference-to-video/mix",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 770,
    "usd": "0.77",
    "charged": 770,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
video
object {url, content_type, file_name, file_size}Video produced by the Q3 model using reference images.

More models: Reference to Video

For AI agents: this page as Markdown is at https://doitong.com/developers/models/vidu/q3/reference-to-video/mix.md. All models and guides: https://doitong.com/developers/llms.txt