Peke ki ngā ihirangi

Wan VACE Video Edit

Whakauru

id tauira wan-vace-apps/video-edit
# 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-vace-apps/video-edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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: $ 1.875 1,875 whiwhinga API 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-edit#wan-vace

Ka whakatika i tētahi ataata tīariari mai i tētahi tohutohu reo māmā, me ngā whakaahua tohutoro kōwhiringa

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.

•e hiahiatia ana

Te tohutohu e tohu ana i ngā whakatikatika ataata.

•e hiahiatia ana video_url
Whakataka he kōnae,

URL o te ataata tāuru.

resolution taunoa auto

Taumira putanga i muri i te whakatika.

aspect_ratio taunoa auto

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

Arā atu images · video_type · acceleration · auto_downsample_min_fps · enable_auto_downsample · enable_safety_checker · return_frames_zip
image_urls taunoa []
Whakataka he kōnae,

Ngā URL atahanga tāuru e whakarato ana i ngā tohutoro ā-kanohi mō te whakaputanga.

video_type taunoa auto

Te kāwai ataata mō te whakatika, ka whakatauhia mai i te anga tuatahi ina waiho ki te taunoa 'auto'. Kōwhiria 'human' mō te aronga ki ngā tāngata me ā rātou nekehanga, 'general' rānei mō te nuinga o ngā ataata kē atu.

acceleration taunoa regular

Te tautuhinga whakatere inference, me te kōwhiringa 'none' 'regular' rānei: he tino tere ake te tukatuka whakatere, engari he paku rerekē pea te putanga.

taunoa 15

Te auau anga whāinga iti rawa, i ngā anga ia hēkona, mō te whakahekenga ataata.

POST /run/wan-vace-apps/video-edit?wait=20 utu → $ 1.875
# 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-vace-apps/video-edit?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",
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  }'

# 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 VACE Video Edit

Ka whakamahi i tētahi tohutohu `prompt` me `video_url`, ka whakahoki ataata kua whakatikahia. Ka taea e `video_type` te auto, general, human rānei; ko te mea whakamutunga mō ngā hopukanga e aro ana ki ngā tāngata. Ka hoatu ngā whakaahua tohutoro ki `image_urls`. Ka taea te tautuhi i te ōwehenga āhuatanga me `resolution` (240p ki te 720p), ā, ka āwhina te whakaiti tauira aunoa mō ngā tāuru roa, tere-anga nui rānei.

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
prompte hiahiatia ana
Momostring
Te tohutohu e tohu ana i ngā whakatikatika ataata.
video_urle hiahiatia ana video
Momourl · video
URL o te ataata tāuru.
video_typekōwhiringa
Momoenum
Taunoaauto
autogeneralhuman
Te kāwai ataata mō te whakatika, ka whakatauhia mai i te anga tuatahi ina waiho ki te taunoa 'auto'. Kōwhiria 'human' mō te aronga ki ngā tāngata me ā rātou nekehanga, 'general' rānei mō te nuinga o ngā ataata kē atu.
image_urlskōwhiringa images
Momourl[] · image
Taunoa[]
Ngā URL atahanga tāuru e whakarato ana i ngā tohutoro ā-kanohi mō te whakaputanga.
resolutionkōwhiringa
Momoenum
Taunoaauto
auto240p360p480p580p720p
Taumira putanga i muri i te whakatika.
accelerationkōwhiringa
Momoenum
Taunoaregular
nonelowregular
Te tautuhinga whakatere inference, me te kōwhiringa 'none' 'regular' rānei: he tino tere ake te tukatuka whakatere, engari he paku rerekē pea te putanga.
enable_auto_downsamplekōwhiringa
Momoboolean
Taunoatrue
Whakahohea te whakahekenga hei tuku i ngā raupapa kua whakaputaina kia roa ake ina tukatuka ataata roa, ataata auau-anga teitei rānei. He aunoa te whakahekenga, ā, mā te whakanuitanga i muri i te whakaputanga ka whakahokia te auau anga taketake.
aspect_ratiokōwhiringa
Momoenum
Taunoaauto
auto16:99:161:1
Te ōwehenga whānui-ki-teitei mō te ataata kua whakatikahia.
auto_downsample_min_fpskōwhiringa
Momonumber
Taunoa15
1 – 60
Te auau anga whāinga iti rawa, i ngā anga ia hēkona, mō te whakahekenga ataata.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka whakahaere mēnā kua whakakāhia te tirotiro haumaru.
return_frames_zipkōwhiringa
Momoboolean
Taunoafalse
Ka whakahaere mēnā ka whakaurua hoki ngā anga katoa kua whakaputaina ki tētahi pūranga ZIP.
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-vace-apps/video-edit",
  "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": 1875,
    "usd": "1.875",
    "charged": 1875,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4"
  },
  "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,
      "width": 1024,
      "height": 768,
      "fps": 1.0,
      "duration": 5,
      "num_frames": 1
    },
    "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
    }
  },
  "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, width, height, fps, duration, num_frames}Te ataata ka puta i te whakatikatika.
frames_zip
object {url, content_type, file_name, file_size} | nullKōnae ZIP kei roto ngā anga kua whakaputaina, ka whakahokia ina tonoa.

Ē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-vace-apps/video-edit.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt