sonic
create voice
Create a custom voice persona from an audio file containing clear vocals. This is an async endpoint — submit the audio URL, receive a task_id, then poll for the result.
Credits cost: 5
Workflow:
- Submit a publicly accessible audio URL (MP3 or WAV, >10s, single clear speaker)
- Receive a task_id in the response
- Poll GET /api/v1/sonic/task/{task_id} until the task completes
- The completed task returns a persona_id
- Use the persona_id with POST /api/v1/sonic/create (task_type: persona_music) to generate music with that voice
Polling Result
Use GET /api/v1/sonic/task/{task_id} to poll the result.
{
"code": 200,
"data": {
"persona_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"name": "Voice Name"
},
"message": "success"
}
post/api/v1/sonic/create-voice
Request
- Base URLhttps://api.musicapi.ai
- URLhttps://api.musicapi.ai/api/v1/sonic/create-voice
- AuthHTTP bearer
Request body
Response
Changes
No recorded changes to this operation across all 1 revision of this API.