curl "https://api.arouter.ai/v1beta/models/gemini-2.0-flash:generateContent?key=lr_live_xxxx" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Hello!"}]}]
}'
Gemini-compatible generateContent endpoint.
curl "https://api.arouter.ai/v1beta/models/gemini-2.0-flash:generateContent?key=lr_live_xxxx" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Hello!"}]}]
}'
curl "https://api.arouter.ai/v1beta/models/gemini-2.0-flash:generateContent?key=lr_live_xxxx" \
-H "Content-Type: application/json" \
-d '{
"contents": [{"parts": [{"text": "Hello!"}]}]
}'