Peke ki ngā ihirangi

Kling Video · Video to Audio

Whakauru

id tauira kling-video/video-to-audio
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/video-to-audio?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"
  }'

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

Tēnei tono: $ 0.035 35 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API

Ka waihanga pānga oro me te puoro papamuri mō tētahi ataata 3-20 s, ā, ka whakahoki oro me te ataata kua tāpirihia te reo

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

URL pūtake mō te tango ororongo mai i tētahi ataata 3.0–20.0 hēkona te roa. Me .mp4, .mov rānei te kōnae, ā, kaua e nui ake i te 100 MB.

Arā atu sound_effect_prompt · background_music_prompt · enable_safety_checker · asmr_mode
0 / 200

Tohutohu e whakaahua ana i ngā pānga oro, e herea ana ki te 200 pūāhua.

0 / 200

Tohutohu e whakaahua ana i te puoro papamuri, e herea ana ki te 200 pūāhua.

POST /run/kling-video/video-to-audio?wait=20 utu → $ 0.035
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/kling-video/video-to-audio?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"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/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ō Kling Video · Video to Audio

Ka tāpiri oro ki tētahi topenga wahangu, topenga rānei kua whai oro (.mp4/.mov, 100MB te mōrahi, 3-20 hēkona). Aratakina mā `sound_effect_prompt` me `background_music_prompt`, tae atu ki te 200 pūāhua mō ia mea, ā, whakakā `asmr_mode` mō ngā pānga taipitopito, rumaki hoki. Ka whakahoki i tētahi kōnae oro MP3 me te ataata taketake kua tāpirihia te oro hou.

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
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Mā te whakamanatanga pūkete anake e āhei ai te whakaweto i ngā arowhai haumaru; ka arowhaitia tonutia ngā tono kāore he whakamanatanga.
video_urle hiahiatia ana video
Momourl · video
URL pūtake mō te tango ororongo mai i tētahi ataata 3.0–20.0 hēkona te roa. Me .mp4, .mov rānei te kōnae, ā, kaua e nui ake i te 100 MB.
sound_effect_promptkōwhiringa
Momostring | null
TaunoaCar tires screech as they accelerate in a drag race
≤ 200 pūāhua
Tohutohu e whakaahua ana i ngā pānga oro, e herea ana ki te 200 pūāhua.
background_music_promptkōwhiringa
Momostring | null
Taunoaintense car race
≤ 200 pūāhua
Tohutohu e whakaahua ana i te puoro papamuri, e herea ana ki te 200 pūāhua.
asmr_modekōwhiringa
Momoboolean
Taunoafalse
Ka whakakaha te aratau ASMR i ngā taipitopito pānga oro ririki kia tino rumakina ai ki te ihirangi.
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": "kling-video/video-to-audio",
  "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": 35,
    "usd": "0.035",
    "charged": 35,
    "refunded": 0
  },
  "input": {
    "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
    },
    "audio": {
      "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/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 taketake kua tāpirihia te araoro whakakapi.
audio
object {url, content_type, file_name, file_size}Ororongo MP3 kua tangohia, kua whakaputaina rānei mai i te ataata.

Ētahi atu tauira: Ataata ki te Ororongo

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