Lyria 3 Clip API
Audio model · Published on Meldport
30-second music clips with vocals and lyrics from a prompt
Generation is available through the published Meldport configurations below. Review the exact quote before submitting.
- Model ID
google-lyria-3-clip- Released
- Mar 25, 2026
- Billing unit
- generation
MODEL API
How to call the Lyria 3 Clip API
Lyria 3 Clip is available on Meldport through the audio API. Quote the request, submit a job with the audios:generate scope, poll the job until it is settled, then request a download URL. The same flow works for every published configuration.
- API scope
audios:generate- Quote endpoint
POST /v1/media/quotes- Job endpoint
POST /v1/media/jobs- Poll endpoint
GET /v1/media/jobs/{job_id}- Download endpoint
POST /v1/media/jobs/{job_id}/download-url- Published configurations
- 1
- Starting rate
- $0.048 per generation
- Workflows
- Text to audio
- Output formats
- audio/mpeg
- Output retention
- 8 days
Generation requests use a published configuration ID. The quote returns the customer price and maximum reservation before a paid job starts.
Meldport generation prices
Lyria 3 Clip
1de11ece-ab54-4251-9067-f26f0884038etext to audio
1 output
API request and parameters
Use audio:generate on your API key. This configuration runs text to audio and returns audio/mpeg.
This configuration does not require an uploaded image. Choose a different configuration ID to change the workflow or output settings. Send only options listed below.
This configuration has no additional request options.
Replace the prompt and set a unique MELDPORT_IDEMPOTENCY_KEY for this operation. The example quotes the request and then creates one paid job. Read the billing rules before accepting variable charges.
const api = "https://api.meldport.com";
const key = process.env.MELDPORT_API_KEY;
const idempotencyKey = process.env.MELDPORT_IDEMPOTENCY_KEY;
if (!key || !idempotencyKey) throw new Error("Set your API key and a unique operation ID first.");
async function post(path, body) {
const response = await fetch(api + path, {method: "POST",
headers: {Authorization: `Bearer ${key}`, "Content-Type": "application/json"},
body: JSON.stringify(body)});
const result = await response.json();
if (!response.ok) throw new Error(JSON.stringify(result.error));
return result;
}
const request = {
"configuration_id": "1de11ece-ab54-4251-9067-f26f0884038e",
"prompt": "Replace with your prompt or speech script.",
"options": {},
"input_asset_ids": []
};
const {data: quote} = await post("/v1/media/quotes", request);
console.log("Quote:", quote);
const result = await post("/v1/media/jobs", {
...request, idempotency_key: idempotencyKey,
accepted_customer_price_microusd: quote.customer_price_microusd,
accepted_maximum_reservation_microusd: quote.maximum_reservation_microusd,
...(quote.billing_policy_version === "actual-cost-v1"
? {billing_policy_version: "actual-cost-v1"} : {}),
});
console.log(result.job);
// Poll GET /v1/media/jobs/<job.id> with the same API key.
// Keep this operation ID for retries. A new ID requests another generation.Poll the returned job ID. Download only after state is succeeded and billing_state is settled. Polling and download example.
About this model
Lyria 3 Clip is Google's music generation model for 30-second tracks with vocals, lyrics, and instrumentation. It follows tempo, intensity, and lyrics from the prompt, including tags such as verse and chorus, and can take reference images to set the mood. Vocals are supported in English, German, Spanish, French, Hindi, Japanese, Korean, and Portuguese, which suits short-form video, ads, intros, and quick drafts of a musical idea.
Lyria 3 Clip API FAQ
Does Lyria 3 Clip have an API?
Yes. Meldport publishes 1 audio configuration for Lyria 3 Clip. Quote the request, then submit a job with the audios:generate scope; the same API key covers quoting, polling, and download.
How much does the Lyria 3 Clip API cost?
Published configurations start at $0.048 per generation. Quote the exact request before submitting to see the customer price and maximum reservation.
Which configuration ID should I send?
Send a published configuration ID from this page, such as 1de11ece-ab54-4251-9067-f26f0884038e. Each configuration fixes the workflow and output settings, and its price is listed on this page. Changing the configuration does not require a new API key.
How do I get an API key for Lyria 3 Clip?
Create a Meldport account, add a workspace API key with the audios:generate scope, and keep the key on your server. The API reference covers key creation and scopes.
How are Lyria 3 Clip results delivered?
POST /v1/media/jobs returns a job instead of a finished file. Poll GET /v1/media/jobs/{job_id} until state is succeeded and billing_state is settled, then request a download URL. Outputs are retained for 8 days.