Dža ko lil

Wan · v2.2 5b · Text to Image

Integriruj

Modelosko id wan/v2.2-5b/text-to-image
# 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-5b/text-to-image?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.016 16 API krediti · ≈ ₽1.72 Phir les kate

Lel API klidin
Alibaba Teksto ko Kip

Kompakto 5B text-to-image modelo šov preset-sizeenca, PNG vaj JPEG outputosa thaj ačharime sampling stepsenca

Kerdo pe Doitong

Publikane khera kerde Wan v22-sa e Doitong komunitetostar. Pheripen jekh prompto ande jekh klik.

Sikade publikane kerimata: 2
Создай 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 финальный...

Ker jekh mangipen

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

•trubul

Tekstovo instrukcije save vodinen e kerde kipesko.

image_size standardno square_hd

Dimenzije kerde kiposke.

Lučhe negative_prompt · image_format · num_inference_steps · guidance_scale · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion
standardno

Negačutno promptos čhivdo kana kerel jekh video.

image_format standardno jpeg

Format e rezultato kiposko.

standardno 40

Gin e sampling-krokingo, savo zamenel majdur procesiripe vaś majlačhi kvaliteta kana o gin barol.

standardno 3.5

Zor e classifier-free guidance-ski, savo zamenel šajutni kvaliteta-losaripen vaś majpašuno promptosko sovipen kana e skala barol.

standardno 2

Kipesko shiftosko nastavenie, dovolen range 1.0–10.0.

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

POST /run/wan/v2.2-5b/text-to-image?wait=20 hesab → $0.016
# 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-5b/text-to-image?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.2 5b · Text to Image

Kerel jekh statično kipo andar tekstosko `prompt`. Alosar jekh `image_size` preset sar square_hd, portrait_16_9 vaj landscape_4_3, thaj png vaj jpeg la `image_format`-sa. O sampling šaj te avel regulirime la `num_inference_steps`-sa (2 dži 50), `guidance_scale`-sa (1 dži 10) thaj `shift`-sa, thaj si dostupno jekh `negative_prompt` thaj opcionalno promptosko barjaripen.

Parametra

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Tekstovo instrukcije save vodinen e kerde kipesko.
negative_promptopcionalno
Tipstring
standardno
Negačutno promptos čhivdo kana kerel jekh video.
seedopcionalno
Tipinteger | null
Seed savo kerel o generiripe reproducibilno. Te postavil pes pe None, randomno kidel pes seed.
num_inference_stepsopcionalno
Tipinteger
standardno40
2 – 50
Gin e sampling-krokingo, savo zamenel majdur procesiripe vaś majlačhi kvaliteta kana o gin barol.
enable_safety_checkeropcionalno
Tipboolean
standardnofalse
Inputoski sigurnostno kontrola anglal procesovanie, savi šaj te čhinel ča authorized konto. Mangipena bi autorizacija hin sajek kontrolime; averčhane true lačarel kontrola.
enable_output_safety_checkeropcionalno
Tipboolean
standardnofalse
Kontrolinel sigurnostno kontrola e kerde videoski; true lačarel kontrola palal keripe.
enable_prompt_expansionopcionalno
Tipboolean
standardnofalse
Mukhel jekh baro čhibako modelo te pheravel o prompto detalonca. O pheripe na paruverel promptosko arakhlo.
guidance_scaleopcionalno
Tipnumber
standardno3.5
1 – 10
Zor e classifier-free guidance-ski, savo zamenel šajutni kvaliteta-losaripen vaś majpašuno promptosko sovipen kana e skala barol.
shiftopcionalno
Tipnumber
standardno2
1 – 10
Kipesko shiftosko nastavenie, dovolen range 1.0–10.0.
image_sizeopcionalno
Tipobject
standardnosquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Dimenzije kerde kiposke.
image_formatopcionalno
Tipenum
standardnojpeg
pngjpeg
Format e rezultato kiposko.
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan/v2.2-5b/text-to-image",
  "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": 16,
    "usd": "0.016",
    "charged": 16,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "image": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_name": "0-output.jpeg",
      "file_size": 1843200
    },
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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
image
object {url, content_type, file_name, file_size}Kiposko fajlo kerdo katar o keripe.
seed
integerSeed-valoro aplikovano ko generiripe.

Bute modeli: Teksto ko Kip

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