Pricing
Compare models →$0.10 per generated song. Billed per generation, not per second or token.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Describe the music: genre, mood, tempo, instruments, vocals and structure. Include original lyrics or timestamps, or request instrumental music. Length: 1-5,000 characters. Duration hints in the prompt guide generation; exact length is not guaranteed.Characters: 1–5000 |
image | string | Optional reference image URL to inspire the mood and theme of the music. |
README
Google Lyria 3.5
Google Lyria 3.5 is Google's flagship music generation model for full-length songs. Describe the track you want in natural language — genre, mood, tempo, instruments, vocal style — and get a complete song of up to about three minutes with expressive vocals, timed lyrics, and a full arrangement with verses, choruses, and bridges. Write your own lyrics with section tags, or ask for an instrumental. Optionally guide the mood with a reference image.
- Need a short loop or preview instead? Try Google Lyria 3 Clip
Why Choose This?
- Full-length songs
Complete tracks of up to about three minutes with coherent structure — intro, verses, choruses, bridges, and outro.
- Expressive vocals and timed lyrics
Richer musical arrangements and more natural vocals than Lyria 3 Pro, with lyrics that follow your text closely.
- Bring your own lyrics
Add [Verse], [Chorus], and [Bridge] tags in the prompt to control the song structure, or add timestamps such as [0:00 - 0:10] Intro to shape the timeline.
- Multilingual
Write the prompt in the language you want the song sung in; the vocal style adapts to the language.
- Image-guided generation
Upload a reference image to inspire the musical mood and atmosphere.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | 1-5,000 characters. Description of the song: genre, mood, tempo, instruments, vocal style. Include your own lyrics with section tags, or write "instrumental" for no vocals. |
| image | No | Reference image to guide the mood and atmosphere of the generated song. |
How to Use
- Write your prompt — describe the genre, tempo, instruments, mood, and vocal style.
- Add lyrics (optional) — paste your lyrics with
[Verse]/[Chorus]/[Bridge]tags, or add timestamps to control when sections start.
- Upload a reference image (optional) — provide an image to inspire the musical atmosphere.
- Submit — generate and download your song as an MP3.
Pricing
$0.10 per generated song. Billed per generation, not per second or token.
Best Use Cases
- Original songs — Produce complete vocal tracks for short films, ads, social content, and demos.
- Film & Video Scoring — Generate full-length music beds and underscore for video productions.
- Game & Interactive Media — Create atmospheric tracks and theme songs for games and apps.
- Podcast & Streaming — Generate intro, outro, and background music with or without vocals.
- Creative Production — Rapidly prototype song ideas, lyrics, and styles before studio work.
Pro Tips
- Be specific about BPM, key instruments, vocal gender or style, and energy level for the most accurate results.
- Use section tags to control structure; without them the model writes its own lyrics from your description.
- Say how long the song should be in the prompt (for example, "a two-minute song") to control duration.
- Try pairing an atmospheric image with a minimal prompt to let the image drive the mood.
- Requests for a specific artist's voice or copyrighted lyrics are blocked by Google's content policy.
Notes
- Only
promptis required (1-5,000 characters);imageis optional.
- Duration is guided by the prompt, not an exact duration parameter.
negative_prompt,seed, and output-format selection are not exposed.
- The OpenSI result provides the generated MP3 URL in
outputs; a separate lyrics response is not part of this endpoint contract.
- Output is a 44.1 kHz stereo MP3. Every song carries an inaudible SynthID watermark.
- Generation is not deterministic; identical prompts produce different songs.
- Please ensure your content complies with Google's usage policies.
Related Models
- Google Lyria 3 Pro — Previous-generation full-length music model.
- Google Lyria 3 Clip — 30-second clips at faster generate speed.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Lyria 3.5 Music Generation API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/lyria-3.5/music for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/ejkwliu4376i.jpg"
}Lyria 3.5 Music Generation API — Frequently asked questions
What is the Lyria 3.5 Music API?
Lyria 3.5 Music is a Google model for music generation, exposed as a REST API on OpenSIAI. Google Lyria 3.5 generates full-length songs up to about three minutes with expressive vocals, timed lyrics, and complete arrangements from text prompts and optional image input. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Lyria 3.5 Music API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/google/lyria-3.5/music.
How much does Lyria 3.5 Music cost per run or per second?
Lyria 3.5 Music starts at $0.1 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Lyria 3.5 Music accept?
Key inputs: prompt, image. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/google/lyria-3.5/music.
How long does Lyria 3.5 Music take to generate?
Reported generation time on OpenSIAI is around 33 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Lyria 3.5 Music outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Google). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
