Save Singer from Song
beatra.music.personas.create_from_songSave the singer of a track made by beatra.music.generate as a reusable persona (kind=style). Beatra picks the part where the singer is singing unless you send vocal_start_ms and vocal_end_ms. The track must have vocals and be generated without uploaded audio or video. Pass the returned persona_id to beatra.music.generate with model suno-6. Limited to 50 a day; call beatra.models.list for the price. This billable call consumes Beatra credits and creates an asynchronous task. Submit exactly once, then poll with beatra.tasks.get. Reuse the same client_request_id only for an identical retry.
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": {
"source": "<source>",
"client_request_id": "<client_request_id>"
},
"name": "beatra.music.personas.create_from_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | A track with vocals made by beatra.music.generate: its artifact, or the URL Beatra returned for it. | |
| persona_name | No | Name for the persona. | |
| vocal_end_ms | No | The 10–30 second vocal window the persona learns from. Leave both out and Beatra picks the part where the singer is singing; send only one and the other is set 30 seconds away. | |
| persona_style | No | Optional style notes, up to 200 characters. | |
| vocal_start_ms | No | The 10–30 second vocal window the persona learns from. Leave both out and Beatra picks the part where the singer is singing; send only one and the other is set 30 seconds away. | |
| client_request_id | Yes | Stable retry identity for this billable operation. Reuse only for the exact same generation arguments. | |
| persona_description | No | What the singer sounds like. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| error | No | ||
| usage | No | ||
| status | No | ||
| billing | No | ||
| task_id | No | ||
| terminal | No | ||
| artifacts | No | ||
| resolved_model | No |