Skip to content

useapi/flowmusic-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Flow Music API examples (useapi.net)

Runnable Node.js examples for the Flow Music API by useapi.net — generate full songs with Google's Lyria 3 Pro (with vocals or instrumental, your own custom lyrics, plus cover / remix / extend / stems editing) through a simple REST API that drives your own Flow Music account — at roughly 6–10× less than Google's official $0.08-a-song API.

Each example reads a list of prompts from prompts.json, submits them through the useapi.net Flow Music API, and downloads every finished track.

Example What it does Tutorial
lyria-music/ Batch-generate full songs with Lyria 3 Pro — vocals or instrumental, custom lyrics, async polling How to Generate AI Music with Lyria 3 Pro via the Flow Music API

Quick start

You need Node.js v21 or newer (no dependencies to install), a useapi.net API token, and a connected Flow Music account (one $15/month subscription covers every useapi.net API):

git clone https://github.com/useapi/flowmusic-api.git
cd flowmusic-api/lyria-music
node ./flowmusic.mjs <API_TOKEN> <EMAIL>

Edit prompts.json in each folder to queue your own prompts. Every supported parameter is documented on the POST /music and music/edit endpoint pages.

About useapi.net

useapi.net is an experimental REST API for AI services. The Flow Music API drives your own Flow Music account, so you generate at consumer-plan credit prices (about 6–10× cheaper per song than Google's official Lyria 3 Pro API) instead of metered developer pricing. See the model matrix and pricing on the API overview.

Visit our Discord Server or Telegram Channel for any support questions and concerns.

We regularly post guides and tutorials on the YouTube Channel.

About

Code examples for the useapi.net Flow Music API — generate full songs with Google's Lyria 3 Pro (vocals, custom lyrics, instrumentals, and editing) over a simple REST API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors