Audio model API

Lyria 3 Pro Preview API

google/lyria-3-pro-preview is an advanced AI music generation model developed by Google DeepMind, designed to create high-quality, structured, and expressive music tracks from text, image, or multimodal prompts. As an enhanced version of Lyria 3, the Pro preview introduces longer compositions, improved musical coherence, and greater control over song structure—making it suitable for both creative experimentation and professional audio production.

Model id
lyria-3-pro-preview
Takes
Text (required)
Makes
Audio
Endpoint
POST /api/v1/run
Made by
Google
Mode
Synchronous

Call Lyria 3 Pro Preview

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model lyria-3-pro-preview

POST /api/v1/runasync · poll /v1/jobs/:id

curl https://payload.rentprompts.com/api/v1/run \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "lyria-3-pro-preview",
  "prompt": "A calm lo-fi beat with soft piano"
}'

# Async models answer HTTP 202 with a job. Poll it until status is
# "succeeded" (output.url / output.urls) or "failed" (error):
curl https://payload.rentprompts.com/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer rp_live_YOUR_KEY"

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Lyria 3 Pro Preview's published price (9 J / request). You pay only for successful results, from your Joule balance.
  • 1 request9 Joules
  • 10 requests90 Joules

Send requests to POST /api/v1/run. Lyria 3 Pro Preview answers synchronously: the result comes back in the response to the same request.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).

This model has no extra settings. Send the standard fields shown in the example.

Lyria 3 Pro Preview API Pricing | RentPrompts