Generate sound effects and/or background music for a video.
Authenticate with the X-API-Key request header.
List price. Volume / bulk customers get a discounted rate — contact us for account pricing.
| Name | Type | Required | Description | Default / options |
|---|---|---|---|---|
| video_url | string | required | Source video to score. | — |
| sound_effect_prompt | string | optional | Prompt describing desired sound effects. | — |
| background_music_prompt | string | optional | Prompt describing desired background music. | — |
| asmr_mode | boolean | optional | Enable ASMR-style audio. | default: false |
| callback_url | string | optional | Webhook URL notified when the task completes. | — |
curl -X POST https://brahmand-api.bulletshorts.co/v1/audio/kling-video-to-audio \
-H "X-API-Key: $TRINETRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"video_url":"https://example.com/clip.mp4","sound_effect_prompt":"footsteps on gravel, birds chirping"}'{
"video_url": "https://example.com/clip.mp4",
"sound_effect_prompt": "footsteps on gravel, birds chirping"
}Submitting a job returns 202 Accepted with a job id. Poll GET /v1/jobs/{id} until the job reaches a terminal state, or register a webhook to be notified.
{
"job_id": "job_klingvideotoaudio_a1b2c3",
"status": "queued"
}{
"id": "job_klingvideotoaudio_a1b2c3",
"model": "kling-video-to-audio",
"status": "succeeded",
"output": {
"outputs": [
{
"url": "https://cdn.trinetra.ai/out/kling-video-to-audio/a1b2c3.mp3",
"type": "audio"
}
]
},
"credits_charged": 10
}Webhook: set a webhook_url on your API key to receive a POST with the terminal job document instead of polling.