← All models
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
| Field | Type | Description |
|---|---|---|
| seed | — | Random seed for reproducible generation. |
| promptrequired | string | Text prompt for image generation, editing, or subject-driven personalization. |
| 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 | — | Requested output image size. Dimensions are rounded down to a multiple of 32, up to about 2048x2048 pixels. |
| num_images | integer | Number of images to generate. |
| output_format | stringenum: jpeg, png, webp | The format of the generated image. |
| guidance_scale | number | Classifier-free guidance scale. The dev model uses 0.0 by default. |
| num_inference_steps | integer | Number of denoising steps. The dev model is distilled for 28 steps. |
| keep_original_aspect | boolean | When exactly one reference image is provided, preserve its aspect ratio for the output image. |
| reference_image_urls | array | Optional reference images. Use none for text-to-image, one for image editing, or multiple for subject-driven personalization. |
| enable_safety_checker | boolean | Enable the safety checker on generated images. |
Output
| Field | Type | Description |
|---|---|---|
| seed | integer | The seed used for generation. |
| images | array | Generated images. |
| prompt | string | The prompt used for generation. |
| timings | object | Generation timings. |
| has_nsfw_concepts | array | Whether each generated image was flagged by the safety checker. |