Ernie Image API
Baidu's open text-to-image model with Chinese and English text
About this model
ERNIE-Image is Baidu’s open text-to-image model, built on a single-stream Diffusion Transformer with 8B DiT parameters and released under Apache 2.0. Baidu highlights accurate text rendering in Chinese and English, structured layouts and photorealistic output.
The project also ships a distilled Turbo variant that needs fewer steps, and a prompt enhancer that expands short prompts.
Pick it when your image must contain legible Chinese or English text or a structured layout. It generates from text only.
Use cases
- Posters and layouts with readable text
- Photorealistic images
- Illustrations from structured prompts
Input and output
- Input
- Text prompt
- Output
- Image
Developer
- Developer
- Baidu
- Type
- Predictions
Ernie Image request example
This model type has a request format of its own; see the API documentation for details.