Skip to main content
GET
Read this endpoint first. It tells you what the account may do and which enum values the write endpoints accept, so you never have to hard-code them.
string
required
API key for authentication.

Response

string
Whether this account may use Text-to-Music: ENABLED or DISABLED. DISABLED means generation is not available for the account.
string
The account’s plan, for example STANDARD, PRO, BUSINESS or ENTERPRISE.
number
Characters per minute for this account. The charge is ceil(durationSec × ratePerMinute / 60).
string
Version label of the applicable rate.
object
{ monthly, additional, total }, each a JSON string. Convert before comparing.
number
How long a quote stays valid. Currently 600.
array
The durations you may request: 60, 90, 120, 180.
array
Entries shaped { code, name }. Send the code as vocalLanguage, not the display name.
array
Accepted genre values: POP, ROCK, HIP_HOP, ELECTRONIC, RNB_SOUL, INDIE, JAZZ, CINEMATIC, FOLK_ACOUSTIC, LATIN, COUNTRY, CLASSICAL.
array
Accepted moods values: UPLIFTING, ENERGETIC, ROMANTIC, DREAMY, MELANCHOLIC, DARK, CALM, HOPEFUL, DRAMATIC, PLAYFUL, NOSTALGIC, INTENSE.
array
Accepted vocalStyle values: WARM_INTIMATE, BRIGHT_ENERGETIC, POWERFUL_ANTHEMIC, SOFT_BREATHY.
array
AUTO, CUSTOM.

Common errors

  • code = 401, "Key verification failed": the accessKey is missing, invalid or disabled. This is returned with HTTP 200 and no data field.
  • code = 47018: Text-to-Music is not available for this account or cohort.