Documentation Index
Fetch the complete documentation index at: https://docs.musicmint.ai/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
task_id immediately. Use Get Task to poll for results.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
prompt | string | See note | Lyric content or song description. Supports Chinese and English. Required unless tags or gpt_description_prompt is provided. |
title | string | No | Track title. |
tags | string | See note | Style tags (e.g. "pop upbeat female vocals" or "流行 治愈 女声"). Required unless prompt or gpt_description_prompt is provided. |
gpt_description_prompt | string | See note | Inspiration mode. Describe the song in natural language instead of writing lyrics (e.g. "An upbeat Chinese pop song about summer and friendship"). Cannot be used together with prompt/tags. |
make_instrumental | boolean | No | Generate an instrumental track (no lyrics). Default false. |
persona_id | string | No | AI singer persona ID. Apply a custom vocal style trained from a specific clip. Get this ID from Create Persona. |
continue_clip_id | string | No | Extend an existing clip. Provide the clip ID to continue from. |
continue_at | integer | No | Position in seconds to start the extension from. Only used with continue_clip_id. |
callback_url | string | No | URL to receive a webhook callback when the task completes. |
retention_days | integer | No | How many days to keep audio files. Default 7, max 30. |
At least one of
prompt, tags, or gpt_description_prompt is required.
gpt_description_prompt cannot be combined with prompt or tags.Language support
All text fields (prompt, title, tags, gpt_description_prompt) support Chinese and English.
Response
| Field | Type | Description |
|---|---|---|
task_id | string | Use this to poll Get Task for results. |
status | string | Initial status — always "queuing". |
Examples
Custom mode (lyrics + tags):Typical flow
- Call this endpoint → receive
task_id - Poll
POST /api/v1/task/{task_id}every 5 seconds - When
status="completed", readresults[].audio_url - Files expire after
retention_days— download promptly