Dashboard
Model Gateway

Google Gemini

Gemini SDK-compatible requests and supported actions.

Point the Google Gen AI SDK or Gemini REST request athttps://api.agihalo.com. Use the HALO client key as the Gemini API key.

#Make a request

curl "https://api.agihalo.com/v1beta/models/gemini-3.5-flash:generateContent" \
  -H "x-goog-api-key: $HALO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{
      "role": "user",
      "parts": [{"text": "Hello from HALO"}]
    }]
  }'

#Supported actions

ActionAvailability
generateContentSupported
streamGenerateContentSupported
predictLongRunningPriced Imagen/Veo flows
Operation pollingOwner-bound after an admitted long-running start
Signed file retrievalSupported through capability-bound file routes

#Long-running media

HALO reserves the maximum priced amount before releasing an Imagen or Veo operation. The operation is bound to the initiating user, client key, model, and upstream key revision. Polling uses that original binding.

#Restrictions

  • Model listing and arbitrary Gemini resources are unavailable.
  • Music generation requests are blocked.
  • Billing-affecting media fields must use their canonical top-level parameter paths.
  • Unknown shared-key resources, embedding/count/predict actions, and unsupported cached or URI context fail closed.