minimax-music-2.6/text-to-musicGeneration type:
text_to_musicEndpoint:
POST /api/asset_generator/
Pricing
3.0 credits per output. Prices are per output. When a request asks for several outputs, the charge is this price times the number of outputs.Quick start
Input parameters
Send these fields ininput_params.
The text description that guides the audio generation process. This prompt defines what you want to hear in the generated audio content.Minimum characters:
1.
Maximum characters: 2000.The AI model to use for music generationAllowed values:
"music-2.6".Optional lyrics with structure tags such as [Verse] and [Chorus]. Leave empty to generate lyrics from the prompt.Minimum characters:
0.
Maximum characters: 3500.Complete JSON schema
Complete JSON schema
Response
The request returns the task withstatus: "initializing". Poll GET /api/asset_generator/{id}/ until status is done or failed, or pass a webhook_url to be notified. A finished task lists its files in assets and the credits it charged in credits_used.
