Lyria music API
Model examples:
lyria-3.5 (full song), lyria-3-clip-preview (~30s). Set generationConfig.responseModalities to ["AUDIO","TEXT"].
Host: https://api.omniall.ai · Auth Authorization: Bearer sk-....
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Google Lyria music via Gemini generateContent.
| Action | Method | Path |
|---|---|---|
| Generate | POST | /v1beta/models/{model}:generateContent |
lyria-3.5 (full song), lyria-3-clip-preview (~30s). Set generationConfig.responseModalities to ["AUDIO","TEXT"].
Host: https://api.omniall.ai · Auth Authorization: Bearer sk-....
curl -X POST "https://api.omniall.ai/v1beta/models/lyria-3-clip-preview:generateContent" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"role": "user", "parts": [{"text": "Soft piano melody for a rainy afternoon"}]}],
"generationConfig": {"responseModalities": ["AUDIO", "TEXT"]}
}'