
🇺🇸 English

🇺🇸 English
- Chat Models
- Chat
- OpenAI-Realtime
- Completions
- Audio
- Image generation
- Embeddings
- Models
- Help
- Anthropic
- Suno
- Udio
- Midjourney API
- Flux
- Recraft
- Ideogram
- Luma
- Runway
- Kling-API
- Replicate
- MiniMax
Generate music
POST
/udio/generate-proxy
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
string
optional
Header Params
Authorization
string
optional
Example:
Bearer
string
optional
Body Params application/json
gen_params
object
required
prompt
string
required
Example:
rock, pop soul, electronic
lyrics
string
required
Example:
[Verse 1]
In the silence, echoes fade, footsteps in the ground
Time's slipping, memories made, with whispers all around
As the stars dim, shadows play, we take our final bow
lyrics_type
enum<string>
required
Allowed values:
userinstrumentalgenerate
Example:
user
model_type
enum<string>
required
Allowed values:
udio32-v1.5udio130-v1.5
Example:
udio130-v1.5
config
object
required
negative_prompt
string
optional
Example:
song_section_start
number
required
>= 0<= 1
Default:
0
Example:
0
song_section_end
number
required
>= 0<= 1
Default:
1
Example:
1
lyrics_placement_start
number
required
>= 0<= 1
Example:
0
lyrics_placement_end
number
required
>= 0<= 1
Example:
0.95
prompt_strength
number
required
>= 0<= 1
Default:
0.5
Example:
0.5
clarity_strength
number
required
>= 0<= 1
Default:
0.25
Example:
0.25
lyrics_strength
number
required
>= 0<= 1
Default:
0.5
Example:
0.5
generation_quality
enum<number>
required
Allowed values:
0.250.50.751
Default:
0.75
Example:
0.75
seed
number
required
Default:
-1
Example:
-1
bypass_prompt_optimization
boolean
required
Default:
false
Example:
false
Example
{
"gen_params": {
"prompt": "The last song ever sung on the planet earth",
"lyrics": "",
"lyrics_type": "generate",
"bypass_prompt_optimization": false,
"seed": -1,
"song_section_start": 0.4,
"prompt_strength": 0.5,
"clarity_strength": 0.25,
"lyrics_strength": 0.5,
"generation_quality": 0.75,
"negative_prompt": "",
"model_type": "udio32-v1.5",
"config": {
"mode": "regular"
}
}
}
Responses
🟢200成功
application/json
Body
code
string
required
message
string
required
data
string
required
Example
{
"code": "success",
"message": "",
"data": "736a6f88-bd29-4b1e-b110-37132a5325ac"
}
Modified at 2025-02-05 11:20:12