Generate music
pixverse_create_musicGenerate a song or an instrumental from a prompt with music-2.6 (MiniMax Music 2.6), music-v1 (ElevenLabs Music), lyria-3-pro-preview (Google Lyria 3 Pro); default music-2.6. Your own lyrics on music-2.6 and music-v1 (else the model writes them), instrumental: true for no vocals, and up to 10 reference images on lyria-3-pro-preview. Uses PixVerse credits per track (see the pricing page). Waits up to ~50 s, then returns the audio_id for pixverse_get_music. POST /music/create.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "pixverse_create_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait up to ~50 s for the job to finish (default true); false returns the id at once. | |
| No | The PixVerse account email (pixverse_list_accounts). Optional: by default a random account with a free slot. | ||
| model | No | Default music-2.6. | |
| lyrics | No | The words to sing (music-2.6 and music-v1 only); not with instrumental. | |
| prompt | Yes | The track you want; up to 2000 characters on music-2.6, 4000 characters on music-v1, 5000 characters on lyria-3-pro-preview. | |
| maxJobs | No | Override the account's maxJobs (jobs at once) for this request, 1-8. | |
| image_paths | No | lyria-3-pro-preview only: reference images that condition the music, paths from pixverse_upload_file. | |
| instrumental | No | true makes a track without vocals; not with lyrics. |