Léim chuig an ábhar

Wan 2.5 Text to Video

Comhtháthú

Aitheantas na samhla 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-iarratas seo: $0.75 750 gcreidmheas API · ≈ ₽80.68 Rith ar an leathanach seo

Faigh eochair API
Alibaba Téacs go Físeán 5–10 ssuas le 1080p

Wan 2.5 téacs-go-físeán le haschur 480p go 1080p, 5 nó 10 soicind, agus fuaimrian roghnach

Déanta ar Doitong

Saothair phoiblí déanta leis an Wan 2.5 ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Físeán

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

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

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

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Treoracha do ghiniúint físeáin, teoranta do 1500 carachtar agus scríofa i Sínis nó i mBéarla.

duration 5 s

Fad aschuir an fhíseáin; is féidir 5 nó 10 soicind a roghnú.

aspect_ratio réamhshocrú 16:9

Cóimheas gnéithe don fhíseán aschuir.

resolution réamhshocrú 1080p

Leibhéal taifigh don fhíseán.

Ardleibhéal negative_prompt · audio · seed · enable_prompt_expansion · enable_safety_checker

Leid diúltach ina sonraítear ábhar nach dteastaíonn, teoranta do 500 carachtar.

audio_url
Scaoil comhad, nó

Ceol cúlra a sholáthraítear trí URL fuaime atá inrochtana go poiblí, i bhformáid WAV nó MP3, a mhaireann 3 go 30 s agus nach mó ná 15 MB. Cinneann an fad roghnaithe de 5 nó 10 soicind an gearradh: caitear le fuaim bhreise, agus fágtar an chuid eile den fhíseán ina thost má tá an rian níos giorra. Mar shampla, le fuaim 3 shoicind agus físeán 5 shoicind, beidh fuaim ann sa chéad 3 shoicind agus tost sa 2 shoicind dheireanacha.

Síol a fhágann giniúint in-atáirgthe. Má shocraítear é go None, roghnaítear síol go randamach.

POST /run/wan-25-preview/text-to-video?wait=20 luachan → $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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Wan 2.5 Text to Video

Cruthaíonn sé físeán ó `prompt` téacsach suas le 1500 carachtar, i Sínis nó i mBéarla. Is féidir an cóimheas gné a bheith 16:9, 9:16 nó 1:1, an taifeach 480p, 720p nó 1080p, agus `duration` 5 nó 10 soicind. Socraíonn `audio_url` roghnach ceol cúlra, agus gearrtar é go fad an ghearrthóig. Tacaítear le leathnú leide, `negative_prompt` agus `seed`.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Treoracha do ghiniúint físeáin, teoranta do 1500 carachtar agus scríofa i Sínis nó i mBéarla.
audio_urlroghnach audio
Cineálurl · audio
Ceol cúlra a sholáthraítear trí URL fuaime atá inrochtana go poiblí, i bhformáid WAV nó MP3, a mhaireann 3 go 30 s agus nach mó ná 15 MB. Cinneann an fad roghnaithe de 5 nó 10 soicind an gearradh: caitear le fuaim bhreise, agus fágtar an chuid eile den fhíseán ina thost má tá an rian níos giorra. Mar shampla, le fuaim 3 shoicind agus físeán 5 shoicind, beidh fuaim ann sa chéad 3 shoicind agus tost sa 2 shoicind dheireanacha.
aspect_ratioroghnach
Cineálenum
Réamhshocrú16:9
16:99:161:1
Cóimheas gnéithe don fhíseán aschuir.
resolutionroghnach
Cineálenum
Réamhshocrú1080p
480p720p1080p
Leibhéal taifigh don fhíseán.
durationroghnach
Cineálenum
Réamhshocrú5
510
Fad aschuir an fhíseáin; is féidir 5 nó 10 soicind a roghnú.
negative_promptroghnach
Cineálstring | null
Leid diúltach ina sonraítear ábhar nach dteastaíonn, teoranta do 500 carachtar.
enable_prompt_expansionroghnach
Cineálboolean
Réamhshocrútrue
Athscríobh leid bunaithe ar LLM, a mhalartaíonn am próiseála breise ar thorthaí níos fearr le leideanna gearra.
seedroghnach
Cineálinteger | null
Síol a fhágann giniúint in-atáirgthe. Má shocraítear é go None, roghnaítear síol go randamach.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Lascthrealamh seiceála sábháilteachta a éilíonn údarú cuntais nuair atá sé múchta. Gan an t-údarú sin, seiceáiltear gach iarratas beag beann ar an socrú; cumasaíonn true an seiceálaí.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
video
object {url, content_type, file_name, file_size, width, height, fps, duration, num_frames}Comhad físeáin deiridh.
seed
integerLuach síl a úsáidtear le linn na giniúna.
actual_prompt
string | nullAn leid a úsáidtear i ndáiríre nuair atá an athscríobh cumasaithe.

Tuilleadh samhlacha: Téacs go Físeán

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/wan-25-preview/text-to-video.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt