generate_song
Start generating a song with Suno and get a job ID immediately. Then use wait_for_song to fetch the audio once rendering finishes.
Instructions
Start generating a song with Suno. Returns immediately with a job_id — a full render takes 1-3 minutes, so this does NOT return audio. After calling this, call wait_for_song with the returned job_id to get the audio URL when ready. Costs 10 tokens, billed only on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Style/genre, e.g. 'lofi hip hop, mellow, rainy'. Most useful in custom mode. | |
| model | No | Suno model version (v5.5 — the only model). Optional; defaults to v5.5. | |
| title | No | Song title (custom mode). | |
| custom | No | false (default): describe the song and Suno writes everything. true: `prompt` is the literal lyrics, and `tags`/`title` are used. | |
| prompt | Yes | What the song should be about (simple mode), or the exact lyrics (when custom=true). | |
| instrumental | No | If true, generate without vocals. | |
| idempotency_key | No | Optional logical-request id. Reuse it to recover one submit; use a new value to intentionally generate the same song again or retry after a terminal failed job. When omitted, Tunova derives a stable key from the song arguments for safe automatic retries. |