Generate music
auteo_generate_musicSubmit a music generation. This SPENDS the user's credits (a fixed price per request, see auteo_estimate_cost; on auteo.ai the user's first successful YuE2 song is free, then 2 credits each). Call auteo_get_model first for the length limits. Two ways to ask: description mode = only prompt (the song is written for you); custom mode = any of lyrics / style / title (lyrics are sung as written). For an instrumental set instrumental=true (custom mode needs at least a style). Returns a requestId and the charged cost; then call auteo_get_generation (songs usually take one to a few minutes; most models return two songs per request). If this call times out, check auteo_list_generations before resubmitting and reuse the same clientRequestId. If it fails with insufficient credits, tell the user to top up at topUpUrl instead of retrying.
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": {
"model": "<model>"
},
"name": "auteo_generate_music"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Music model id. | |
| style | No | Genre, mood, instruments, e.g. lo-fi, chill, piano. | |
| title | No | Song title (custom mode). | |
| gender | No | Preferred vocal gender; random (or omit) lets the model choose. | |
| lyrics | No | Lyrics to sing as written (custom mode). | |
| prompt | No | Description of the song (description mode), or lyrics when lyrics is empty in custom mode. | |
| instrumental | No | true = no vocals. Default false. | |
| clientRequestId | No | Idempotency key. Leave empty; only reuse the value returned by a previous timed-out call. |