Generate Sounds
Create a sound generation task with loop, tempo, key, and optional lyrics subtitle capture settings.
🚀 User Guide
- By using this interface, you can generate corresponding audio content based on the input
prompt. - It supports setting up loop playback effect, which is suitable for background music, ambient sounds, and other scenarios.
- It allows specifying BPM (beats per minute) and pitch (Key) to facilitate control over the style of the generated result.
- Optional feature to enable lyric subtitle capture for easier display or processing of lyric content later.
- Supports asynchronous reception of task completion notifications through callback address.
model parameter
- Allowed values:
V5,V5_5. V5_5: Unleash Your Voice: Custom Models Tailored to Your Unique Taste. Supported behavior matchesV5for this endpoint (same parameters and limits, e.g.promptmax length as documented in the API schema).
📌 Usage Scenarios
- 🎧 Background music creation
- 🎮 Game sound effects or looped ambient sounds generation
- 🌐 Integration of audio content platforms and creative tools
Authorizations
🔑 API Authentication
All endpoints require authentication using Bearer Token.
Get API Key
- Visit the API Key Management Page to obtain your API Key
Usage
Add to request headers:
Authorization: Bearer YOUR_API_KEY⚠️ Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately from the management page
Body
Prompt text for sound generation. Maximum 500 characters.
500"A soft rain ambience with distant thunder and gentle wind"
Model name. Sounds tasks support V5 and V5_5. V5_5: Unleash Your Voice: Custom Models Tailored to Your Unique Taste. Supported behavior matches V5.
V5, V5_5 "V5"
Whether to enable loop playback for the generated sound.
false
BPM (beats per minute). If omitted, Auto is used.
1 <= x <= 300120
Pitch key of generated sound. Default is Any.
Any, Cm, C#m, Dm, D#m, Em, Fm, F#m, Gm, G#m, Am, A#m, Bm, C, C#, D, D#, E, F, F#, G, G#, A, A#, B "Any"
Whether to fetch lyric subtitle data after task completion.
false
Callback URL for asynchronous task completion notifications.
"https://api.example.com/callback"
Response
Request successful
Status Codes
- ✅ 200 - Request successful
- ⚠️ 400 - Invalid parameters
- ⚠️ 401 - Unauthorized access
- ⚠️ 404 - Invalid request method or path
- ⚠️ 405 - Rate limit exceeded
- ⚠️ 413 - Theme or prompt too long
- ⚠️ 429 - Insufficient credits
- ⚠️ 430 - Your call frequency is too high. Please try again later.
- ⚠️ 455 - System maintenance
- ❌ 500 - Server error
200, 400, 401, 404, 405, 413, 429, 430, 455, 500 200
Error message when code != 200
"success"
