Generate a song
flowmusic_create_songGenerate a song with Google's Lyria (Flow Music) from a description of the style, mood, genre, instruments, tempo and vocals, with your own lyrics or lyrics the model writes, or instrumental. Uses the account's Flow Music credits. A job: a song takes ~40-150 s, so the tool waits up to ~50 s and then returns the jobid for flowmusic_get_job. Results are clips with public m4a / wav links. POST /music.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The Flow Music account email. Optional: by default one of your healthy accounts is picked. | ||
| model | No | Music model: lyria-3.5 | lyria-3-pro (default lyria-3-pro; lyria-3.5 is the newer flagship). | |
| lyrics | No | Your own lyrics, ideally [Verse] / [Chorus] tagged; forces a vocal render of these words. | |
| prompt | Yes | The song description: style, mood, genre, instruments, BPM, vocal direction. | |
| refAudio1 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio2 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio3 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio4 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio5 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio6 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio7 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio8 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refAudio9 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refImage1 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage2 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage3 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage4 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage5 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage6 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage7 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage8 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refImage9 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| refAudio10 | No | An audio asset id from flowmusic_upload_file: an experimental hint with little effect. | |
| refImage10 | No | An image asset id from flowmusic_upload_file or flowmusic_generate_image: a loose style hint only. | |
| ghostwriter | No | The lyrics writer when the model writes the lyrics: standard | pro. | |
| instrumental | No | true: an instrumental. Default: the model decides from the prompt. |