infery
← All models

Hidream O1 Image

hidream-o1-image-dev

Image generationby Hidream

Unified image generation with HiDream-O1-Image. Create, edit, and personalize high-resolution images up to 2K—single native model handles text-to-image, editing, and custom subjects without external components.

images

Details

Accepts
text + image

Pricing

Price
0.625 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seedRandom seed for reproducible generation.
promptrequiredstringText prompt for image generation, editing, or subject-driven personalization.
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_sizeRequested output image size. Dimensions are rounded down to a multiple of 32, up to about 2048x2048 pixels.
num_imagesintegerNumber of images to generate.
output_formatstringenum: jpeg, png, webpThe format of the generated image.
guidance_scalenumberClassifier-free guidance scale. The dev model uses 0.0 by default.
num_inference_stepsintegerNumber of denoising steps. The dev model is distilled for 28 steps.
keep_original_aspectbooleanWhen exactly one reference image is provided, preserve its aspect ratio for the output image.
reference_image_urlsarrayOptional reference images. Use none for text-to-image, one for image editing, or multiple for subject-driven personalization.
enable_safety_checkerbooleanEnable the safety checker on generated images.

Output

FieldTypeDescription
seedintegerThe seed used for generation.
imagesarrayGenerated images.
promptstringThe prompt used for generation.
timingsobjectGeneration timings.
has_nsfw_conceptsarrayWhether each generated image was flagged by the safety checker.