Generate music (Suno V6, MiniMax Music 3.0)
vivid_generate_musicGenerate an original music track from a text brief with genre, mood, instruments, BPM, and use; create instrumentals or vocal tracks and receive a public audio URL for editing or video soundtracks.
Instructions
Generate an original music track from a text brief (genre, mood, instruments, BPM, use). Credits are charged only when the track is ready. Providers: "suno-v6" (default, 6 credits for TWO takes of the same brief: url plus alternates[] — let the user pick) — the brief is the style; durationSec (10–360) is honoured within ~1–3 s for instrumentals and for vocals with lyrics; vocals WITHOUT lyrics let Suno write the words and choose the length (~2–3 min). Usually ready in 20–90 s. "minimax-music-3.0" (14 credits, one take) — 44.1 kHz/256 kbps MP3, instrumental or with vocals; it has NO exact length control: durationSec is a strong hint (30 s asked → ~2 min delivered), so trim in the editor. Lyrics accept [Verse]/[Chorus]/[Bridge] tags on both. Rendering can take up to 3 minutes: the tool waits up to waitSec, then returns status: "processing" with a taskId — call vivid_music_status with it to get the track. Returns a public URL (7-day temp storage) usable as an editor audio clip or video soundtrack; set outputDir to also download it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lyrics | No | With vocals: the lyrics, optionally with [Verse]/[Chorus]/[Bridge] tags (suno-v6 up to 5000 chars, minimax-music-3.0 up to 3000). | |
| prompt | Yes | Style brief in English: genre, mood, instruments, tempo, what it accompanies. | |
| waitSec | No | How long to wait for the track before returning a taskId to poll. Hosted connectors time out after about a minute, so keep it short there. | |
| filename | No | ||
| provider | No | suno-v6 | |
| outputDir | No | Download the file into this local directory. | |
| durationSec | No | Target length in seconds (suno-v6: 10–360, exact for instrumentals; minimax-music-3.0: max 300, a hint only). | |
| instrumental | No | false = with vocals (give lyrics or let the model write them). |