PATCH
/v1/music/finetunes/{finetune_id}
ElevenLabs APIUpdate Music Finetune
- Base URL
- https://api.elevenlabs.io
- Auth
- xi-api-key: <ELEVENLABS_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 221 tokens · Vary: Accept
→ 221 tokens · Vary: Accept
Critical gotchas
Authentication uses the non-standard xi-api-key header, not Authorization: Bearer. Sending a Bearer token returns HTTP 401.
Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (--output speech.mp3) rather than parsing it.
cURL
curl -X PATCH 'https://api.elevenlabs.io/v1/music/finetunes/finetune-id' \ -H "xi-api-key: $ELEVENLABS_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "tags": [ "string" ], "primary_genre": "string", "visibility": "private"}'Get a free ElevenLabs API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| finetune_id | path | string | Yes | path parameter finetune_id. |
| name | body | string | No | Updated name for the finetune. |
| tags | body | string[] | No | Replacement set of tags. |
| primary_genre | body | string | No | Updated primary musical genre. |
| visibility | body | string | No | Finetune visibility. Only 'private' and 'workspace' can be set. |
Response 200 OK
{
"id": "string",
"name": "string",
"tags": [
"string"
],
"primary_genre": "string",
"model_id": "string",
"created_at": "2026-09-03T00:00:00Z",
"visibility": "private",
"created_by": "self",
"status": "pending",
"training_progress": 0,
"failure_reason": "audio_processing_failed"
}