How to Use HiDream O1 Image Dev Edit in n8n
HiDream O1 Image Dev Edit changes existing images or places referenced subjects in new scenes. Unlike HiDream O1 Image Dev, it requires reference images, making it a fit for revising artwork and reusing established characters.
Prompts to try with HiDream O1 Image Dev Edit in n8n
Copy an example into n8n, or ask in your own words.
Each Friday, use HiDream O1 Image Dev Edit with the approved product reference. Create a new tabletop scene, preserve the product's visible shape and markings, and save the result for review.
Each month, use HiDream O1 Image Dev Edit with the approved mascot references to create a four-panel seasonal storyboard. Describe one action per panel and keep the result within 2048 × 2048 pixels.
When a poster revision is approved, use HiDream O1 Image Dev Edit on the supplied artwork. Change only the requested wording, preserve the illustration and reading order, and hold the result for review.
Every Monday at 9am: remove the background from the photo I attach with HiDream O1 Image Dev Edit and give me a transparent PNG.
Use HiDream O1 Image Dev Edit to clean up these product shots so they sit on pure white.
How to set up HiDream O1 Image Dev Edit in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run HiDream O1 Image Dev Edit in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds HiDream O1 Image Dev Edit, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run HiDream O1 Image Dev Edit
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "fal-ai/hidream-o1-image/dev/edit", "input": { "prompt": "A cinematic product photo of a ceramic mug on a marble counter, soft window light, shallow depth of field.", "reference_image_urls": [ "<reference_image_urls>" ] } }'
Then paste one of the prompts above: n8n finds HiDream O1 Image Dev Edit on Spiral, shows the price and runs it.
HiDream O1 Image Dev Edit providers and prices
Spiral runs HiDream O1 Image Dev Edit through fal. Open a card for today's price, with every fee included.
$0.0065 per megapixel. image_size presets count as 1 MP; custom sizes round up to whole megapixels. Default 4 MP per image. Billed on num_images, default 1.
Settings you can ask for
HiDream O1 Image Dev Edit works from your prompt and reference image URLs. Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of inference steps | 1 to 28 | 28 | Number of denoising steps. The dev model is distilled for 28 steps. |
| Guidance scale | 0 to 20 | 0 | Classifier-free guidance scale. The dev model uses 0.0 by default. |
| Seed | a whole number | Random seed for reproducible generation. | |
| Number of images | 1 to 4 | 1 | Number of images to generate. |
| Output format | jpeg, png, or webp | png | The format of the generated image. |
| Keep original aspect | on or off | off | When exactly one reference image is provided, preserve its aspect ratio for the output image. |
Every API field of Hidream O1 Image is on its tool page: open its card above.
What can you do with HiDream O1 Image Dev Edit in n8n?
Produce recurring artwork drafts from approved briefs and reference images. A scheduled agent can keep composition instructions consistent and collect results for review.
Product scene concepts
Place a referenced product in a new setting, such as a ceramic mug on a breakfast table. Specify the product's position and which visible details to preserve.
Character scene illustrations
Use character references to illustrate a new scene. Describe the character's appearance, action, and position explicitly, then review identity consistency.
Poster revisions
Revise existing poster artwork with supplied headlines and a planned reading order. Identify the exact text and its intended location.
Storyboard sheets
Turn a referenced subject and scene brief into a storyboard image containing multiple panels. Describe each panel's action and composition separately.
Object replacements
Replace an object in an existing image through a written instruction. State the replacement clearly and identify the surrounding details to preserve.
Campaign scene exploration
Reuse referenced subjects across proposed campaign scenes. Compare backgrounds and compositions while keeping the subject description consistent.
More on HiDream O1 Image Dev Edit and n8n
Overview
HiDream O1 Image Dev Edit in other agents
Questions about HiDream O1 Image Dev Edit in n8n
Can n8n use HiDream O1 Image Dev Edit?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run HiDream O1 Image Dev Edit like any built-in tool.
How much does HiDream O1 Image Dev Edit cost in n8n?
$0.0065 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Default 4 MP per image. Billed on `num_images`, default 1. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need a fal account to use HiDream O1 Image Dev Edit in n8n?
You need no fal account. n8n uses one Spiral API key for every tool, and Spiral runs HiDream O1 Image Dev Edit on its own fal account.
How long does it take to set up HiDream O1 Image Dev Edit in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while HiDream O1 Image Dev Edit runs?
HiDream O1 Image Dev Edit runs in the background. n8n starts the run, checks on it and gives you the image when it's ready.
What is HiDream O1 Image Dev useful for?
Use it for images with planned text placement, changes to existing artwork, and new scenes featuring referenced subjects. Storyboard sheets are another documented use.
How large can HiDream O1 Image Dev images be?
Plan for output up to approximately 2048 × 2048 pixels. Reference-based results use the nearest supported resolution, so check the returned dimensions before placing an image in a fixed layout.
Can HiDream O1 Image Dev put text in images?
HiDream documents multilingual text rendering and placement across multiple regions. Include the exact wording, reading order, and intended location, then proofread the result before using it.
How should I describe a composition?
Specify where each important element belongs: foreground, background, top left, or bottom edge. For text, provide the complete copy and reading order instead of asking the model to invent them.
Which generation settings should I start with?
Start with 28 steps and guidance at zero, matching the maker's Dev inference recipe. Treat that as your baseline when comparing prompt revisions.
Start using HiDream O1 Image Dev Edit in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


