How to Use Krea 3 Edit in Claude Code
Krea 3 Edit changes existing images and combines references for product scenes, material changes, and photo cleanup. Unlike Krea 3 Text to Image, it can work from the actual product or scene you need to preserve.
Prompts to try with Krea 3 Edit in Claude Code
Copy an example into Claude Code, or ask in your own words.
Find the product photograph referenced by this project's landing page and use Krea 3 Edit to place it on a pale stone tabletop. Preserve the product shape and label, use soft side lighting, and save a 1536 × 1024 result for review.
Use Krea 3 Edit on the interior photograph in this project's assets to change only the chair upholstery to dark green velvet. Keep the camera view, furniture positions, and room lighting the same, then compare the result with the original.
Remove the background from the photo I attach with Krea 3 Edit and give me a transparent PNG. Save the result in ./assets.
Use Krea 3 Edit to clean up these product shots so they sit on pure white.
Edit this image with Krea 3 Edit: keep the subject, swap the background for a sunlit studio.
How to set up Krea 3 Edit in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 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 Krea 3 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": "krea/v3/edit", "input": { "prompt": "A red fox curled up asleep in fresh snow at dawn, soft pink light on the pine trees behind it", "image_urls": [ "<image_urls>" ] } }'
Then paste one of the prompts above: Claude Code finds Krea 3 Edit on Spiral, shows the price and runs it.
Krea 3 Edit providers and prices
Spiral runs Krea 3 Edit through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Krea 3 Edit works from your prompt and image URLs. Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Model | berry or jam | berry | Model variant: berry favors quality, jam favors speed. |
| Reasoning level | low, medium, high, or ultra | medium | How much effort the harness spends reasoning about the given editing task. Higher reasoning effort means slower generation time. high plans the edit with segmentation, web search and reference photos, keeps unedited areas of a single input image, corrects required text, and bills a flat $0.125 (5 megapixels) more per request. low and medium bill $0.025 per megapixel of the output plus each reference (references larger than the output count as the output size). ultra generates at 2K with Krea's ultra thinking mode, ignores image_size and negative_prompt, and bills a flat price by reference count: $0.27 for 1, $0.30 for 2, $0.32 for 3, $0.35 for 4, plus $0.0275 per reference past 4. |
| Negative prompt | what to leave out, in words | What to keep out of the image. Used by berry only. | |
| Seed | a whole number | Latent noise seed. Use a new seed when editing a previous output again. | |
| Output format | png or jpeg | png | Output image format. |
Every API field of Krea 3 Edit · Image Editing is on its tool page: open its card above.
What can you do with Krea 3 Edit in Claude Code?
Turn project design briefs into images for pages, documentation, and presentations with Krea 3. Use the project's visual requirements to specify composition, materials, lighting, and the details each result must retain.
Product photo restaging
Use Krea 3 Edit to place an existing product in a different setting. Specify which label, logo, shape, and material details must survive, then inspect them in the result.
Material and color studies
Use Krea 3 Edit to compare a different finish on an object or room. Ask for one change at a time so the result is easier to assess.
Character scene development
Use Krea 3 Edit to place a referenced character in new scenes or lighting. Review facial and costume details between outputs because identity preservation can slip.
Photo cleanup
Use Krea 3 Edit to remove a distracting object from a photograph. Name the object precisely and state what surrounding content should remain.
More on Krea 3 Edit and Claude Code
Overview
Krea 3 Edit in other agents
Questions about Krea 3 Edit in Claude Code
Can Claude Code use Krea 3 Edit?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Krea 3 Edit like any built-in tool.
How much does Krea 3 Edit cost in Claude Code?
Up to $0.26195 per run at the default inputs. Each item in `image_urls` adds $0.130975. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need a fal account to use Krea 3 Edit in Claude Code?
No. Spiral runs Krea 3 Edit on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Krea 3 Edit in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while Krea 3 Edit runs?
Krea 3 Edit runs in the background. Claude Code starts the run, checks on it and gives you the image when it's ready.
How should I describe a photographic result?
Specify the scene, the light source, and the camera view. For example, describe a ceramic cup on linen, morning light from the left, and a close view with a softly blurred background.
What output size can I request?
The listed Krea 3 endpoints support up to 4,220,160 pixels. Dimensions are rounded up to multiples of 16, so 2048 × 2048 fits within the limit.
Can I rely on Krea 3 for dense text layouts?
Krea identifies extremely dense small text as a remaining weakness. Use larger, shorter text in the image, and add detailed copy separately when accuracy matters.
Does using the same seed reproduce the same image?
It does not guarantee an identical result. Krea says prompt expansion can vary between runs even when the seed stays the same.
When should I increase reasoning effort?
Try more reasoning when a detailed brief needs additional planning. It takes longer, so compare the result with your usual setting before making it your default.
Start using Krea 3 Edit in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


