Gabrielle gemini-3.1-flash-lite-image image generation (Interactions)
POST/v1beta/interactions
Create a Gemini image interaction for gemini-3.1-flash-lite-image with the official Interactions API. The gateway forwards the original JSON / SSE and does not convert to Chat Completions or generateContent. POST /v1/interactions behaves the same and keeps the client-selected version.
See the Interactions API overview for auth, streaming events, billing, and differences from calling Google directly.
Google's published Interactions model list may not include this image variant. The gateway still forwards the request; if upstream rejects it, use native generateContent.
Request
Responses
- 200
- 400
- 401
- 429
Interaction created. Non-stream JSON is the official Interaction object. Stream responses are text/event-stream.
Invalid request parameters
Unauthorized
Rate limit exceeded