Peke ki ngā ihirangi

Happy Horse Video Edit

Whakauru

id tauira alibaba/happy-horse/video-edit
# 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/alibaba/happy-horse/video-edit?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",
    "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"

Ngā kōnae pēnei i te tauira: $ 5.60 5,600 whiwhinga API · ≈ ₽ 602.45 ka inea ō kōnae i mua i te whakahaere Whakahaerehia ki tēnei whārangi

Tikina he kī API
Alibaba Ataata ki te Ataata Ngā tāuru tohutorotae atu ki 1080p #happy-horse#video-editing#video-to-video

Ka whakatika i tētahi ataata tīariari mā tētahi tohutohu reo tūturu, me te 5 atahanga tohutoro mōrahi

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

Kuputuhi e whakaahua ana i te whakatika hei mahi, he 2500 pūāhua te mōrahi. Tohua ngā atahanga kua tukuna ki @Image1, @Image2, tae atu ki @Image5.

•e hiahiatia ana video_url
Whakataka he kōnae,

URL ataata pūtake mō te whakatika; ka pupuri te putanga i tōna ōwehenga āhuatanga, ā, ka rite tōna roanga ki te 15 s te mōrahi, ka pupuri i te wāhanga tīmatanga mō ngā tāuru roa ake. Tukua MP4, MOV rānei (ko H.264 te mea pai), 3–60 s te roa, kaua e nui ake i te 100 MB, he tere anga neke atu i te 8 fps, he ōwehenga āhuatanga kei waenga i te 1:2.5–2.5:1, he tapa roa kaua e nui ake i te 2160 px, ā, he tapa poto kaua e iti iho i te 320 px. Ko te wā tatari he 30.0 s.

resolution taunoa 1080p

Te taumata taumira mō te ataata ka puta.

Arā atu images · audio_setting · seed · enable_safety_checker
reference_image_urls
Whakataka he kōnae,

Ngā atahanga hei ārahi i te whakatika, he kōwhiringa, kaua e nui ake i te 10 MB, ā, me 300px neke atu rānei ngā ahunga e rua. Kaua e neke atu i te 5, i te hōputu JPEG, JPG, PNG, WEBP, me te ōwehenga āhuatanga kei waenga i te 1:2.5–2.5:1.

audio_setting taunoa auto

Kōwhiria 'origin' hei pupuri i te ororongo o te ataata tāuru kia kore e whakarerekē, kōwhiria rānei 'auto' mā te tauira e whakatau mēnā me whakaputa anō te ororongo.

Te kākano matapōkere mō ngā putanga ka taea te tārua, mai i te 0 ki te 2147483647.

POST /run/alibaba/happy-horse/video-edit?wait=20 utu → $ 5.60
# 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/alibaba/happy-horse/video-edit?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",
    "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"

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ō Happy Horse Video Edit

Ka whakatika i tētahi ataata pūtake 3 ki te 60 hēkona te roa (MP4, MOV rānei, tae atu ki te 100 MB) e hāngai ana ki tētahi `prompt`. Ka taea te whakahuatia ngā atahanga tohutoro e 5 i roto i te tohutohu hei @Image1 ki @Image5. Ko `resolution` he 720p, he 1080p rānei, ā, mā `audio_setting` te tauira e whakatau ('auto'), e pupuri rānei i te ororongo taketake ('origin').

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 pūtake mō te whakatika; ka pupuri te putanga i tōna ōwehenga āhuatanga, ā, ka rite tōna roanga ki te 15 s te mōrahi, ka pupuri i te wāhanga tīmatanga mō ngā tāuru roa ake. Tukua MP4, MOV rānei (ko H.264 te mea pai), 3–60 s te roa, kaua e nui ake i te 100 MB, he tere anga neke atu i te 8 fps, he ōwehenga āhuatanga kei waenga i te 1:2.5–2.5:1, he tapa roa kaua e nui ake i te 2160 px, ā, he tapa poto kaua e iti iho i te 320 px. Ko te wā tatari he 30.0 s.
prompte hiahiatia ana
Momostring
Kuputuhi e whakaahua ana i te whakatika hei mahi, he 2500 pūāhua te mōrahi. Tohua ngā atahanga kua tukuna ki @Image1, @Image2, tae atu ki @Image5.
reference_image_urlskōwhiringa images
Momourl[] · image
Ngā atahanga hei ārahi i te whakatika, he kōwhiringa, kaua e nui ake i te 10 MB, ā, me 300px neke atu rānei ngā ahunga e rua. Kaua e neke atu i te 5, i te hōputu JPEG, JPG, PNG, WEBP, me te ōwehenga āhuatanga kei waenga i te 1:2.5–2.5:1.
resolutionkōwhiringa
Momoenum
Taunoa1080p
720p1080p
Te taumata taumira mō te ataata ka puta.
audio_settingkōwhiringa
Momoenum
Taunoaauto
autoorigin
Kōwhiria 'origin' hei pupuri i te ororongo o te ataata tāuru kia kore e whakarerekē, kōwhiria rānei 'auto' mā te tauira e whakatau mēnā me whakaputa anō te ororongo.
seedkōwhiringa
Momointeger | null
Te kākano matapōkere mō ngā putanga ka taea te tārua, mai i te 0 ki te 2147483647.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Te āta tirotiro i te tāuru me te putanga, ka whakatinanahia ki ia tono ki te kore e whai mana te pūkete ki te whakakore, ā, kua whakawetohia te kōwhiringa.
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": "alibaba/happy-horse/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": 5600,
    "usd": "5.60",
    "charged": 5600,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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
    },
    "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, width, height, fps, duration, num_frames}Te kōnae ataata i whakaputaina.
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/alibaba/happy-horse/video-edit.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt