Peke ki ngā ihirangi

Wan-2.2 Animate Replace

Whakauru

id tauira wan/v2.2-14b/animate/replace
# 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-14b/animate/replace?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Ngā kōnae pēnei i te tauira: $ 0.75 750 whiwhinga API · ≈ ₽ 79.10 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Ataata ki te Ataata tae atu ki 720p #video-to-video#motion

Ka whakakapi i te tangata o tētahi ataata ki tētahi kiripuaki mai i te whakaahua tohutoro, me te pupuri i te horopaki taketake

I hangaia ki Doitong

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

Ngā mahi tūmatanui kua whakaaturia: 2
Создай 30-секундный обучающий музыкальный ролик для детей 3–5 лет. Тема: транспорт. Яркая 2D-аним... Ataata

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

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

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

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 video_url
Whakataka he kōnae,

URL o te ataata tāuru.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL atahanga pūtake, ā, mā te ōwehenga āhuatanga kua kōwhiria e whakatau mēnā me tukatuka-mua: mā te rerekētanga ka rahi anō, kātahi ka tapahia te pokapū.

resolution taunoa 480p

Te taumira ataata putanga: 480p, 580p, 720p rānei.

Arā atu video_quality · video_write_mode · guidance_scale · num_inference_steps · shift · seed · enable_safety_checker · enable_output_safety_checker · return_frames_zip · use_turbo
video_quality taunoa high

Te tautuhinga kounga ataata putanga, e whakawhiti ana i te rahi ake o te kōnae mō ngā āhua pai ake ina piki te tautuhinga.

video_write_mode taunoa balanced

Te aratau tuhi ataata, ko balanced te taurite i waenga i te tere me te kounga. Kōwhiria small mō ngā kōnae iti rawa me te tuhi pōturi rawa; mā te tuhi tere ake ka hoki wawe mai ngā hua, engari ka nui ake ngā kōnae.

taunoa 1

Te kaha arataki classifier-free, ka whakawhiti i te ngaronga kounga pea mō te ū tata ake ki te tohutohu ina piki te tauine.

taunoa 20

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

taunoa 5

Te tautuhinga neke ataata, he awhe whakaaetia 1.0–10.0.

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/v2.2-14b/animate/replace?wait=20 utu → $ 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.2-14b/animate/replace?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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.ru/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-2.2 Animate Replace

Ka whakamahi i tētahi `video_url` tāuru me tētahi `image_url` kiripuaki, ka whakakapi i te kaupapa o te ataata ki te kiripuaki o te whakaahua, ka noho tonu te toenga o te horopaki. Kōwhiria 480p, 580p, 720p rānei mō `resolution`. Ka whakarahi, ka tapahi pokapū i te whakaahua ina kāore e uru. He kōwhiringa `use_turbo` me `return_frames_zip`.

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
video_urle hiahiatia ana video
Momourl · video
URL o te ataata tāuru.
image_urle hiahiatia ana image
Momourl · image
URL atahanga pūtake, ā, mā te ōwehenga āhuatanga kua kōwhiria e whakatau mēnā me tukatuka-mua: mā te rerekētanga ka rahi anō, kātahi ka tapahia te pokapū.
guidance_scalekōwhiringa
Momonumber
Taunoa1
1 – 10
Te kaha arataki classifier-free, ka whakawhiti i te ngaronga kounga pea mō te ū tata ake ki te tohutohu ina piki te tauine.
resolutionkōwhiringa
Momoenum
Taunoa480p
480p580p720p
Te taumira ataata putanga: 480p, 580p, 720p rānei.
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.
num_inference_stepskōwhiringa
Momointeger
Taunoa20
2 – 40
Te tatau kaupae tīpako, ka whakawhiti i te wā tukatuka roa mō te kounga pai ake ina piki te tatau.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Te tirotiro haumaru tāuru i mua i te tukatuka, ā, ko ngā pūkete whai mana anake ka taea te whakaweto. Ka tirotirohia tonutia ngā tono kāore he mana; ki te whai mana, mā true e whakahohe te tirotiro.
enable_output_safety_checkerkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere i te tirotiro haumaru o te ataata kua whakaputaina; mā te tautuhi true e whakahohe te tirotiro i muri i te whakaputanga.
shiftkōwhiringa
Momonumber
Taunoa5
1 – 10
Te tautuhinga neke ataata, he awhe whakaaetia 1.0–10.0.
video_qualitykōwhiringa
Momoenum
Taunoahigh
lowmediumhighmaximum
Te tautuhinga kounga ataata putanga, e whakawhiti ana i te rahi ake o te kōnae mō ngā āhua pai ake ina piki te tautuhinga.
video_write_modekōwhiringa
Momoenum
Taunoabalanced
fastbalancedsmall
Te aratau tuhi ataata, ko balanced te taurite i waenga i te tere me te kounga. Kōwhiria small mō ngā kōnae iti rawa me te tuhi pōturi rawa; mā te tuhi tere ake ka hoki wawe mai ngā hua, engari ka nui ake ngā kōnae.
return_frames_zipkōwhiringa
Momoboolean
Taunoafalse
Whakaurua he kaweake tāpiri anga-atahanga kore-ngaro mā te tautuhi ki true. Ka whakaputaina ngā atahanga ki te GPU, ka whakaemi ki tētahi pūranga ZIP.
use_turbokōwhiringa
Momoboolean
Taunoafalse
Pana whakarei kounga, ina true ka arotau aunoa i ngā tawhā mō ngā hua pai rawa, mā te whakakotahi i te whakaputa tere ake me te kounga pai ake.
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/v2.2-14b/animate/replace",
  "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": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "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
    },
    "frames_zip": {
      "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": "",
    "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"
  }
}
Ō 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 kōnae ataata i whakaputaina.
frames_zip
object {url, content_type, file_name, file_size} | nullKōnae ZIP kei roto ngā anga kua whakaputaina, ka tukuna ina tonoa.
prompt
stringTe tohutohu i waihangatia e te tauira, i whakamahia hei whakaputa i te hua.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

Ētahi atu tauira: Ataata 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/v2.2-14b/animate/replace.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt