[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Krea 3 Edit](https://spiral.ai/integrations/muse-code/krea-3-edit)

# How to Use Krea 3 Edit in Muse 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.

|  |  |
| --- | --- |
| Model | Krea 3 Edit |
| Available through | fal |
| Category | Image |
| Price | Up to $0.26195 per run at the default inputs. Each item in `image_urls` adds $0.130975. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Krea 3 Edit in Muse Code

- 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 Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Krea 3 Edit**: One request; the result comes back by polling or a webhook.

```bash
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: Muse Code finds Krea 3 Edit on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Krea 3 Edit tools and prices

- [Krea 3 Edit · Image Editing](https://spiral.ai/tools/fal/krea/v3/edit) (fal): $0.130975 per run. Each item in `image_urls` adds $0.130975.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| model | berry, jam | berry | Model variant: berry favors quality, jam favors speed. |
| image_size |  | auto | Output size, rounded up to multiples of 16, at most 4,220,160 total pixels (1680×2512). auto lets the prompt expander pick the aspect ratio at about 2048×2048. |
| reasoning_level | low, medium, high, 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 keep out of the image. Used by berry only. |
| seed |  | — | Latent noise seed. Use a new seed when editing a previous output again. |
| output_format | png, jpeg | png | Output image format. |

## What can you do with Krea 3 Edit in Muse 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.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Krea 3 Edit in other agents

- [Amp](https://spiral.ai/integrations/amp/krea-3-edit)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/krea-3-edit)
- [Claude](https://spiral.ai/integrations/claude-desktop/krea-3-edit)
- [Claude Code](https://spiral.ai/integrations/claude-code/krea-3-edit)
- [Cline](https://spiral.ai/integrations/cline/krea-3-edit)
- [Codex](https://spiral.ai/integrations/codex/krea-3-edit)
- [Cursor](https://spiral.ai/integrations/cursor/krea-3-edit)
- [Devin](https://spiral.ai/integrations/devin/krea-3-edit)
- [dots](https://spiral.ai/integrations/dots/krea-3-edit)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/krea-3-edit)
- [Gemini](https://spiral.ai/integrations/gemini/krea-3-edit)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/krea-3-edit)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/krea-3-edit)
- [goose](https://spiral.ai/integrations/goose/krea-3-edit)
- [Grok](https://spiral.ai/integrations/grok/krea-3-edit)
- [Grok Build](https://spiral.ai/integrations/grok-build/krea-3-edit)
- [Hermes](https://spiral.ai/integrations/hermes/krea-3-edit)
- [Instinct](https://spiral.ai/integrations/instinct/krea-3-edit)
- [Manus](https://spiral.ai/integrations/manus/krea-3-edit)
- [Muse](https://spiral.ai/integrations/muse/krea-3-edit)
- [n8n](https://spiral.ai/integrations/n8n/krea-3-edit)
- [Notion](https://spiral.ai/integrations/notion/krea-3-edit)
- [OpenClaw](https://spiral.ai/integrations/openclaw/krea-3-edit)
- [opencode](https://spiral.ai/integrations/opencode/krea-3-edit)
- [Perplexity](https://spiral.ai/integrations/perplexity/krea-3-edit)
- [Raycast](https://spiral.ai/integrations/raycast/krea-3-edit)
- [VS Code](https://spiral.ai/integrations/vscode/krea-3-edit)
- [Windsurf](https://spiral.ai/integrations/windsurf/krea-3-edit)
- [Zapier](https://spiral.ai/integrations/zapier/krea-3-edit)

## More Muse Code guides

- [Krea 2 Turbo Style](https://spiral.ai/integrations/muse-code/krea-2-turbo-style)
- [Krea 3 Text to Image](https://spiral.ai/integrations/muse-code/krea-3-text-to-image)
- [Krea 2 Turbo LoRA](https://spiral.ai/integrations/muse-code/krea-2-turbo-lora)
- [Luma Uni-1 Edit](https://spiral.ai/integrations/muse-code/luma-uni-1-edit)
- [Krea 2 Turbo](https://spiral.ai/integrations/muse-code/krea-2-turbo)
- [Luma Uni-1 Max](https://spiral.ai/integrations/muse-code/luma-uni-1-max)

## Questions about Krea 3 Edit in Muse Code

**Can Muse Code use Krea 3 Edit?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Krea 3 Edit like any built-in tool.

**How much does Krea 3 Edit cost in Muse 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 Muse Code plan is separate.

**Do I need a fal account to use Krea 3 Edit in Muse 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 Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Krea 3 Edit runs?**

Krea 3 Edit runs in the background. Muse 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.

