30 second duration clips are priced at $0.04 per clip. Lyria 3 is Google's family of music generation models, available through the Gemini API. With Lyria 3, you can generate...
Reroute speaks the OpenAI Chat Completions format. Point any OpenAI SDK at https://www.reroute.wtf/api/v1 and use google/lyria-3-clip-preview as the model.
curl https://www.reroute.wtf/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $REROUTE_API_KEY" \
-d '{
"model": "google/lyria-3-clip-preview",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'Set stream: true to receive server-sent events. The final chunk carries usage and cost.
curl -N https://www.reroute.wtf/api/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $REROUTE_API_KEY" \
-d '{ "model": "google/lyria-3-clip-preview", "stream": true,
"messages": [{ "role": "user", "content": "Count to five" }] }'