← All models
High-quality text-to-image model by Baidu. Supports English, Chinese, and Japanese prompts with built-in prompt expansion.
images
Details
- Accepts
- text
Pricing
- Price
- 4.38 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducibility. |
| loras | array | |
| promptrequired | string | Text prompt for image generation. Supports English, Chinese, and Japanese. |
| sync_mode | boolean | If True, the image will be returned as a data URI instead of a URL. |
| image_size | — | The size of the generated image. |
| num_images | integer | Number of images to generate. |
| acceleration | stringenum: none, regular, high | The acceleration level to use for the image generation. |
| output_format | stringenum: jpeg, png | Output image format. |
| guidance_scale | number | Classifier-free guidance scale. |
| negative_prompt | string | Negative prompt to guide what should not be in the image. |
| num_inference_steps | integer | Number of denoising steps. |
| enable_safety_checker | boolean | Enable NSFW safety checking on the generated images. Disabling it requires account authorization; unauthorized requests are always checked. |
| enable_prompt_expansion | boolean | If True, the prompt will be enhanced using an LLM for more detailed results. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | Seed used for generation. |
| images | array | List of generated images. |
| prompt | string | The prompt used for generating the image. |
| timings | object | Timing information. |