Dža ko lil

Alibaba V2.6 · Reference to Video · Flash

Integriruj

Modelosko id wan/v2.6/reference-to-video/flash
# 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/wan/v2.6/reference-to-video/flash?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"
  }'

# 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"

Fajlo sar o misalo: $0.75 750 API krediti tire fajlo si merime angl-o phiripen Phir les kate

Lel API klidin
Alibaba Referenca ko Video Naturalo audioReferencaki inputuraSig5–10 sdži 1080p #reference-to-video

Siguto reference-to-video savo ačhavel e subjektura dži ko 5 gambar vaj klipura, 5 vaj 10 sekunda, audio-sa

Alibaba · Video

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Videosko prompto dži 1500 karakterura, labardaha Character1, Character2 thaj avre te identifikinen manušen, žviren vaj objekten andro referenčne fajla. Subjektosko čislovanje džal palal video_urls anglal image_urls. Vaś but shotura thov: '[0-3s] Shot 1. [3-6s] Shot 2.'.

duration 5 s

Thov keci dživipen hin e kerde videosko, andro sekundura. Vaś R2V Flash hin ča 5 vaj 10 sekundura.

aspect_ratio standardno 16:9

Aspect ratio vaš o rezultatosko video.

resolution standardno 1080p

Rezolucijašuko nivo vaś videosko rezultato; R2V Flash lel ča 720p vaj 1080p.

Lučhe negative_prompt · videos · images · seed · enable_prompt_expansion · multi_shots · enable_safety_checker
standardno

Negativo prompto vaś na-manglino keripe, limitime pre 500 karakterura.

video_urls
Čhiv jekh fajl, vaj

De 0–3 video vaś konstantno subjektosko ačhavipen; sako trubul minimum 16 FPS, te avel 2–30 sekundura thaj na bareder 100 MB. Jekhetano gendo maškar video_urls thaj image_urls na tromal te prekerel 5. Automatikano subjektosko čislovanje thovel Character1, Character2 thaj avre k video_urls anglal palem dži image_urls.

image_urls
Čhiv jekh fajl, vaj

De 0–5 kipa vaś konstantno subjektosko ačhavipen, najbut 5 referencije jekhetanes andro image_urls thaj video_urls; image_urls len subjektoske čisla palal video_urls. Sako kipo trubul te avel le rezolucijaha 240–5000px thaj fajlosko barederipen na bareder 10 MB. Lel JPEG, JPG, BMP, WEBP thaj PNG bi alpha.

Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.

POST /run/wan/v2.6/reference-to-video/flash?wait=20 hesab → $0.75
# 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/wan/v2.6/reference-to-video/flash?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"
  }'

# 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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Alibaba V2.6 · Reference to Video · Flash

Kerel video kaj e subjektura andar referencijake fajlura sikľon sar Character1, Character2 thaj avri ando `prompt`. Jekhetane dži ko 3 `video_urls` thaj 5 `image_urls`, sar jekhetane si najbut 5 referencie. E durata si 5 vaj 10 sekunda, resolucija 720p vaj 1080p, thaj aspect ratio 16:9, 9:16, 1:1, 4:3 vaj 3:4. Multi-shot promptura thaj audio-generacija šaj aktivisarenpe vaj na.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Videosko prompto dži 1500 karakterura, labardaha Character1, Character2 thaj avre te identifikinen manušen, žviren vaj objekten andro referenčne fajla. Subjektosko čislovanje džal palal video_urls anglal image_urls. Vaś but shotura thov: '[0-3s] Shot 1. [3-6s] Shot 2.'.
video_urlsopcionalno videos
Tipurl[] · video
De 0–3 video vaś konstantno subjektosko ačhavipen; sako trubul minimum 16 FPS, te avel 2–30 sekundura thaj na bareder 100 MB. Jekhetano gendo maškar video_urls thaj image_urls na tromal te prekerel 5. Automatikano subjektosko čislovanje thovel Character1, Character2 thaj avre k video_urls anglal palem dži image_urls.
image_urlsopcionalno images
Tipurl[] · image
De 0–5 kipa vaś konstantno subjektosko ačhavipen, najbut 5 referencije jekhetanes andro image_urls thaj video_urls; image_urls len subjektoske čisla palal video_urls. Sako kipo trubul te avel le rezolucijaha 240–5000px thaj fajlosko barederipen na bareder 10 MB. Lel JPEG, JPG, BMP, WEBP thaj PNG bi alpha.
aspect_ratioopcionalno
Tipenum
standardno16:9
16:99:161:14:33:4
Aspect ratio vaš o rezultatosko video.
resolutionopcionalno
Tipenum
standardno1080p
720p1080p
Rezolucijašuko nivo vaś videosko rezultato; R2V Flash lel ča 720p vaj 1080p.
durationopcionalno
Tipenum
standardno5
510
Thov keci dživipen hin e kerde videosko, andro sekundura. Vaś R2V Flash hin ča 5 vaj 10 sekundura.
negative_promptopcionalno
Tipstring | null
standardno
Negativo prompto vaś na-manglino keripe, limitime pre 500 karakterura.
enable_prompt_expansionopcionalno
Tipboolean
standardnotrue
Kontrolinel, či LLM pherel o prompto palem.
multi_shotsopcionalno
Tipboolean
standardnotrue
Kontrola shotoske segmentacijake, dostupno ča kana enable_prompt_expansion hin True. Standardno true labarel inteligentno segmentacija vaś jekh coherentno vakeripe maškar shotura; false ačhavel o video sar jekh kontinualno shot.
generate_audioopcionalno
Tipboolean
standardnotrue
Izar silent video keripe le false, vaj aktivin audio te thovel zvuko andro kerdo video.
seedopcionalno
Tipinteger | null
Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Safety-checking switch savo off setting mangel account authorization. Bizo autorizacija, sako mangipen si kontrolime bizo te dikhel setting; true aktivirinel checker.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.6/reference-to-video/flash",
  "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": 750,
    "usd": "0.75",
    "charged": 750,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "seed": 42,
    "actual_prompt": "Dance battle between Character1 and Character2, cinematic lighting, dynamic camera movement."
  },
  "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Rezultato video fajlo.
seed
integerSeed vrednost përdžardi andre keripe.
actual_prompt
string | nullPrompto savo čačes avľol labardo kana hin pherdo palem.

Bute modeli: Referenca ko Video

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/wan/v2.6/reference-to-video/flash.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt