Generate images using Google Gemini models with support for multiple aspect ratios and resolutions up to 4K
https://wisdom-gate.juheapi.com (replace generativelanguage.googleapis.com)$GEMINI_API_KEY with your $WISDOM_GATE_KEYgemini-3-pro-image-preview supports using multiple images as inputs.
You can mix up to 14 reference images in a single request:
openapi.json. Scroll down to see the interactive API reference.gemini-3-pro-image-preview: Supports up to 4K resolution, multiple aspect ratiosgemini-2.5-flash-image: Supports 1K and 2K resolutions, flexible aspect ratios1:1 - Square3:2 - Landscape2:3 - Portrait3:4 - Portrait4:3 - Landscape4:5 - Portrait5:4 - Landscape9:16 - Vertical (mobile)16:9 - Horizontal (widescreen)21:9 - Ultra-wide"responseModalities": ["IMAGE"] (without TEXT):
inlineData field:
gemini-2.5-flash-image is more economical than gemini-3-pro-image-previewusageMetadata field in responsesBearer token authentication. Include your API key in the Authorization header as 'Bearer YOUR_API_KEY'
The model identifier (e.g., 'gemini-pro', 'gemini-pro-vision')
The operation to perform. Use 'generateContent' for standard requests, or 'streamGenerateContent?alt=sse' for streaming responses with Server-Sent Events format.