Generate music from a prompt and/or lyrics
Request Body
application/jsonRequiredmetadataMetadataCaller-supplied metadata; limited by task creation policy.
callback_urlCallback UrlHTTPS URL Beatra will POST the final Task envelope to when the Task reaches a terminal state
callback_signing_key_idCallback Signing Key IdOptional standalone callback signing key. Omit for unsigned callback delivery; requires callback_url when provided.
model"auto" | "minimax-music-3.0" | "suno-6"promptStyle, mood, genre, and instrumentation. When lyrics are supplied (or Suno custom mode is on) this maps to the provider's style-conditioning field; otherwise it is the song description the model writes the song from. Either way it is not an instruction field: execution directives written here (for example "do not omit anything", "sing it verbatim", "make chapter three differ from chapter one") are not read as instructions and will not be obeyed. Put the words to be sung in lyrics, or set instrumental to true for a track with no vocals.
1Maximum length: 2000lyricsLyricsOptional lyrics text. Must be omitted for instrumental music.
instrumentalInstrumentalWhen true, generate instrumental music without vocals.
falsetitleTitlemodel_optionsAny properties in MusicModelOptionsOptions grouped by public music model family.
Header Parameters
X-Request-IdstringOptional client request id echoed in the response.
Idempotency-Key1Maximum length: 128AuthorizationBearer API key.
Task accepted