Peke ki ngā ihirangi

Wan Motion

Whakauru

id tauira wan-motion
# 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-motion?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.com/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 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API

He whakakorikori kiripuaki e neke ana i tētahi whakaahua tohutoro mā te nekehanga o tētahi ataata taraiwa, me te urutaunga tū

Alibaba · Ataata

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

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.

taunoa

Ngā tohutohu kuputuhi kōwhiringa hei ārahi i te whakaputanga.

•e hiahiatia ana video_url
Whakataka he kōnae,

URL ataata taraiwa, ka whakamahia hei pūtake nekehanga.

•e hiahiatia ana image_url
Whakataka he kōnae,

URL atahanga tohutoro, ka whakamahia hei tautuhi i te āhua o te kiripuaki.

Arā atu acceleration · seed · adapt_motion · enable_safety_checker
acceleration taunoa regular

Whakatere whakaputa mā te keteroki: kōwhiria 'none' hei mono i te keteroki, 'regular' rānei hei whakahohe me te whakaputa tere ake.

Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.

POST /run/wan-motion?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.com/v1/run/wan-motion?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.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 Motion

E rua ngā tāuru e hiahiatia ana: he ataata taraiwa i `video_url` mō te nekehanga, me tētahi whakaahua tohutoro i `image_url` mō te āhua o te kiripuaki. Ka ārahi tētahi `prompt` kōwhiringa i te hua. Ina whakakāhia `adapt_motion`, ka urutau te tū o te ataata ki ngā ōwehenga tinana o te kiripuaki tohutoro, he āwhina ina rerekē ngā hanganga. Ka taea e `enhance_identity` te tukatuka-mua i te whakaahua tohutoro kia ōrite ake ai te tuakiri o te kiripuaki.

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 ataata taraiwa, ka whakamahia hei pūtake nekehanga.
image_urle hiahiatia ana image
Momourl · image
URL atahanga tohutoro, ka whakamahia hei tautuhi i te āhua o te kiripuaki.
promptkōwhiringa
Momostring
Taunoa
Ngā tohutohu kuputuhi kōwhiringa hei ārahi i te whakaputanga.
seedkōwhiringa
Momointeger | null
Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.
accelerationkōwhiringa
Momoenum
Taunoaregular
noneregular
Whakatere whakaputa mā te keteroki: kōwhiria 'none' hei mono i te keteroki, 'regular' rānei hei whakahohe me te whakaputa tere ake.
adapt_motionkōwhiringa
Momoboolean
Taunoatrue
Te urutaunga nekehanga mō ngā rerekētanga o ngā ōwehenga tinana i waenga i te atahanga tohutoro me te kaupapa o te ataata taraiwa. Mā te whakahohe ka taurite te nekehanga taraiwa ki ngā ōwehenga tohutoro, ā, e taunakitia ana ina rerekē ngā āhua, ngā rahi rānei o te tinana.
enhance_identitykōwhiringa
Momoboolean
Taunoafalse
Te tukatuka-mua atahanga tohutoro mā Flux Kontext Edit, ka mahia i mua i te whakakorikori hei whakapai ake i te pupuri tuakiri.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Te tirotiro haumaru o te tāuru me te putanga, ā, ko ngā pūkete whai mana anake ka taea te mono. Mā te uara true e whakahohe te tirotiro; ka tirotirohia ngā tono kāore he mana ahakoa te tautuhinga.
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-motion",
  "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
    },
    "prompt": "woman dancing",
    "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 kōnae ataata i whakaputaina.
prompt
stringTe tohutohu i whakamahia hei whakaputa i te putanga.
seed
integerTe uara kākano i whakamahia i te whakaputanga.

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