Skip to main content
Gemini 3.1 Flash Lite Image is available through the native image API described below. Uses the native Gemini Content/Part structure. Request IMAGE output and read the returned image parts rather than treating the response as a text-only chat completion. POST https://api.mixroute.ai/v1/models/gemini-3.1-flash-lite-image:generateContent

Examples

Use your MixRoute key in the MIXROUTE_API_KEY environment variable. Requests use Authorization: Bearer .... Replace source-image placeholders with accessible images or local files before editing.

Python