infery
← All models

Hunyuan Image

hunyuan-image-v2.1-text-to-image

Image generationby Tencent

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

FieldTypeDescription
seedRandom seed for reproducible results. If None, a random seed is used.
promptrequiredstringThe text prompt to generate an image from.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
image_sizeThe desired size of the generated image.
num_imagesintegerThe number of images to generate.
use_refinerbooleanEnable the refiner model for improved image quality.
use_repromptbooleanEnable prompt enhancement for potentially better results.
output_formatstringenum: jpeg, pngThe format of the generated image.
guidance_scalenumberControls how much the model adheres to the prompt. Higher values mean stricter adherence.
negative_promptstringThe negative prompt to guide the image generation away from certain concepts.
num_inference_stepsintegerNumber of denoising steps.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled. Disabling it requires account authorization; unauthorized requests are always checked.

Output

FieldTypeDescription
seedintegerThe base seed used for the generation process.
imagesarrayA list of the generated images.