MiniMax Music 2.6
Text to audio
Starting price $0.24 / run
By MiniMax
MiniMax Music 01 sings your lyrics in the style of a reference song you upload.
minimax-musicQuote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.
# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-music",
"input": {
"prompt": "##\nMorning light on the kitchen floor\nCoffee waiting by the door\n\nWe don'\''t need a plan today\nLet the summer find its way\n##",
"reference_audio_url": "https://example.com/input.mp3"
}
}'
# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
-H "Authorization: Bearer $RAYWAKE_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"model": "minimax-music", "quote_id": "QUOTE_ID", "input": {"prompt":"##\nMorning light on the kitchen floor\nCoffee waiting by the door\n\nWe don'\''t need a plan today\nLet the summer find its way\n##","reference_audio_url":"https://example.com/input.mp3"}}'
# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAYWAKE_API_KEY"| Name | Type | Description |
|---|---|---|
promptrequired | string | Lyrics with optional formatting. You can use a newline to separate each line of lyrics. You can use two newlines to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment. Maximum 600 characters. |
reference_audio_urlrequired | string (URL) | Reference song, should contain music and vocals. Must be a .wav or .mp3 file longer than 15 seconds. |
A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.
"outputs": [
{ "type": "audio", "url": "https://…", "mime_type": "audio/mpeg", "thumbnail_url": null }
]The exact charge for your input comes from a quote. How charges settle
Fields marked * are required. Review the price before generating.
Write up to 600 characters of lyrics and upload a reference song with music and vocals, as WAV or MP3, longer than 15 seconds. MiniMax Music 01 writes a new song on your lyrics that follows the sound of the reference.
Put each lyric line on its own line, leave an empty line for a pause, and wrap the lyrics in double hash marks (##) to add accompaniment.
Listen to the complete audio and check pronunciation, lyrics, timing and sound quality.