google-ai_music-gen_lyria-3-clip $0.05 per call

Google: Lyria 3 Clip. Compose a 30-second music clip from a text prompt with Lyria 3 Clip on Google's own API; the MP3 returns inline as base64. (Google AI (Gemini API) · Music generation)

For AI agents: call google-ai_music-gen_lyria-3-clip
POST https://toll402.dev/v1/p/google-ai.music-gen.lyria-3-clip
{
 "contents": [
  {
   "parts": [
    {
     "text": "An upbeat lo-fi hip hop instrumental with warm piano chords and soft vinyl crackle."
    }
   ]
  }
 ]
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "contents": {
   "type": "array",
   "description": "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 sectio",
   "examples": [
    [
     {
      "parts": [
       {
        "text": "An upbeat lo-fi hip hop instrumental with warm piano chords."
       }
      ]
     }
    ]
   ]
  }
 },
 "additionalProperties": true,
 "required": [
  "contents"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI