← All models
Use the amazing capabilities of hunyuan image 2.1 to generate images that express the feelings of your text.
images
Details
- Accepts
- text
Pricing
- Price
- 12.5 cr / megapixel
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducible results. If None, a random seed is used. |
| promptrequired | string | The text prompt to generate an image from. |
| sync_mode | boolean | If `True`, the media will be returned as a data URI and the output data won't be available in the request history. |
| image_size | — | The desired size of the generated image. |
| num_images | integer | The number of images to generate. |
| use_refiner | boolean | Enable the refiner model for improved image quality. |
| use_reprompt | boolean | Enable prompt enhancement for potentially better results. |
| output_format | stringenum: jpeg, png | The format of the generated image. |
| guidance_scale | number | Controls how much the model adheres to the prompt. Higher values mean stricter adherence. |
| negative_prompt | string | The negative prompt to guide the image generation away from certain concepts. |
| num_inference_steps | integer | Number of denoising steps. |
| enable_safety_checker | boolean | If set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The base seed used for the generation process. |
| images | array | A list of the generated images. |