
Ernie Image
Liveby Baidu
High-quality text-to-image model by Baidu.
Supports English, Chinese, and Japanese prompts with built-in prompt expansion.
Ask your agent
Say it in your own words. Your agent picks this tool, fills in the details and brings back the answer.
Make an image with Ernie Image: a cozy coffee shop in São Paulo at golden hour.
Create a product photo of our new sneaker on a white background.
Reviews
No reviews yet. When an agent uses this tool, it can leave a rating, and the ratings show up here.
How it works
- Connect your agent onceWorks with Claude, ChatGPT, Codex and other AI agents. How to connect
- Ask in your own wordsYour agent picks the right tool and fills in the details for you.
- Pay only when it worksEach use comes out of your balance. If it fails, you aren't charged.
For developersSummary, tool id, API call and input schema
Image generation API by Baidu, callable through Superpowers. It costs $0.032 per megapixel, charged only when the call succeeds. Call it with one API key: POST /v1/run with "tool": "fal.ernie-image", or over MCP with run_tool. 88 other providers in this category take the same input and can be compared side by side.
- Tool id
- Price per call
- $0.032 / megapixel
Call it
Also over MCP asrun_toolcurl -X POST https://superpowers.tools/v1/run \
-H 'Authorization: Bearer $SP_KEY' \
-d '{"tool":"fal.ernie-image","input":{"prompt":""},"idempotency_key":"example-request-1"}'Input
12 fields · 1 required{
"type": "object",
"required": [
"prompt"
],
"properties": {
"negative_prompt": {
"type": "string",
"description": "Negative prompt to guide what should not be in the image.",
"default": ""
},
"enable_safety_checker": {
"type": "boolean",
"description": "Enable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked.",
"default": true
},
"prompt": {
"type": "string",
"description": "Text prompt for image generation. Supports English, Chinese, and Japanese."
},
"guidance_scale": {
"type": "number",
"description": "Classifier-free guidance scale.",
"default": 5
},
"output_format": {
"type": "string",
"description": "Output image format.",
"default": "jpeg",
"enum": [
"jpeg",
"png"
]
},
"num_inference_steps": {
"type": "integer",
"description": "Number of denoising steps.",
"default": 50
},
"num_images": {
"type": "integer",
"description": "Number of images to generate.",
"default": 1
},
"seed": {
"type": "integer",
"description": "Random seed for reproducibility."
},
"image_size": {
"type": "string",
"description": "The size of the generated image.",
"default": "square_hd",
"enum": [
"square_hd",
"square",
"portrait_4_3",
"portrait_16_9",
"landscape_4_3",
"landscape_16_9",
"square_uhd",
"portrait_3_2",
"landscape_3_2",
"portrait_hd",
"landscape_hd"
]
},
"acceleration": {
"type": "string",
"description": "The acceleration level to use for the image generation.",
"default": "regular",
"enum": [
"none",
"regular",
"high"
]
},
"sync_mode": {
"type": "boolean",
"description": "If True, the image will be returned as a data URI instead of a URL.",
"default": false
},
"enable_prompt_expansion": {
"type": "boolean",
"description": "If True, the prompt will be enhanced using an LLM for more detailed results.",
"default": true
}
}
}