Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过 Gemini generateContent 调用 Google Lyria 音乐。
POST
/v1beta/models/{model}:generateContent
lyria-3.5
lyria-3-clip-preview
generationConfig.responseModalities
["AUDIO","TEXT"]
https://api.omniall.ai
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": "雨天午后的轻柔钢琴旋律"}]}], "generationConfig": {"responseModalities": ["AUDIO", "TEXT"]} }'