Dža ko lil

Wan v2.2 A14B Text-to-Image A14B with LoRAs

Integriruj

Modelosko id wan/v2.2-a14b/text-to-image/lora
# 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-image/lora?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.05 50 API krediti · ≈ ₽5.38 Phir les kate

Lel API klidin

Kerdo pe Doitong

Publikane khera kerde Wan v22 LoRA-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 · acceleration · image_format · num_inference_steps · guidance_scale · guidance_scale_2 · shift · seed · enable_safety_checker · enable_output_safety_checker · enable_prompt_expansion · reverse_video · loras
standardno

Negačutno promptos čhivdo kana kerel jekh video.

acceleration standardno regular

Akceleracijako nastavenie, 'regular' hin rekomendime. Baro akceleracija lel avri kvalita, hoj te skurčarel vaxtosko keripe.

image_format standardno jpeg

Format e rezultato kiposko.

standardno 27

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 4

Guidance scale savo kontrolinel sar blizko o modelo džal palal prompto andro leski dujto faza.

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.

standardno []

LoRA-oske vajana leabarde andro inferenca.

POST /run/wan/v2.2-a14b/text-to-image/lora?wait=20 hesab → $0.05
# 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-image/lora?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 A14B Text-to-Image A14B with LoRAs

Generirinel slika andar `prompt` thaj aplikuil custom LoRA vázura dinde andre `loras`. `image_size` del square, portrait thaj landscape presetura, a `image_format` si png vaj jpeg. Si aj `guidance_scale`, `guidance_scale_2`, `num_inference_steps` dži 40 thaj `negative_prompt`.

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
standardno27
2 – 40
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.
accelerationopcionalno
Tipenum
standardnoregular
noneregular
Akceleracijako nastavenie, 'regular' hin rekomendime. Baro akceleracija lel avri kvalita, hoj te skurčarel vaxtosko keripe.
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.
guidance_scale_2opcionalno
Tipnumber
standardno4
1 – 10
Guidance scale savo kontrolinel sar blizko o modelo džal palal prompto andro leski dujto faza.
shiftopcionalno
Tipnumber
standardno2
1 – 10
Kipesko shiftosko nastavenie, dovolen range 1.0–10.0.
lorasopcionalno
Tipobject[]
standardno[]
LoRA-oske vajana leabarde andro inferenca.
loras[].pathtrubul
Tipstring
Lokacia e LoRA vazipnaski, specifikime sar URL vaj drom.
loras[].weight_nameopcionalno
Tipstring | null
LoRA vajesko nav, trebuno numa kana jekh Hugging Face repositorio si le bareder katar 1 safetensors fajlo. Kada nav si vaparavel numa kana `path` identifikuil kadava repositorio.
loras[].scaleopcionalno
Tipnumber
standardno1
0 – 4
Multiplikator dino e LoRA vazipnaske anglal mergipen ande o bazno modelo.
loras[].transformeropcionalno
Tipenum
standardnohigh
highlowboth
Transformerosko than vaś LoRA-osko vajan. Thov 'high' vaś high-noise transformer, 'low' vaś low-noise transformer, vaj 'both' vaś te pherel o vajan andro duj transformerura.
reverse_videoopcionalno
Tipboolean
standardnofalse
Videosko palem-avripen; true keren palem-avri e prehrava.
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-a14b/text-to-image/lora",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "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-a14b/text-to-image/lora.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt