Pricing
Compare models →Just $0.04 per clip.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
image | string | The image for generating the output. |
README
Google Lyria 3 Clip
Google Lyria 3 Clip is Google's advanced AI music generation model. Describe the sound you want in natural language — genre, tempo, instruments, mood, and style — and get a high-quality music clip in seconds. Optionally guide the output with a reference image.
Why Choose This?
- Detailed text-to-music generation
Describe your track with as much or as little detail as you want — genre, BPM, instruments, energy level, and mood all influence the output.
- Image-guided generation
Upload a reference image to inspire the musical mood and atmosphere of the clip.
- Prompt Enhancer
Built-in tool to automatically refine your music descriptions for richer results.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired music style, genre, tempo, and instruments. |
| image | No | Reference image to guide the mood and atmosphere of the generated music. |
How to Use
- Write your prompt — describe the genre, tempo, instruments, mood, and style. Use the Prompt Enhancer for better results.
- Upload a reference image (optional) — provide an image to inspire the musical atmosphere.
- Submit — generate and download your music clip.
Example Prompt
Driving techno track, heavy kick drum at 130 BPM, dark industrial synths, repetitive hypnotic bassline, Berlin underground club style, no vocals.
Pricing
Just $0.04 per clip.
Best Use Cases
- Content Creation — Generate background music for videos, podcasts, reels, and social media content.
- Game & Interactive Media — Produce atmospheric tracks and sound design for games and apps.
- Advertising — Create custom music beds for promotional videos without licensing fees.
- Creative Exploration — Rapidly prototype musical ideas and styles from text descriptions.
- Mood & Ambience — Generate focus music, relaxation tracks, or energetic workout playlists on demand.
Pro Tips
- Be specific about BPM, key instruments, and energy level for the most accurate results.
- Put exclusions in the prompt itself, for example "no vocals" or "no drums".
- Generation is not deterministic; run the same prompt again to get a new variation.
- Try pairing abstract or atmospheric images with a minimal prompt to let the image drive the mood.
- Use the Prompt Enhancer to expand a simple style reference into a detailed music description.
Notes
- Only prompt is required; image is optional.
- Please ensure your content complies with Google's usage policies.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Lyria 3 Clip Music Generation API example
The catalog lists POST https://api.opensi.com.ai/api/v3/google/lyria-3-clip/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/ptfv1xqlomwk.jpg"
}Lyria 3 Clip Music Generation API — Frequently asked questions
What is the Lyria 3 Clip Music API?
Lyria 3 Clip Music is a Google model for music generation, exposed as a REST API on OpenSIAI. Google Lyria 3 Clip generates novel music tracks from text prompts and optional image input. Produces complete songs with lyrics, descriptions, and audio output. 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 Clip 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-clip/music.
How much does Lyria 3 Clip Music cost per run or per second?
Lyria 3 Clip Music starts at $0.04 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 Clip 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-clip/music.
How long does Lyria 3 Clip Music take to generate?
Reported generation time on OpenSIAI is around 13 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 Clip 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.
