Neidio i'r cynnwys

Vidu · Q3 · Reference to Video · Mix

Integreiddio

ID y model 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.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Y cais hwn: $0.77 770 o gredydau API · ≈ ₽82.84 Ei redeg ar y dudalen hon

Cael allwedd API
Vidu Cyfeirnod i Fideo Mewnbynnau cyfeirio1–16 shyd at 1080p

Q3 reference-to-video gan ddefnyddio 1-4 delwedd gyfeirio, pum cymhareb agwedd, hyd at 16 eiliad gyda sain

Vidu · Fideo

Mae eich canlyniad cyntaf yn mynd yma

Adeiladwch gais isod a'i redeg gyda'ch allwedd API. Mae allbynnau'n cael eu copïo i'n storio, wedi'u cadw am byth neu am 7 diwrnod am ddim.

Adeiladu cais

Cynhyrchir rheolyddion o sgema'r model. Mae'r cod a'r pris yn diweddaru wrth i chi eu newid.

•gofynnol 88 / 2000

Cyfarwyddiadau testun ar gyfer cynhyrchu fideo, wedi'u cyfyngu i 2000 o nodau.

•gofynnol reference_image_urls
Gollyngwch ffeil, neu

Cyfeiriadau cysondeb pwnc neu olygfa, a ddarperir fel URLs delweddau gyda chyfrif rhwng 1 a 4.

aspect_ratio rhagosodedig 16:9

Cymhareb agwedd y fideo allbwn.

resolution rhagosodedig 720p

Cydraniad y fideo canlyniadol.

rhagosodedig 5

Hyd fideo mewn eiliadau, rhwng 1 a 16 ar gyfer modelau Q3.

Uwch seed · audio

Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.

POST /run/vidu/q3/reference-to-video/mix?wait=20 dyfynbris → $0.77
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Rhedeg y cais hwn

Mae'ch allwedd yn aros yn y porwr hwn: caiff ei hanfon at Doitong API yn unig a'i chadw (localStorage) dim ond os ticiwch Cofio. Cael allwedd API

Ynglŷn â Vidu · Q3 · Reference to Video · Mix

Yn adeiladu fideo o `prompt` gofynnol (uchafswm 2000 nod) a 1 i 4 `reference_image_urls` sy'n cadw pynciau neu olygfeydd yn gyson. Mae `duration` yn 1-16 eiliad, `resolution` yn 360p i 1080p, ac `aspect_ratio` yn 16:9, 9:16, 4:3, 3:4 neu 1:1. Mae `audio` ymlaen yn ddiofyn.

Paramedrau

Anfonwch naill ai'r enw canonaidd neu'r enw brodorol, nid y ddau. Enwau canonaidd

EnwMath RhagosodedigCaniateir Disgrifiad
promptgofynnol
Mathstring
≤ 2,000 nod
Cyfarwyddiadau testun ar gyfer cynhyrchu fideo, wedi'u cyfyngu i 2000 o nodau.
reference_image_urlsgofynnol images
Mathurl[] · image
Cyfeiriadau cysondeb pwnc neu olygfa, a ddarperir fel URLs delweddau gyda chyfrif rhwng 1 a 4.
durationdewisol
Mathinteger
Rhagosodedig5
1 – 16
Hyd fideo mewn eiliadau, rhwng 1 a 16 ar gyfer modelau Q3.
seeddewisol
Mathinteger | null
Hadau sy'n gwneud cynhyrchu'n atgynhyrchadwy. Mae ei osod i None yn dewis hedyn ar hap.
aspect_ratiodewisol
Mathenum
Rhagosodedig16:9
16:99:164:33:41:1
Cymhareb agwedd y fideo allbwn.
resolutiondewisol
Mathenum
Rhagosodedig720p
360p540p720p1080p
Cydraniad y fideo canlyniadol.
audiodewisol
Mathboolean
Rhagosodedigtrue
Cynhyrchu sain ochr yn ochr â'r fideo drwy gynhyrchu sain-fideo uniongyrchol, drwy osod hwn i true.
gofynnol Enw canonaidd, derbyniol hefyd

Mae paramedrau ffeil yn derbyn URL cyhoeddus https://, URI data: hyd at 10 MB, neu file_url uwchlwythiad. Ffeiliau

Allbwn

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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Eich ffeiliau, eich dewisMae pob outputs[].url yn gopi ar ein storio: wedi'i gadw am byth (telir fesul GB-mis) neu am 7 diwrnod am ddim, yn ôl gosodiad eich cyfrif neu ?storage=.
Yr un siâp ar bob modeltype, url, content_type, width, height a duration, ar gyfer delweddau, fideo a sain fel ei gilydd. Gwrthrych canlyniad y model ei hun yw output.
Meysydd yr allbwn
video
object {url, content_type, file_name, file_size}Fideo a gynhyrchwyd gan fodel Q3 gan ddefnyddio delweddau cyfeirio.

Mwy o fodelau: Cyfeirnod i Fideo

Ar gyfer asiantau AI: mae'r dudalen hon fel Markdown ar gael yn https://doitong.com/cy/developers/models/vidu/q3/reference-to-video/mix.md. Pob model a chanllaw: https://doitong.com/developers/llms.txt