Kling API v1 updates:
- Added
enable_audio
parameter to video generation endpoints for sound effects support: - Enhanced GET assets/download with
fileTypes
parameter for selective file format downloads (MP4, MP3, WAV, PNG)
Example
curl --location 'https://api.useapi.net/v1/kling/videos/text2video' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer user:12345-…' \
--form 'prompt="A confident, energetic young woman is dancing and twerking at a vibrant disco club. Multicolored lasers flash and sweep across the crowded dance floor, their lights reflecting dramatically off her shimmering outfit and highlighting the rhythm of her movements. The lady'\''s hair bounces with each move; her body sways and twerks to the pulsing beat of upbeat dance music. The kaleidoscopic disco lights and vivid reflections create an electric party atmosphere all around her, as other dancers blur in the background. The camera follows her fluid, joyful movements, emphasizing her expressive face and the sparkle of the club scene."' \
--form 'aspect_ratio="9:16"' \
--form 'model_name="kling-v2-1-master"' \
--form 'mode="pro"' \
--form 'duration="10"' \
--form 'enable_audio="true"'```
Result