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
| Action | Availability |
|---|---|
generateContent | Supported |
streamGenerateContent | Supported |
predictLongRunning | Priced Imagen/Veo flows |
| Operation polling | Owner-bound after an admitted long-running start |
| Signed file retrieval | Supported 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.