Текст в звуковые эффекты
Testing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"prompt": "Аудио, описывающее пейзаж",
"duration": 5.0,
"external_task_id": "",
"callback_url": ""
}
Request Code Samples
curl --location 'https://stackapi.ai/kling/v1/audio/text-to-audio' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"prompt": "Аудио, описывающее пейзаж",
"duration": 5.0,
"external_task_id": "",
"callback_url": ""
}'
Responses
application/json
Modified at 2026-06-15 10:10:18