restyle_song
COSTS CREDITS (see list_song_tools): state the price and get the user's confirmation first. Fixed price. Re-arrange a song in a new music style keeping its vocals; pass newLyrics to also re-sing it with new words. Returns an id; poll get_generation (takes a few minutes).
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": {
"id": "<id>",
"style": "<style>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "restyle_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Source song id (songs[].id from get_generation / list_songs / save_upload). | |
| style | Yes | Target style, e.g. "acoustic folk, fingerpicked guitar". | |
| title | No | ||
| newLyrics | No | Optional: new lyrics to re-sing. | |
| vocalGender | No | ||
| idempotencyKey | Yes | 8-64 chars [A-Za-z0-9._:-]. Same rules as generate_music: stable per logical request, resend the same key + params after a timeout instead of paying twice; new key when anything changes. |