Suno
Songs with vocals and music from a description or your own lyrics. Two tracks per run, MP3.
How to get a better result
"A ginger cat on a windowsill, rain outside, watercolor".
"Soft sunset", "neon light", "cozy, warm tones".
Refine the description and press "Another version" — every result is new.
Pass this model in the request suno-v6
1. Create a task POST /api/v1/jobs/createTask
curl -X POST https://mixmedia.tech/api/v1/jobs/createTask \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-123" \
-d '{
"model": "suno-v6",
"callBackUrl": "https://your-app.example/callback",
"input": {
"version": "v6",
"prompt": "A cheerful birthday song for mum Olga, pop, female vocal",
"vocal_gender": "auto",
"duration": "auto",
"variety": "auto",
"style_weight": "auto",
"weirdness_constraint": "auto",
"audio_weight": "auto"
}
}'import time, requests
API = "https://mixmedia.tech/api/v1"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}
task = requests.post(f"{API}/jobs/createTask", headers=HEADERS, json={
"model": "suno-v6",
"callBackUrl": "https://your-app.example/callback",
"input": {
"version": "v6",
"prompt": "A cheerful birthday song for mum Olga, pop, female vocal",
"vocal_gender": "auto",
"duration": "auto",
"variety": "auto",
"style_weight": "auto",
"weirdness_constraint": "auto",
"audio_weight": "auto"
}
}).json()
task_id = task["data"]["taskId"]
while True:
info = requests.get(f"{API}/jobs/recordInfo", headers=HEADERS, params={"taskId": task_id}).json()["data"]
if info["state"] in ("success", "fail"):
break
time.sleep(4)
print(info["state"], info.get("resultJson") or info.get("failMsg"))const API = "https://mixmedia.tech/api/v1";
const headers = { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" };
const { data } = await fetch(`${API}/jobs/createTask`, {
method: "POST", headers,
body: JSON.stringify({
"model": "suno-v6",
"callBackUrl": "https://your-app.example/callback",
"input": {
"version": "v6",
"prompt": "A cheerful birthday song for mum Olga, pop, female vocal",
"vocal_gender": "auto",
"duration": "auto",
"variety": "auto",
"style_weight": "auto",
"weirdness_constraint": "auto",
"audio_weight": "auto"
}
}),
}).then((r) => r.json());
let info;
do {
await new Promise((r) => setTimeout(r, 4000));
info = (await fetch(`${API}/jobs/recordInfo?taskId=${data.taskId}`, { headers }).then((r) => r.json())).data;
} while (!["success", "fail"].includes(info.state));
console.log(info.state, info.resultJson ?? info.failMsg);Response: data.taskId. callBackUrl and Idempotency-Key are optional.
2. Status and result GET /api/v1/jobs/recordInfo
curl "https://mixmedia.tech/api/v1/jobs/recordInfo?taskId=TASK_ID" \
-H "Authorization: Bearer YOUR_API_KEY"
data.state: waiting, queuing, generating, success, fail. On success data.resultJson is a JSON string with resultUrls.
Input fields
| Field | What to send |
|---|---|
version | v6 · v6-wild · v6-mini · v5.5 · v5 · v4.5-plus · v4.5-all · v4.5 · v4 · default v6 |
prompt | text, up to 5000 characters |
custom_mode | true or false, default false |
instrumental | true or false, default false |
title | text |
style | text |
negative_tags | text |
vocal_gender | auto · female · male · default auto |
duration | auto · 30 · 60 · 90 · 120 · 150 · 180 · 240 · 300 · 360 · default auto |
variety | auto · off · normal · high · extra · max · default auto |
style_weight | auto · 0 · 0.05 · 0.1 · 0.15 · 0.2 · 0.25 · 0.3 · 0.35 · 0.4 · 0.45 · 0.5 · 0.55 · 0.6 · 0.65 · 0.7 · 0.75 · 0.8 · 0.85 · 0.9 · 0.95 · 1 · default auto |
weirdness_constraint | auto · 0 · 0.05 · 0.1 · 0.15 · 0.2 · 0.25 · 0.3 · 0.35 · 0.4 · 0.45 · 0.5 · 0.55 · 0.6 · 0.65 · 0.7 · 0.75 · 0.8 · 0.85 · 0.9 · 0.95 · 1 · default auto |
audio_weight | auto · 0 · 0.05 · 0.1 · 0.15 · 0.2 · 0.25 · 0.3 · 0.35 · 0.4 · 0.45 · 0.5 · 0.55 · 0.6 · 0.65 · 0.7 · 0.75 · 0.8 · 0.85 · 0.9 · 0.95 · 1 · default auto |
About the model
Suno V6 is the main Suno model: natural vocals, rich arrangements and expressive music. Describe a song and the lyrics are written for you, or turn on «Own lyrics and style» to set the words, title, genre, voice and length (up to 6 minutes). Each run gives two different tracks in MP3. Price per run.