ERNIE-Image is an open text-to-image model from the ERNIE-Image team at Baidu. It is built on a single-stream Diffusion Transformer (DiT) with a lightweight Prompt Enhancer that expands brief user inputs into richer structured descriptions. With only 8B DiT parameters, it ranks among the best open-weight text-to-image models and does well at complex instruction following, text rendering, and structured image generation.
$0.015
Share of requests served without a server error. Client errors (4xx) do not count.
Works with the OpenAI SDK pointed at our base URL. Every parameter is in the API reference.
Images generated per day on NagaAI, counted since November 2026.
ERNIE-Image is an open text-to-image model from the ERNIE-Image team at Baidu. It is built on a single-stream Diffusion Transformer (DiT) with a lightweight Prompt Enhancer that expands brief user inputs into richer structured descriptions.
On NagaAI, ERNIE-Image costs about $0.015 per image. You pay only for what you use, with no subscription.
It takes text as input and returns images.
Create an API key, copy the model ID from the top of this page and send requests with the OpenAI SDK pointed at NagaAI. The API section on this page has a ready example.
Not enough activity data to display a chart