Dža ko lil

Wan v2.6 Text to Video

Integriruj

Modelosko id wan/v2.6/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/v2.6/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"

Kava mangipen: $0.75 750 API krediti · ≈ ₽80.68 Phir les kate

Lel API klidin
Alibaba Teksto ko Video 5–15 sdži 1080p #text-to-video

Wan 2.6 text-to-video e 5, 10 vaj 15 sekunda klipenca, panče proporcianca thaj opcionalno palutno audio

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

Lačar o video savo kames te keres le dži 1500 karakterenca čhinanes vaj anglickones. Vaś but shotura thov o teksto kadavaj: 'Overall description. First shot [0-3s] content. Second shot [3-5s] content.'.

duration 5 s

Videosko dživipen izarado maškar dostupne trajanja: 5, 10 vaj 15 sekundura.

aspect_ratio standardno 16:9

Videosko širinaske-k učipnaske nastavenie, le buteder dostupne poměronca andro Wan 2.6.

resolution standardno 1080p

Izar e videoski rezolucijašuki nivo. Vaś Wan 2.6 T2V hin dostupno 720p thaj 1080p; 480p na hin podportime.

Lučhe negative_prompt · audio · seed · enable_prompt_expansion · multi_shots · enable_safety_checker
standardno

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

audio_url
Čhiv jekh fajl, vaj

URL e javno dostupne WAV vaj MP3 fajlosko vaś pozadinašuko muzika, 3–30 s thaj na bareder 15 MB. Izabrano videosko dživipen (5, 10 vaj 15 sekundura) limitinel prehravipen k anglune N sekundura, baro audio ačhavel avri; kana audio sigeder džal tele, o ačhilo video hin bi zvuko. Sar primer, le 3 sekundura audiostar thaj 5 sekundura videoske, zvuko džal anglune 3 sekundura palal so aven 2 sekundura tišipe.

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

POST /run/wan/v2.6/text-to-video?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.ru/v1/run/wan/v2.6/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"

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 Wan v2.6 Text to Video

Kerel video andar jekh prompto dži 1500 karakterura ande kineski vaj anglikani čhib, sa timed multi-shot opisipena si podržime. `aspect_ratio` del 16:9, 9:16, 1:1, 4:3 thaj 3:4, `resolution` si 720p vaj 1080p, thaj `duration` si 5, 10 vaj 15 sekunda. Opcionalno `audio_url` dodavel pozadinosko muzika. Promptosko barjaripen thaj `multi_shots` si standardno aktivime.

Parametra

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

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Lačar o video savo kames te keres le dži 1500 karakterenca čhinanes vaj anglickones. Vaś but shotura thov o teksto kadavaj: 'Overall description. First shot [0-3s] content. Second shot [3-5s] content.'.
audio_urlopcionalno audio
Tipurl · audio
URL e javno dostupne WAV vaj MP3 fajlosko vaś pozadinašuko muzika, 3–30 s thaj na bareder 15 MB. Izabrano videosko dživipen (5, 10 vaj 15 sekundura) limitinel prehravipen k anglune N sekundura, baro audio ačhavel avri; kana audio sigeder džal tele, o ačhilo video hin bi zvuko. Sar primer, le 3 sekundura audiostar thaj 5 sekundura videoske, zvuko džal anglune 3 sekundura palal so aven 2 sekundura tišipe.
aspect_ratioopcionalno
Tipenum
standardno16:9
16:99:161:14:33:4
Videosko širinaske-k učipnaske nastavenie, le buteder dostupne poměronca andro Wan 2.6.
resolutionopcionalno
Tipenum
standardno1080p
720p1080p
Izar e videoski rezolucijašuki nivo. Vaś Wan 2.6 T2V hin dostupno 720p thaj 1080p; 480p na hin podportime.
durationopcionalno
Tipenum
standardno5
51015
Videosko dživipen izarado maškar dostupne trajanja: 5, 10 vaj 15 sekundura.
negative_promptopcionalno
Tipstring | null
standardno
Negativo prompto vaś na-manglino keripe, limitime pre 500 karakterura.
enable_prompt_expansionopcionalno
Tipboolean
standardnotrue
LLM-osko promptosko pheripe palem, savo lel buter procesingosko vaxt, hoj te del feder rezultatura le cikne promptonenca.
multi_shotsopcionalno
Tipboolean
standardnotrue
Inteligentno but-shotosko segmentacija kerel koherentno videoske vakeripena kana true; false kerel jekh shot. Efektoske hin ča kana enable_prompt_expansion hin True.
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/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": "string"
  },
  "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"
  }
}
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: Teksto ko Video

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