ERNIE Image
ernie-imageBaidu's ERNIE Image model for high-quality multilingual text-to-image generation with built-in prompt expansion.
- Generation
Pricing
Includes our margin. Charged per request from your balance.
Per image
- 512×512
- $0.0029
- 1024×576, 576×1024
- $0.0065
- 1024×768, 768×1024
- $0.0087
- 1280×720, 720×1280
- $0.01
- 1248×832, 832×1248
- $0.011
- 1024×1024
- $0.012
- 2048×2048
- $0.046
Details
- Provider
- Baidu
- Added
- Apr 10, 2026
Options
Parameters this model accepts.
- Resolutions
- 512x512
- 1024x1024
- 768x1024
- 576x1024
- 1024x768
- 1024x576
- 1248x832
- 832x1248
- 1280x720
- 720x1280
- 2048x2048
- Images per request
- Up to 4
Use it from the API
Replace $HIDE_API_KEY with a key from the Developers page. Base URL https://hide.st/api/v1.
curl https://hide.st/api/v1/images/generations \
-H "Authorization: Bearer $HIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ernie-image",
"prompt": "A lighthouse on a rocky coast at dusk, oil painting",
"n": 1
}'