GizStackGizStackGizStack
Sign inStart free

← All models

BAERNIE-Image

Baidu · Image · about $0.034 a request · 1 route

ERNIE-Image is Baidu's 8B text-to-image model built on a single-stream Diffusion Transformer architecture. It is designed for strong prompt adherence, reliable text rendering, and structured visual generation, making it well suited to posters, comics, storyboards, multi-panel layouts, and other workflows where content accuracy and composition matter as much as aesthetics. The standard model emphasizes stronger general-purpose capability and instruction fidelity, typically running at around 50 inference steps.

Model ID baidu:ernie-image@0

Quick try

Quickstart · API, SDK & MCP

sh
curl https://gizstack.com/v1/generations \
  -H "Authorization: Bearer $GIZSTACK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "baidu:ernie-image@0", "prompt": "A cinematic shot of a sunlit studio", "wait": 30}'
python
from openai import OpenAI

client = OpenAI(base_url="https://gizstack.com/v1", api_key="$GIZSTACK_API_KEY")
res = client.images.generate(model="baidu:ernie-image@0", prompt="A sunlit studio")
print(res.data[0].url)
sh
claude mcp add --transport http gizstack https://gizstack.com/v1/mcp \
  --header "Authorization: Bearer $GIZSTACK_API_KEY"

Request fields

FieldValuesDefault
promptlong
sizetext
widthnumber
heightnumber
seednumber
numberResultsnumber
outputFormattext
outputQualitynumber