Leum chun t-susbaint

Wan 2.5 Text to Video

Amalaich

ID a’ mhodail wan-25-preview/text-to-video
# 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/wan-25-preview/text-to-video?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

An t-iarrtas seo: $0.75 750 creideasan API · ≈ ₽80.68 Ruith e air an duilleig seo

Faigh iuchair API
Alibaba Teacsa gu Bhidio 5–10 ssuas ri 1080p

Wan 2.5 teacsa-gu-bhidio le toradh 480p gu 1080p, 5 no 10 diogan, agus clàr-fuaim roghainneil

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le Wan 2.5. Ath-chleachd prompt ann an aon bhriogadh.

Obraichean poblach air an sealltainn: 2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Bhidio

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, весёлый водитель в кепке, крупные машины, пастельные цвета. 0:00–0:10 приветствие под музыку; 0:10–0:30 песенка: "Машина едет би-би, би-би", "Поезд едет ту-ту, ту-ту". Бодрая детская музыка...

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Bhidio

Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-анимация, тот же весёлый водитель в кепке, самолёт. 0:00–0:15 песенка: "Самолёт летит вж-ж-ж, вж-ж-ж"; 0:15–0:25 интерактивная пауза: водитель спрашивает "Как гудит машина?", пауза; 0:25–0:30 финальный...

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

Stiùiridhean gineadh bhidio, cuibhrichte gu 1500 caractar agus sgrìobhte ann an Sìnis no Beurla.

duration 5 s

Fad a’ bhidio às-chuir, taghadh de 5 no 10 diogan.

aspect_ratio bun-roghainn 16:9

Co-mheas taobh airson a’ bhidio às-chuir.

resolution bun-roghainn 1080p

Ìre dùmhlachd-bhreacaidh a’ bhidio.

Adhartach negative_prompt · audio · seed · enable_prompt_expansion · enable_safety_checker

Prompt àicheil a’ sònrachadh susbaint nach eilear ag iarraidh, cuibhrichte gu 500 caractar.

audio_url
Leig às faidhle, no

Ceòl cùil air a thoirt seachad tro URL claisneachd a ruigear gu poblach, ann an cruth WAV no MP3, a mhaireas 3 gu 30 s agus nach eil nas motha na 15 MB. Bidh an ùine taghte de 5 no 10 diogan a’ dearbhadh a’ chrìoch: thèid cus claisneachd a sguabadh às, agus fàgaidh slac nas giorra an còrr den bhidio sàmhach. Mar eisimpleir, le claisneachd a mhaireas 3 diogan agus bhidio a mhaireas 5 diogan, bidh fuaim anns a’ chiad 3 diogan agus sàmhchair anns an 2 dhiog mu dheireadh.

Sìol a nì gineadh ath-riochdachail. Le bhith ga shuidheachadh gu None, thèid sìol a thaghadh air thuaiream.

POST /run/wan-25-preview/text-to-video?wait=20 tuairmse → $0.75
# 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/wan-25-preview/text-to-video?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Wan 2.5 Text to Video

Cruthaichidh e bhidio bho `prompt` teacsa le suas ri 1500 caractar, ann an Sìonais no Beurla. Faodaidh an co-mheas taobh a bhith 16:9, 9:16 no 1:1, an rùn 480p, 720p no 1080p, agus `duration` 5 no 10 diogan. Suidhichidh `audio_url` roghainneil ceòl cùil, air a ghearradh gu fad na criomag. Tha taic ann do leudachadh prompt, `negative_prompt` agus `seed`.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
Stiùiridhean gineadh bhidio, cuibhrichte gu 1500 caractar agus sgrìobhte ann an Sìnis no Beurla.
audio_urlroghainneil audio
Seòrsaurl · audio
Ceòl cùil air a thoirt seachad tro URL claisneachd a ruigear gu poblach, ann an cruth WAV no MP3, a mhaireas 3 gu 30 s agus nach eil nas motha na 15 MB. Bidh an ùine taghte de 5 no 10 diogan a’ dearbhadh a’ chrìoch: thèid cus claisneachd a sguabadh às, agus fàgaidh slac nas giorra an còrr den bhidio sàmhach. Mar eisimpleir, le claisneachd a mhaireas 3 diogan agus bhidio a mhaireas 5 diogan, bidh fuaim anns a’ chiad 3 diogan agus sàmhchair anns an 2 dhiog mu dheireadh.
aspect_ratioroghainneil
Seòrsaenum
Bun-roghainn16:9
16:99:161:1
Co-mheas taobh airson a’ bhidio às-chuir.
resolutionroghainneil
Seòrsaenum
Bun-roghainn1080p
480p720p1080p
Ìre dùmhlachd-bhreacaidh a’ bhidio.
durationroghainneil
Seòrsaenum
Bun-roghainn5
510
Fad a’ bhidio às-chuir, taghadh de 5 no 10 diogan.
negative_promptroghainneil
Seòrsastring | null
Prompt àicheil a’ sònrachadh susbaint nach eilear ag iarraidh, cuibhrichte gu 500 caractar.
enable_prompt_expansionroghainneil
Seòrsaboolean
Bun-roghainntrue
Ath-sgrìobhadh prompt stèidhichte air LLM, a nì malairt eadar ùine giullachd a bharrachd agus toraidhean nas fheàrr le promtaichean goirid.
seedroghainneil
Seòrsainteger | null
Sìol a nì gineadh ath-riochdachail. Le bhith ga shuidheachadh gu None, thèid sìol a thaghadh air thuaiream.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Tionndadh sgrùdaidh sàbhailteachd agus feumaidh a shuidheachadh dheth ùghdarras cunntais. Gun an ùghdarras sin, thèid gach iarrtas a sgrùdadh ge bith dè an suidheachadh; tha true a’ cur an sgrùdaiche an comas.
riatanach Ainm canonical, gabhar ris cuideachd

Gabhaidh paramadairean faidhle ri URL poblach https://, URI data: suas ri 10 MB, no file_url de luchdachadh suas. Faidhlichean

Toradh

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-25-preview/text-to-video",
  "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": "The white dragon warrior stands still in a grand cathedral-like structure, its glowing golden eyes fixed forward. The camera slowly moves closer, focusing on the warrior's armored chest and face. It then begins to circle around the warrior, capturing the intricate details of the white scale armor with gold accents. The warrior maintains a strong, determined posture. Ambient sounds and soft choral tones fill the background, enhancing the majestic atmosphere. The camera continues its slow circular motion, emphasizing the warrior's heroic presence before ending with a close-up of the face."
  },
  "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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Faidhle bhidio thoradhach.
seed
integerLuach sìl a chaidh a chleachdadh rè gineadh.
actual_prompt
string | nullAm prompt a thèid a chleachdadh dha-rìribh nuair a tha ath-sgrìobhadh an comas.

Barrachd mhodalan: Teacsa gu Bhidio

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/wan-25-preview/text-to-video.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt