Generate music with or without lyrics using AI models.
customMode: true
):
instrumental: true
: style
and title
are requiredinstrumental: false
: style
, prompt
, and title
are requiredprompt
3000 characters, style
200 charactersprompt
5000 characters, style
1000 characterstitle
length limit: 80 characters (all models)customMode: false
):
prompt
is required regardless of instrumental
settingprompt
length limit: 400 characterscustomMode: false
for simpler usagetext
(text generation), first
(first track complete), complete
(all tracks complete)vocalGender
(string): Vocal gender preference. Use m
for male, f
for female.styleWeight
(number): Strength of adherence to style. Range 0–1, up to 2 decimals. Example: 0.65
.weirdnessConstraint
(number): Controls creative deviation. Range 0–1, up to 2 decimals. Example: 0.65
.audioWeight
(number): Balance weight for audio features. Range 0–1, up to 2 decimals. Example: 0.65
.All APIs require authentication via Bearer Token.
Get API Key:
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Note:
Request successful
The response is of type object
.