Skip to content
WRAITHERIXDocsENRU

Music generation

Music generation is asynchronous: submit a job, then fetch it until it is done. One job produces two variants of the song and is billed per variant — see the model catalogue (suno_music).

Step Request
Create POST /suno/submit/music
Status and result GET /suno/fetch/{task_id}
import time, requests
API = "https://api.wraitherix.com"
H = {"Authorization": "Bearer YOUR_KEY"}
job = requests.post(f"{API}/suno/submit/music", headers=H, json={
"mv": "chirp-v4",
"gpt_description_prompt": "short calm lo-fi beat with soft piano",
"make_instrumental": True,
}).json()
task_id = job["data"]
while True:
r = requests.get(f"{API}/suno/fetch/{task_id}", headers=H).json()["data"]
if r["status"] in ("SUCCESS", "FAILURE"):
break
time.sleep(15)
for song in r["data"]:
print(song["title"], song["duration"], song["cld2AudioUrl"])
Field Meaning
gpt_description_prompt What the song should be about and how it should sound.
make_instrumental true for music without vocals.
prompt Your own lyrics (optional, instead of a description).
tags Style, e.g. "synthwave, female vocals" (with prompt).
title Song title (with prompt).
mv Model version, chirp-v4.

The result lists each variant with its title, duration (seconds), an audio link (cld2AudioUrl) and a cover image (cld2ImageUrl). Links are temporary — download the files soon after the job completes. A job usually takes 1–3 minutes. If it fails, the charge is refunded automatically.

Adult and sexual (NSFW) content is not allowed. Every generation request is screened before it reaches the model; prompts asking for nudity, sexual acts, erotic or fetish material, or “undress”-style edits are refused with 400 content_policy_violation and are not charged. Sexual content involving minors, and intimate imagery of real people without consent, are banned outright. Repeated violations can lead to key revocation and account suspension. Full text: Terms of service, section 6A.