
ERNIE-Image
ERNIE-Image from Baidu: an 8B text-to-image model strong on posters, dense text and multi-panel layouts in English and…
Fine-tunableKANDINSKY_2_2Kandinsky 2.2: a fast text-to-image model for illustrations and photos, with negative prompts and adjustable guidance. It does not write legible text. It can learn your own subject or style from 5 to 200 photos.

Kandinsky 2.2 by Sber AI and AI Forever (kandinsky-community/kandinsky-2-2-decoder and kandinsky-community/kandinsky-2-2-prior, Apache-2.0), with the OpenCLIP ViT-bigG-14 text and image encoders by LAION (MIT).
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
prompt | text | Yes | — | What the image should show. 1–2000 characters |
seed | integer | No | — | The same seed and inputs give the same image. Leave empty for a random seed. 0–2147483647 |
guidance_scale | number | No | 4.0 | How closely the image follows the prompt and avoids the negative prompt. The lowest value turns guidance off and takes half the time; high values can look overdone. 1–10 |
negative_prompt | text | No | — | What the image should avoid, e.g. blurry, low quality. It takes effect while guidance is on. Max 2000 characters |
num_inference_steps | integer | No | 50 | Denoising steps; more steps take longer. 1–50 |
height | integer | No | 768 | Image height in pixels, a multiple of 64. 512–1024 |
width | integer | No | 768 | Image width in pixels, a multiple of 64. 512–1024 |
Output. Returns PNG image: The generated image (PNG).
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=KANDINSKY_2_2" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "example",
"guidance_scale": 4.0,
"height": 768,
"num_inference_steps": 50,
"width": 768
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"KANDINSKY_2_2",
{
"prompt": "example",
"guidance_scale": 4.0,
"height": 768,
"num_inference_steps": 50,
"width": 768
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune Kandinsky 2.2 on your own data and run the tuned model through the same API. Dataset: 5 to 200 images of one subject or style (PNG, JPEG or WebP, up to 20 MB each and 2 GB in all).
The steps are in the docs.
Price per image: 1.019 credits ($0.01019). The price is shown again before every run; all prices are on the pricing page.

ERNIE-Image from Baidu: an 8B text-to-image model strong on posters, dense text and multi-panel layouts in English and…
Fine-tunable
LongCat-Image from Meituan: a 6B text-to-image model for photoreal scenes with legible Chinese and English text, with…
Fine-tunable
PRX Pixel from Photoroom: a 7B text-to-image model that paints directly in pixels (no latent decoder), with negative…
Fine-tunable
Qwen-Image-2512 from Alibaba's Qwen team: a 20B text-to-image model with accurate English and Chinese text rendering…
Fine-tunable
Z-Image from Alibaba's Tongyi Lab: the full 6B text-to-image model, with negative prompts and adjustable guidance for…
Fine-tunable
GLM-Image from Z.ai: a 16B model that plans the picture with a language model, then draws it with a diffusion decoder…
Fine-tunable