Ernie Image
High-quality text-to-image model by Baidu. Supports English, Chinese, and Japanese prompts with built-in prompt expansion.
Input
Fields marked * are required. Review the price before generating.
API code for this input
Complete the required fields and fix input errors to see API code.
How to use Ernie Image
Getting started
Draft scenes in English, Chinese or Japanese, with a negative prompt for unwanted details.
Review your result
Check whether expansion changed the intended subject, and review any generated lettering.
Inputs and settings
Start with one image. Adjust num_inference_steps within 1–100 and guidance_scale within 1–20 only after reviewing composition.
Toggle enable_prompt_expansion to compare interpretation. Keep seed for comparisons and choose JPEG or PNG output.