Unified API for multiple image generation models
https://aihubmix.com/v1/models/
is the fixed prefix<model_path>
is the model path, available models:
opanai/gpt-image-1
opanai/dall-e-3
imagen-4.0-ultra-generate-preview-06-06
imagen-4.0-generate-preview-06-06
imagen-4.0-ultra-generate-exp-05-20
imagen-4.0-generate-preview-05-20
imagen-3.0-generate-002
flux-kontext-max
flux-kontext-pro
ideogram/V3
stability/Stable-Diffusion-3-5-Large
sk-***
is your API Key generated in Aihubmixgpt-4o-image-vip
and gpt-4o-image
are not supportedimagen-4.0-ultra-generate-preview-06-06
imagen-4.0-generate-preview-06-06
imagen-4.0-ultra-generate-exp-05-20
imagen-4.0-generate-preview-05-20
imagen-3.0-generate-002
flux-kontext-max
supports both text-to-image and image-to-image generation; flux-Kontext-pro
only supports text-to-image.aspect_ratio
range is from 21:9
to 9:21
.safety_tolerance
parameter ranges from 0
(strictest) to 6
(most lenient). For image-to-image tasks, the max allowed is 2
.tasks/
with the taskId from Step 1: