Skip to main content
POST
Reference generation

Headers

Authorization
string
required

Bearer API key, e.g. Bearer sk-....

Example:

"Bearer sk-..."

Body

application/json
audio_urls
string[]
required

Audio URLs. One to four publicly downloadable reference audio URLs.

Required array length: 1 - 4 elements
mv
enum<string>
default:chirp-v6

Model Version. All three versions are priced the same; pick by the style you want.

Available options:
chirp-v6,
chirp-v6-wild,
chirp-v6-mini
Example:

"chirp-v6"

prompt
string

Lyrics. Full lyrics, up to 5000 characters. Use markers like [Verse] and [Chorus] to shape the structure.

title
string

Title. Track title, up to 80 characters.

tags
string

Style Tags. The style you want, e.g. 'lo-fi piano, mellow, rain'. Up to 1000 characters.

negative_tags
string

Avoid These Styles. Styles to steer away from.

style_weight
number

Style Weight. 0 to 1. Higher sticks closer to your style tags; lower leaves more room to improvise.

weirdness_constraint
number

Weirdness. 0 to 1. Higher yields more unexpected results; lower stays conventional.

audio_weight
number

Audio Weight. 0 to 1. How strongly the reference audio shapes the result.

auto_lyrics
boolean
default:false

Polish Lyrics. Rewrites your lyrics to sing better. Custom mode only.

vocal_gender
enum<string>

Vocal Gender. Voice gender of the singer.

Available options:
Male,
Female
Example:

"Male"

variety
enum<string>

Variety. How far the result may drift from the style you specified.

Available options:
off,
normal,
high,
extra,
max
Example:

"off"

max_mode
boolean
default:false

Max Quality. Spend more compute to keep the whole song coherent. Custom mode only; doubles the price.

model_id
string

Custom Model. Generate with a model you trained. Use the model_id from a create-model result. Cannot be combined with persona_id.

audio_format
enum<string>

Output Format. Format of the finished audio. Defaults to mp3.

Available options:
mp3,
m4a,
wav
Example:

"mp3"

Response

200 - application/json

Accepted

code
string
Example:

"success"

message
string
Example:

"success"

data
object