> ## Documentation Index
> Fetch the complete documentation index at: https://novita.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MiniMax Lyrics

MiniMax AI lyrics generation model that supports composing complete songs or editing existing lyrics, with structure tags ready for music generation

## Request Headers

<ParamField header="Content-Type" type="string" required={true}>
  Supports: `application/json`
</ParamField>

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format, for example: Bearer \{\{API Key}}.
</ParamField>

## Request Body

<ParamField body="mode" type="string" required={true}>
  Generation mode. write\_full\_song: compose a complete song; edit: edit or continue existing lyrics

  Optional values: `write_full_song`, `edit`
</ParamField>

<ParamField body="title" type="string">
  Song title. When provided, output preserves this title unchanged
</ParamField>

<ParamField body="lyrics" type="string">
  Existing lyrics content; only effective in edit mode. Can be used to continue or modify existing lyrics

  Length limit: 0 - 3500
</ParamField>

<ParamField body="prompt" type="string">
  Instructions describing song theme, style, or editing direction. Random generation when empty

  Length limit: 0 - 2000
</ParamField>

## Response

<ResponseField name="lyrics" type="string" required={false}>
  Generated lyrics with structure tags, ready for music generation API
</ResponseField>

<ResponseField name="song_title" type="string" required={false}>
  Generated song title
</ResponseField>

<ResponseField name="style_tags" type="string" required={false}>
  Comma-separated style tags
</ResponseField>
