Early-bird pricing (ends Dec 25), locked in while you stay subscribed: Go $10/mo (normally $20), Plus with Opus 5.5 just $30/mo (normally $50)Subscribe →

Lyria Text-to-Music API | Flow Music Playground

Generate a full song with Google Lyria (Flow Music), then extend, replace, cover, split stems, or export wav. Playground and API on AIReiter.

Run with API
MODEL TYPE
24H Status MonitorSuccess: 100%
Input
0/5000

Describe the sound. Add lyrics below if you want singing.

Style prompt0/5000
Advanced options
60
Output
Flow Music9 prices
Google
SpecificationCreditsPrice (USD)
Model & ModalityFlow Music7.2per generation$0.072per generation
Model & ModalityFlow Music Lyrics2.4per generation$0.024per generation
Model & ModalityFlow Music Extend7.2per generation$0.072per generation
Model & ModalityFlow Music Replace7.2per generation$0.072per generation
Model & ModalityFlow Music Cover7.2per generation$0.072per generation
Model & ModalityFlow Music Stems7.2per generation$0.072per generation
Model & ModalityFlow Music Upload1.2per generation$0.012per generation
Model & ModalityFlow Music Download2.4per generation$0.024per generation
Model & ModalityFlow Music Video2.4per generation$0.024per generation

Prices follow the model configuration. Reference images are not billed unless the model says so.

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
Cover from a Lyria 3 Pro acoustic guitar loop generated on AIReiter

When Flow Music is the right model

Choose Lyria when the first generate is a bed you will edit. Choose Suno when you want a sung identity and two candidates from one prompt.

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 accessFlow Music on this page
What you get backA generated clipA clip plus clip_id used for every later step
After the first songOften a new generateExtend, replace a range, cover, stems zip, wav/mp3 export, or an mp4 template
How you payCloud or studio quotasCredits per successful task, listed in the table above
APIProvider-specific endpointsPOST /api/openapi/submit with flow_music* IDs, then POST /api/openapi/query
UIDocs or a consolePlayground on this page with the same fields

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.

Supported Flow Music Controls

ControlTypeNotes
01versionstring—
02prompttextDescribe the sound. Add lyrics below if you want singing.
03lyricstext—
04titletext—
05bpmtext—
06lengthinteger—

Generate with Flow Music

Open Playground ↑
  1. Generate

    Style prompt first. Length is a hint. Submit and wait for clip_id.

  2. Edit

    Extend, replace, or cover with an instruction. Set timestamps only for the part that should change.

  3. Export

    Stems zip, mp3/wav, or mp4 from the same clip_id.

Use Flow Music through the AIReiter API

API ↗
01Model IDs

flow_music, flow_music_lyrics, flow_music_extend, flow_music_replace, flow_music_cover, flow_music_stems, flow_music_upload, flow_music_download, flow_music_video

02Submit a task

POST to /api/openapi/submit with the model, a unique out_task_id, and parameters.

03Query the result

POST to /api/openapi/query with the same out_task_id until the task completes.

04Store results on your side

Save outputs in your own storage rather than hot-linking them.

Related AI models on AIReiter

Flow Music FAQ

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

BOARDING

Start building with leading image, video and text models.

One API keyOne billing systemOne usage dashboard