Google Lyria as a text-to-music API, with clip edits
Flow Music is Lyria on AIReiter. Generate one full song from a style prompt, keep the clip_id, then extend, replace a range, cover, split stems, export, or render a video without starting over.
One song, then a handle
Write genre, instruments, and mood. Lyrics, title, BPM, and length are optional. Length is a 1-240 second hint, not a hard cap and not a per-second bill.
Edit the clip you already like
Extend from a timestamp. Replace only the bars that fail. Cover restyles the whole clip; strength (0-1, default 0.5) is how far the new version may drift.
Handoff files, not just a preview
Stems returns a zip for a DAW. Download exports the same clip as mp3 or wav. Video renders an mp4 from simple, modern, or player templates.
File in, clip_id out
If you only have mp3/wav/m4a, run Upload first (20 MB, 480 seconds). Every later type on this page needs that clip_id.
A Lyria clip generated through AIReiter
From the public API docs on this site. Prompt: Short acoustic guitar loop, no vocals. Version: Lyria 3 Pro. Length hint: 60 seconds. Audio plays in the playground above; the image is the cover from that task. We do not freeze a credit number here - use the live table.
Listen in the playground
When Flow Music is the right model
A full cue from a style line
Describe the sound, optionally paste lyrics, generate once. Keep clip_id even if you only need the preview today.
Fix a section, not the whole take
Replace a start-end range when the chorus works and the bridge does not. Extend when you need more seconds on the same clip.
Send stems or wav to a DAW
Stems is a zip, not a playable mix. Download wav when the streaming preview is not the delivery file.
Need a picture with the track
Video turns the same clip_id into an mp4 template. It is not a full music-video model - it is a shareable frame around the song.
Which Model type to open
Tabs map to flow_music* model IDs. Follow-up types need clip_id from generate or upload.
Generate and Lyrics
Generate is the song. Lyrics is a title and verse/chorus sheet with no audio. Lyria 3 Pro is default; Lyria 3.5 is the newer vocal model at the same listed price.
Extend, Replace, Cover
All three need clip_id and an instruction. Extend: from + duration. Replace: start + end seconds. Cover: strength 0-1.
Stems, Download, Video
Stems = zip. Download = mp3 or wav. Video = mp4 preset. None of these invent a new composition; they package the clip you already have.
Upload
Only when you have a file and no clip_id. After upload, the other edit types become available.
Lyria on Google tooling vs Flow Music here
Credit amounts live in the pricing table above this section. Length is a hint, not a billed duration.
| Typical Lyria access | Flow Music on this page | |
|---|---|---|
| What you get back | A generated clip | A clip plus clip_id used for every later step |
| After the first song | Often a new generate | Extend, replace a range, cover, stems zip, wav/mp3 export, or an mp4 template |
| How you pay | Cloud or studio quotas | Credits per successful task, listed in the table above |
| API | Provider-specific endpoints | POST /api/openapi/submit with flow_music* IDs, then POST /api/openapi/query |
| UI | Docs or a console | Playground on this page with the same fields |
Generate, then edit the same clip
Do not skip clip_id. Later tabs will not run without it.
Generate
Style prompt first. Length is a hint. Submit and wait for clip_id.
Edit
Extend, replace, or cover with an instruction. Set timestamps only for the part that should change.
Export
Stems zip, mp3/wav, or mp4 from the same clip_id.
Lyria / Flow Music API on AIReiter
Parameter tables live in the API reference. Billing is per successful task, not per second of length.
Submit
POST /api/openapi/submit with model flow_music or flow_music_lyrics / extend / replace / cover / stems / upload / download / video.
Query
POST /api/openapi/query with your out_task_id. A generate output item includes audio, cover, title, text, and clip_id.
clip_id
Pass it on every edit/export call. Upload is the only way to mint one from a file you already have.
Auth
Bearer key from /keys. Music shares the image and video credit balance.
Next on AIReiter
Suno API
Prompt-to-song with lyrics, extend, and cover from an audio file. Usually two candidates per generate.
AI Audio tools
Working UI for the full audio catalog.
Credit pricing
Same credit packs as the rest of the site.
Flow Music API reference
Submit example for flow_music, including version and length notes.
Lyria / Flow Music FAQ
clip_id, length, stems, versions, and submit/query.
/ 01Is Flow Music the same as Google Lyria?
Flow Music is the Lyria text-to-music family on AIReiter. Generate uses flow_music. Follow-up types use flow_music_* IDs on this page.
/ 02Why do I need a clip_id?
Generate and upload return it. Extend, replace, cover, stems, download, and video all require it. If you only have a file, run Upload first.
/ 03Does length always match the seconds I set?
No. Length is a 1-240 second hint. Upstream may not deliver that exact duration. You are billed per successful task, not per second.
/ 04What does Stems return?
A zip of separated tracks, not a playable mix. Use Download for mp3 or wav of the full clip.
/ 05Lyria 3 Pro or Lyria 3.5?
Lyria 3 Pro is the default. Lyria 3.5 is the newer vocal model. They share the generate price in the table above.
/ 06How do I call the API?
POST /api/openapi/submit with the flow_music* model ID, then POST /api/openapi/query with out_task_id. Examples: docs.aireiter.com/en/api-reference/audios/flow-music/generation