Back to Music & sound
fal.ai·Music & sound

Lyria2

/fal-ai/lyria2async$0.15 / 30 seconds of audio

Lyria 2 is Google's latest music generation model, you can generate any type of music with this model. Returns hosted file URLs (download promptly; fal keeps them for a limited time). Billed per 30 seconds of audio.

Charged per 30 seconds of audio produced; a call that produces nothing is charged one unit.

Input
  • seedany

    A seed for deterministic generation. If provided, the model will attempt to produce the same audio given the same prompt and other parameters.

  • negative_promptstring

    A description of what to exclude from the generated audio (default "low quality")

  • promptstringrequired

    The text prompt describing the music you want to generate

Run it

curl -s https://sooma.dev/v1/run \ -H "Authorization: Bearer $SOOMA_API_KEY" \ -H "Content-Type: application/json" \ -d '{"provider":"fal","endpoint":"/fal-ai/lyria2","input":{"prompt":"A cinematic photo of a lighthouse at dawn, soft light"}}'

Or ask your agent: it will call inspect for this schema and run it over MCP.