Model Details
HiDream I1 Full Image-to-Image transforms an existing image with a text prompt. Give it a source image and a description of the change you want, and it re-renders the image toward that prompt while preserving the original composition and layout. It is the full-quality variant of HiDream.ai's 17-billion-parameter open image foundation model, running at the maximum step count for detailed, coherent results. A `strength` control sets how far the output moves from the source: low values make subtle edits, high values allow a near-complete reinterpretation.
## Best for - Restyling a photo into a new art style, mood, or lighting from a prompt - Reimagining a scene (night, seasons, weather) while keeping its structure - Generating prompt-guided variations of a reference image - Turning a rough or plain image into a polished, detailed render - Applying a custom LoRA to steer style across an existing image
## Choose another model when - You have no source image and want to generate from scratch - use the text-to-image variant `hidream/i1-full` - You need precise, masked local edits or clean object removal - use a dedicated inpainting or editing model - You need the fastest, cheapest draft - use a speed-optimized image model like `hidream/i1-fast` - You need video - use an image-to-video model
## Tips - Set `strength` (0-1, default 0.75): lower stays closer to the source, higher transforms more toward the prompt - Omit `image_size` to keep the source image's dimensions; pass a preset (`square_hd`, `landscape_16_9`, ...) or a custom `{width, height}` object to resize. Billing is per output megapixel, so larger images cost more - Write specific prompts and use `negative_prompt` to exclude unwanted elements - Each image in `num_images` (1-4) is billed separately
## Advanced Configuration - `loras`: attach one or more LoRA weights to bias style or subject. Each entry takes a `path` (a URL or HuggingFace path to the weights) and an optional `scale` (0-4, default 1); configured via the API.
```js import { modelrunner } from "@modelrunner/client";
const result = await modelrunner.subscribe("hidream/i1-full/image-to-image", { input: { prompt: "the same cobblestone street at night, glowing paper lanterns overhead, cinematic mood", image_url: "https://media.modelrunner.ai/aeMJZC3JHLbOXs7PooU6f.jpeg", strength: 0.75, output_format: "jpeg", }, }); ```




