AI Music API: Suno V6 and Flow Music
AI Music API for developers: turn a prompt or your own lyrics into full songs with Suno V6 or Google's Flow Music (Lyria 3 Pro and Lyria 3.5) through one API key, the same async task endpoint and per-request pricing at 20% off list price.
AI Music Generation API Models
Both music models share the same APIMart key, the /v1/music/generations endpoint and per-request billing. Open a model for supported operations, audio formats, the pricing table and code examples.
Suno API
Suno API on APIMart gives developers Suno V6, V6 Wild and V6 Mini for songs with vocals or instrumentals, lyrics, covers, stems, MIDI and music videos through one API key and an async task endpoint.
Suno V6Text to MusicAI VocalsLyricsView API & pricing →Flow Music API
Flow Music API on APIMart gives developers Google's Flow Music with Lyria 3 Pro and Lyria 3.5: one full song per request from a style prompt, lyrics, BPM and length, plus lyrics, extend, replace, cover, stems, export and music video tasks.
Lyria 3.5Flow MusicMusic GenerationText to MusicView API & pricing →
How to Choose an AI Music API
Suno V6 for the widest toolset
Suno V6, V6 Wild and V6 Mini cover 30+ operations: songs in inspiration or custom lyrics mode, extend, cover, mashup, stems, MIDI, custom models and music videos. One request can return several songs.
Flow Music for Lyria 3 Pro and 3.5
Flow Music runs Google's Lyria 3 Pro or Lyria 3.5 and returns one song per request from a style prompt and lyrics, with BPM, a length of 1 to 240 seconds and a seed for repeatable results.
Lengths and audio formats
Suno custom mode targets 10 to 360 seconds and exports MP3, M4A or WAV; Flow Music takes a length of 1 to 240 seconds and exports WAV or MP3. Results are kept for 72 hours.
Same async workflow for both
Both models use POST /v1/music/generations and GET /v1/music/tasks/{task_id}: submit, receive a task ID and poll until the track is ready, so switching models changes only the model and its parameters.
AI Music API FAQ
Is there a Suno API for developers?
Suno has not opened a public self-serve API. APIMart provides API access to Suno V6 through its own endpoint with one APIMart key; versions, parameters and pricing are on the Suno API page.
How do I get an AI music API key?
Sign up for APIMart, open the API Keys page in your dashboard and create a key. The same key calls Suno, Flow Music and every other model on APIMart, with pay-as-you-go billing and no subscription.
How does AI music API pricing work?
Music models are billed per request: Suno per generation or operation, Flow Music per task. Each model page shows its live pricing table, prices are 20% off list price, higher membership tiers save up to 28%, and you only pay for successful requests.
How do I call the AI music API?
POST to /v1/music/generations with model suno or flowmusic and your prompt or lyrics, receive a task ID, then poll GET /v1/music/tasks/{task_id} until the status is completed. Full parameters and code examples are at docs.apimart.ai.
Can I use AI-generated music commercially?
Commercial usage rights depend on each model provider's terms and your plan. Review the current Suno or Flow Music licensing terms before publishing, and contact APIMart support with questions about your use case.
Is the AI music API free?
No. APIMart has no free credits; it is pay as you go with no subscription. Membership discounts range from 20% to 28% off the list price.
Should I use Suno or Flow Music?
Choose Suno V6 when you need custom lyrics mode, longer songs, stems, MIDI, mashups or custom models. Choose Flow Music when you want Google's Lyria 3 Pro or Lyria 3.5 sound with one song per request and BPM and length controls.
How long are AI music API results kept?
Songs generated with Suno or Flow Music on APIMart are kept for 72 hours, so download the audio files promptly after the task completes.