ERNIE-Image-Turbo is an open text-to-image generation model developed by the ERNIE-Image team at Baidu. It is the distilled release of ERNIE-Image, built on the same single-stream Diffusion Transformer (DiT) family and designed for fast generation with strong fidelity in only 8 inference steps. The model retains strong controllability in practical generation scenarios where accurate content realization matters as much as aesthetics. In particular, ERNIE-Image-Turbo remains strong on complex instruction following, text rendering, and structured image generation, making it well suited for posters, comics, multi-panel layouts, and other content creation tasks that require both visual quality and efficiency. It also supports a broad range of visual styles, including realistic photography, design-oriented imagery, and stylized aesthetic outputs.
Highlights:
Fast and efficient
: As the distilled checkpoint of ERNIE-Image, ERNIE-Image-Turbo delivers strong generation quality with only 8 inference steps, making it suitable for latency-sensitive applications.
Text rendering
: ERNIE-Image-Turbo performs well on dense, long-form, and layout-sensitive text, making it a strong choice for posters, infographics, UI-like images, and other text-heavy visual content.
Instruction following
: The model is able to follow complex prompts involving multiple objects, detailed relationships, and knowledge-intensive descriptions with strong reliability.
Structured generation
: ERNIE-Image-Turbo is effective for structured visual tasks such as posters, comics, storyboards, and multi-panel compositions, where layout and organization are critical.
Style coverage
: In addition to clean and readable design-oriented outputs, the model also supports realistic photography and distinctive stylized aesthetics, including softer and more cinematic visual tones.
Practical deployment
: Thanks to its compact size, ERNIE-Image-Turbo can run on consumer GPUs with 24G VRAM, which lowers the barrier for research, downstream use, and model adaptation.
Released Versions
ERNIE-Image
: Our
SFT model
, delivers stronger general-purpose capability and instruction fidelity in typically
50 inference steps
.
ERNIE-Image-Turbo
: Our
Turbo model
, optimized by
DMD and RL
, achieves faster speed and higher aesthetics in only
8 inference steps
.
import torch
from diffusers import ErnieImagePipeline
pipe = ErnieImagePipeline.from_pretrained(
"Baidu/ERNIE-Image-Turbo",
torch_dtype=torch.bfloat16,
).to("cuda")
image = pipe(
prompt="This is a photograph depicting an urban street scene. Shot at eye level, it shows a covered pedestrian or commercial street. Slightly below the center of the frame, a cyclist rides away from the camera toward the background, appearing as a dark silhouette against backlighting with indistinct details. The ground is paved with regular square tiles, bisected by a prominent tactile paving strip running through the scene, whose raised textures are clearly visible under the light. Light streams in diagonally from the right side of the frame, creating a strong backlight effect with a distinct Tyndall effect—visible light beams illuminating dust or vapor in the air and casting long shadows across the street. Several pedestrians appear on the left side and in the distance, some with their backs to the camera and others walking sideways, all rendered as silhouettes or semi-silhouettes. The overall color palette is warm, dominated by golden yellows and dark browns, evoking the atmosphere of dusk or early morning.",
height=1264,
width=848,
num_inference_steps=8,
guidance_scale=1.0,
use_pe=True# use prompt enhancer
).images[0]
image.save("output.png")
curl -X POST http://localhost:30000/generate \
-H "Content-Type: application/json" \
-d '{ "prompt": "This is a photograph depicting an urban street scene. Shot at eye level, it shows a covered pedestrian or commercial street. Slightly below the center of the frame, a cyclist rides away from the camera toward the background, appearing as a dark silhouette against backlighting with indistinct details. The ground is paved with regular square tiles, bisected by a prominent tactile paving strip running through the scene, whose raised textures are clearly visible under the light. Light streams in diagonally from the right side of the frame, creating a strong backlight effect with a distinct Tyndall effect—visible light beams illuminating dust or vapor in the air and casting long shadows across the street. Several pedestrians appear on the left side and in the distance, some with their backs to the camera and others walking sideways, all rendered as silhouettes or semi-silhouettes. The overall color palette is warm, dominated by golden yellows and dark browns, evoking the atmosphere of dusk or early morning.", "height": 1264, "width": 848, "num_inference_steps": 8, "guidance_scale": 1.0, "use_pe": true }' \
--output output.png
Runs of baidu ERNIE-Image-Turbo on huggingface.co
3.6K
Total runs
23
24-hour runs
-55
3-day runs
-349
7-day runs
335
30-day runs
More Information About ERNIE-Image-Turbo huggingface.co Model
ERNIE-Image-Turbo huggingface.co is an AI model on huggingface.co that provides ERNIE-Image-Turbo's model effect (), which can be used instantly with this baidu ERNIE-Image-Turbo model. huggingface.co supports a free trial of the ERNIE-Image-Turbo model, and also provides paid use of the ERNIE-Image-Turbo. Support call ERNIE-Image-Turbo model through api, including Node.js, Python, http.
ERNIE-Image-Turbo huggingface.co is an online trial and call api platform, which integrates ERNIE-Image-Turbo's modeling effects, including api services, and provides a free online trial of ERNIE-Image-Turbo, you can try ERNIE-Image-Turbo online for free by clicking the link below.
baidu ERNIE-Image-Turbo online free url in huggingface.co:
ERNIE-Image-Turbo is an open source model from GitHub that offers a free installation service, and any user can find ERNIE-Image-Turbo on GitHub to install. At the same time, huggingface.co provides the effect of ERNIE-Image-Turbo install, users can directly use ERNIE-Image-Turbo installed effect in huggingface.co for debugging and trial. It also supports api for free installation.