Skip to content
Docs/Imagesv1.2.0

Images ​

Generate images from text, or edit with references.

10 public routes2 operationsOpenAPI 1.2.0 ↗

Public models and API entry points

Gemini / Banana 3

GPT Image 3

Own models 4

Models and fixed quality ​

ModelFixed quality
gemini-3.1-flash-lite-imagestandard; 1K only
gemini-3.1-flash-imagestandard
gemini-3-pro-imagehd
gpt-image-2.5-faststandard
gpt-image-2.5-prohd
gpt-image-2hd
image-basicstandard
image-faststandard
image-prohd
image-creativehd

These are public product route names. Names do not guarantee an original-provider connection or a precise model snapshot. gpt-image-2.5-fast and gpt-image-2.5-pro are site product names, not verified official OpenAI model IDs.

Parameters and output dimensions ​

model and a non-blank prompt are required. Prompts accept at most 4096 Unicode characters. n is always 1; enhance defaults to true. quality may be omitted, auto, or the fixed value for that model. low, medium, and high are rejected.

resolution accepts 1k, 1080p, 2k, 4k, case-insensitively; default 1K. Lite rejects 2K/4K before submission. aspect_ratio defaults to 1:1 and accepts 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9.

size accepts auto or these tier/ratio presets:

TierPresets
1K1024x1024, 1536x1024, 1024x1536, 1792x1024, 1024x1792
2K2048x2048, 2048x1152, 1152x2048
4K4096x4096, 4096x2304, 2304x4096

Explicit size, resolution, and aspect_ratio must agree. A preset selects a tier and ratio, not a guaranteed exact pixel resize. Recorded square 4K results: Flash/Pro returned 4096×4096; the three GPT Image routes and Basic returned 2880×2880. Recorded 4K 16:9 results for the GPT routes and Basic were 3840×2160. Basic square 1K/2K returned 1440×1440 / 1920×1920. Read dimensions from the actual output.

image_url accepts one HTTP(S) URL or Base64 image data URL; reference_images accepts a non-empty array of those sources. They are mutually exclusive. These, resolution, aspect_ratio, enhance, and delivery are site extensions, not universally supported original-provider fields.

Unknown fields are rejected. Masks, transparent-background control, output format/compression control, moderation, input fidelity, seed, style, and user fields are unavailable.

Full usage guide and limits →