Kling Video To Audio

42 credits/call
ae_kling_video_to_audio

Create or extract audio for a short video, with optional background music, sound effects, and immersive detailed sound enhancement.

Audio
42 credits/call

Pricing

42 credits/call
ConditionCharge
Each call42 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.asmr_modebooleanNoEnable ASMR mode. This mode enhances detailed sound effects and is suitable for highly immersive content scenarios.false
request_body.video_urlstringYesThe video URL to extract audio from. Only .mp4/.mov formats are supported. File size does not exceed 100MB. Video duration between 3.0s and 20.0s.—
request_body.sound_effect_promptstring | unknownNoSound effect prompt. Cannot exceed 200 characters.Car tires screech as they accelerate in a drag race
request_body.background_music_promptstring | unknownNoBackground music prompt. Cannot exceed 200 characters.intense car race

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_kling_video_to_audio' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "asmr_mode": false,
      "background_music_prompt": "Tense suspense score: low pulsing strings, heartbeat-like bass, dark ambient drone, creeping dread building to a shivering climax",
      "sound_effect_prompt": "Quiet office room tone with fluorescent hum, distorted phone earpiece chatter, crackling electric stun baton sparks, a man shouting angrily, a girl sobbing softly",
      "video_url": "https://v3b.fal.media/files/b/0ab22817/3sN73YQRmkeVn8i7s6878_output.mp4"
    }
  }
}'
Response exampleresponse.json
JSON
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "413de2a2-2c4b-495c-964c-0b5d373c6992"
}

Guides using this tool

See how this tool fits into real workflows