Generate audio with Suno Voice Clone via the Muapi REST API. Pay per generation — no subscription needed.
POST https://api.muapi.ai/api/v1/suno-voice-cloneSubmit a job with your MuApi API key in the x-api-key header, then poll https://api.muapi.ai/api/v1/predictions/{request_id}/result until status is completed.
| Name | Type | Required | Description |
|---|---|---|---|
| audio_url | string | Yes | URL of a clean 10-second recording of the voice to clone. Mono is fine. The provider extracts a vocal segment between vocal_start_s and vocal_end_s. |
| voice_name | string | No | A short label for your voice, shown in the voice picker (optional). |
| description | string | No | Free-form description of this voice (optional). |
| style | string | No | Comma-separated style hints used at music generation time (optional). |
| language | string | No | Language the voice sample is spoken in.Options: en, zh, es, fr, pt, de, ja, ko, hi, ruDefault: "en" |
| vocal_start_s | int | No | Start time of the vocal segment within the sample.Default: 0 |
| vocal_end_s | int | No | End time of the vocal segment within the sample. Must be greater than Vocal Start.Default: 10 |
REQUEST_ID=$(curl -s -X POST https://api.muapi.ai/api/v1/suno-voice-clone \
-H "x-api-key: $MUAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"audio_url":"https://example.com/your-audio_url"}' | jq -r .request_id)
curl -s https://api.muapi.ai/api/v1/predictions/$REQUEST_ID/result -H "x-api-key: $MUAPI_API_KEY"import os, time, requests
API = "https://api.muapi.ai/api/v1"
headers = {"x-api-key": os.environ["MUAPI_API_KEY"]}
r = requests.post(f"{API}/suno-voice-clone", headers=headers, json={"audio_url":"https://example.com/your-audio_url"})
request_id = r.json()["request_id"]
while True:
res = requests.get(f"{API}/predictions/{request_id}/result", headers=headers).json()
if res["status"] == "completed":
print(res["outputs"]); break
if res["status"] == "failed":
raise RuntimeError(res.get("error"))
time.sleep(3)Full docs and agent/MCP integration: llms.txt. Get an API key at muapi.ai/access-keys.