PeumeAPI

AI generation · Google

Google: Lyria 3.5

Compose a full song (about three minutes) from a text prompt with Lyria 3.5 on Google's own API; the MP3 returns inline as base64 with its lyrics or section markers.

$0.12 per lookup, only when found

Call it

curl https://api.peume.com/v1/call/google-lyria-3-5 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "lyria-3.5",
    "contents": [
      {
        "parts": [
          {
            "text": "An upbeat lo-fi hip hop instrumental with warm piano chords."
          }
        ]
      }
    ]
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-lyria-3-5.

Parameters

modelRequiredstring

's key runs only lyria-3.5; your own key can name another model.

Example: lyria-3.5

contentsRequiredarray

One user turn: {parts: [{text: prompt}]}. Describe genre, mood, instruments and tempo; ask for an instrumental or supply lyrics in the prompt. The answer carries an MP3 part (inlineData, audio/mpeg) and a text part with the lyrics or section markers.

Example: [{"parts":[{"text":"An upbeat lo-fi hip hop instrumental with warm piano chords."}]}]

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.