Gemini generateContent
Haimaker accepts the Gemini generateContent protocol at POST /v1beta/models/{model}:generateContent.
The model name is part of the URL. Preserve the provider prefix and URL-encode it when constructing the path directly; for example, google/gemini-2.5-flash becomes google%2Fgemini-2.5-flash.
curl "https://api.haimaker.ai/v1beta/models/google%2Fgemini-2.5-flash:generateContent" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"contents": [{
"role": "user",
"parts": [{"text": "Hello!"}]
}]
}'
Use GET /public/model_hub for current model names and capabilities. The sibling streamGenerateContent route is available for streaming Gemini-format responses.