Peke ki ngā ihirangi

Wan Effects

Whakauru

id tauira wan-effects
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/wan-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.35 350 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Atahanga ki te Ataata #motion#effects

He tauira pānga Wan 2.1 e whakamahi ana i tētahi pānga ataata kua kōwhiria, pērā i cakeify, hulk rānei, ki tētahi atahanga

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Wan 2.1 e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 2
Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scen... Ataata

Create a realistic cinematic UGC-style commercial video, exactly 30 seconds long. The entire scene takes place inside a modern passenger airplane during a daytime flight. Natural smartphone-like cinematography, realistic airplane cabin, authentic passengers, natural lighting, realistic skin...

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кух... Ataata

Реалистичная бытовая сцена в советской одесской квартире зимним вечером. Женщина находится на кухне, мужчина — в комнате и прихожей. Атмосфера обычной советской семьи перед приходом гостей. Голоса: все персонажи говорят по-русски с естественным, выразительным одесским говором. Характерная...

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana image_url
Whakataka he kōnae,

He URL e tohu ana ki te atahanga tāuru.

aspect_ratio taunoa 16:9

Te ōwehenga whānui-ki-teitei mō te ataata putanga.

•e hiahiatia ana

Te kuputuhi kaupapa mō tētahi pānga: ka whakakīa te tauira tohutohu kua tautuhia kētia ki tēnei uara.

Arā atu effect_type · num_frames · frames_per_second · num_inference_steps · lora_scale · seed · turbo_mode · enable_safety_checker
taunoa cakeify

Te momo pānga ka hoatu ki te ataata.

taunoa 81

Te maha o ngā anga mō te whakaputanga.

taunoa 16

Tere anga ataata putanga, ka inehia ki ngā anga ia hēkona.

taunoa 30

Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.

taunoa 1

Te tauine taumaha LoRA e whakahaere ana i te kaha o tōna pānga.

Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.

POST /run/wan-effects?wait=20 utu → $ 0.35
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/wan-effects?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "subject": "fox",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Wan Effects

Ka whakakorikori i `image_url` mā tētahi pānga kua kōwhiria mā `effect_type` (taunoa cakeify, 43 ngā kōwhiringa), ka whakauru i tō `subject` ki te tauira tohutohu o te pānga. Ko `num_frames` 81-100, ko `frames_per_second` 5-24, ā, ko `aspect_ratio` 16:9, 9:16, 1:1 rānei. Mā `lora_scale` (0.1-2) e tautuhi te kaha, ā, ka whakawhiti a `turbo_mode` i te kounga mō te tere.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
subjecte hiahiatia ana
Momostring
Te kuputuhi kaupapa mō tētahi pānga: ka whakakīa te tauira tohutohu kua tautuhia kētia ki tēnei uara.
image_urle hiahiatia ana image
Momourl · image
He URL e tohu ana ki te atahanga tāuru.
effect_typekōwhiringa
Momoenum
Taunoacakeify
squishmuscleinflatecrushrotategun-shootingdeflatecakeifyhulkbabybrideclassypuppysnow-whitedisney-princessmona-lisa
+27 anōpaintingpirate-captainprincessjunglesamuraivipwarriorzenassassintimelapsetsunamifirezoom-calldoom-fpsfus-ro-dahhug-jesusrobot-face-revealsuper-saiyanjumpscarelaughingcartoon-jaw-dropcryingkissingangry-faceselfie-younger-selfanimeifyblast
Te momo pānga ka hoatu ki te ataata.
num_frameskōwhiringa
Momointeger
Taunoa81
81 – 100
Te maha o ngā anga mō te whakaputanga.
frames_per_secondkōwhiringa
Momointeger
Taunoa16
5 – 24
Tere anga ataata putanga, ka inehia ki ngā anga ia hēkona.
seedkōwhiringa
Momointeger | null
Te kākano e taea ai te tārua o te whakaputanga. Mā te tautuhi ki None e kōwhiri matapōkeretia ai he kākano.
aspect_ratiokōwhiringa
Momoenum
Taunoa16:9
16:99:161:1
Te ōwehenga whānui-ki-teitei mō te ataata putanga.
num_inference_stepskōwhiringa
Momointeger
Taunoa30
2 – 40
Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.
lora_scalekōwhiringa
Momonumber
Taunoa1
0.1 – 2
Te tauine taumaha LoRA e whakahaere ana i te kaha o tōna pānga.
turbo_modekōwhiringa
Momoboolean
Taunoafalse
Aratau Turbo, e whakawhiti ana i te kounga ataata mō te whakaputa tere ake ina whakahohea.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka taea te whakangāwari i te tātari mā te tautuhi false, mēnā he mana tō te kaiwhakatuwhera.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "wan-effects",
  "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": 350,
    "usd": "0.35",
    "charged": 350,
    "refunded": 0
  },
  "input": {
    "subject": "fox",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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
    },
    "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
video
object {url, content_type, file_name, file_size}Te ataata i hangaia e te tauira.
seed
integer

Ētahi atu tauira: Atahanga ki te Ataata

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/wan-effects.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt