Saltar al cuntegna

Wan · v2.2 A14b · Text to Video · Turbo

Integrar

ID dal model wan/v2.2-a14b/text-to-video/turbo
# 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.2-a14b/text-to-video/turbo?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"

Questa dumonda: $0,10 100 credits API · ≈ ₽10,73 Lantschar sin questa pagina

Obtegna ina clav API
Alibaba Text a video Sveltfin a 720p #text-to-video#motion

Text-to-video Turbo A14B cun controllas minimalas: prompt, resoluziun e relaziun d'aspect

Fatg sin Doitong

Ovras publicas fatgas cun Wan v22 Turbo da la communitad Doitong. Reutilisescha in prompt cun in clic.

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

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

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

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

# PROMPT: Animated Mother’s Day greeting card **Format:** vertical video 9:16 **Duration:** 12–15... Video

# PROMPT: Animated Mother’s Day greeting card **Format:** vertical video 9:16 **Duration:** 12–15 seconds **Style:** high‑quality Pixar‑inspired 3D animation, cinematic, warm, emotional, charming animated movie aesthetic. ### The main character is a child Use the attached image as the only and...

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori

Instrucziuns textualas che guidan la generaziun video.

resolution standard 720p

Resoluziun dal video d'output: 480p, 580p u 720p.

aspect_ratio standard 16:9

Proporziun dal video d'output, u 16:9 u 9:16.

Avanzà acceleration · video_quality · video_write_mode · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
acceleration standard regular

Configuraziun da l'acceleraziun, cun 'regular' sco tscherna recumandada. Augmentar l'acceleraziun sacrifiquescha qualitad per reducir il temp da generaziun.

video_quality standard high

Configuraziun da la qualitad dal video d'output, che baratta datotecas pli grondas per visuals meglers cura che la valur crescha.

video_write_mode standard balanced

Modus da scriver video, cun balanced sco cumpromiss tranter sveltezza e qualitad. Tscherner small per las datotecas las pli pitschnas e la scrittira la pli plauna; ina scrittira pli svelta returna ils resultats pli baud, ma creescha datotecas pli grondas.

Seed che renda la generaziun reproducibla. Cun definir None vegn tschernì in seed casualmain.

POST /run/wan/v2.2-a14b/text-to-video/turbo?wait=20 calculaziun → $0,10
# 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.2-a14b/text-to-video/turbo?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"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart Wan · v2.2 A14b · Text to Video · Turbo

Endpoint text-to-video simplifitgà che prenda in `prompt`, ina `resolution` da 480p, 580p u 720p ed in `aspect_ratio` da 16:9, 9:16 u 1:1. Dumber da frames, guidance e pass na vegnan betg exposads. Tuttina pon vegnir definids `seed`, `acceleration`, qualitad dal video e modus da scriver, ed activar l’extensiun dal prompt.

Parameters

NumTip StandardPermess Descripziun
promptobligatori
Tipstring
Instrucziuns textualas che guidan la generaziun video.
seedopziunal
Tipinteger | null
Seed che renda la generaziun reproducibla. Cun definir None vegn tschernì in seed casualmain.
resolutionopziunal
Tipenum
Standard720p
480p580p720p
Resoluziun dal video d'output: 480p, 580p u 720p.
aspect_ratioopziunal
Tipenum
Standard16:9
16:99:161:1
Proporziun dal video d'output, u 16:9 u 9:16.
enable_safety_checkeropziunal
Tipboolean
Standardfalse
Controlla da segirezza da l'input avant l'elavuraziun, che mo contos autorisads pon deactivar. Dumondas senza autorisaziun vegnan adina controlladas; uschiglio activa true la controlla.
enable_output_safety_checkeropziunal
Tipboolean
Standardfalse
Controlla la segirezza dal video generà; true activa ina controlla suenter la generaziun.
enable_prompt_expansionopziunal
Tipboolean
Standardfalse
Permetta ad in large language model d'enritgir il prompt cun detagls. Questa expansiun mantegna il senn dal prompt.
accelerationopziunal
Tipenum
Standardregular
noneregular
Configuraziun da l'acceleraziun, cun 'regular' sco tscherna recumandada. Augmentar l'acceleraziun sacrifiquescha qualitad per reducir il temp da generaziun.
video_qualityopziunal
Tipenum
Standardhigh
lowmediumhighmaximum
Configuraziun da la qualitad dal video d'output, che baratta datotecas pli grondas per visuals meglers cura che la valur crescha.
video_write_modeopziunal
Tipenum
Standardbalanced
fastbalancedsmall
Modus da scriver video, cun balanced sco cumpromiss tranter sveltezza e qualitad. Tscherner small per las datotecas las pli pitschnas e la scrittira la pli plauna; ina scrittira pli svelta returna ils resultats pli baud, ma creescha datotecas pli grondas.
obligatori

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-a14b/text-to-video/turbo",
  "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": 100,
    "usd": "0.10",
    "charged": 100,
    "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
    },
    "prompt": "A medium shot establishes a modern, minimalist office setting: clean lines, muted grey walls, and polished wood surfaces. The focus shifts to a close-up on a woman in sharp, navy blue business attire. Her crisp white blouse contrasts with the deep blue of her tailored suit jacket. The subtle texture of the fabric is visible—a fine weave with a slight sheen. Her expression is serious, yet engaging, as she speaks to someone unseen just beyond the frame. Close-up on her eyes, showing the intensity of her gaze and the fine lines around them that hint at experience and focus. Her lips are slightly parted, as if mid-sentence. The light catches the subtle highlights in her auburn hair, meticulously styled. Note the slight catch of light on the silver band of her watch. High resolution 4k",
    "seed": 42
  },
  "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"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size}Datoteca video producida da la generaziun.
prompt
stringPrompt da text utilisà per generar il video.
seed
integerValur da seed applitgada durant la generaziun.

Dapli models: Text a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/wan/v2.2-a14b/text-to-video/turbo.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt