[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Kling Image 3.0 Edit](https://spiral.ai/integrations/muse-code/kling-image-3-0-edit)

# How to Use Kling Image 3.0 Edit in Muse Code

Kling Image 3.0 Edit changes backgrounds, objects, materials, and visual style in an existing image. Unlike Kling Image 3.0 Text to Image, it uses a source picture as the foundation for your changes.

|  |  |
| --- | --- |
| Model | Kling Image 3.0 Edit |
| Available through | fal |
| Category | Image |
| Price | `resolution`: 1K (default) $0.0364, 2K $0.0364 per image. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Kling Image 3.0 Edit in Muse Code

- Use Kling Image 3.0 Edit on the product photo in this project. Replace the tabletop with dark stone, preserve the product's shape and color, and keep everything else unchanged.
- Use Kling Image 3.0 Edit on the existing article illustration. Change its palette to rust and charcoal while preserving the subject and composition.
- Generate a product photo with Kling Image 3.0 Edit: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
- Make four logo concepts for a coffee brand called "Northline" with Kling Image 3.0 Edit.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Kling Image 3.0 Edit.

## How to set up Kling Image 3.0 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 Kling Image 3.0 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": "fal-ai/kling-image/v3/image-to-image",
    "input": {
      "prompt": "Transform to deep winter, heavy snow covering all surfaces, bare frozen trees, overcast sky, footprints in fresh powder, cold blue color grade",
      "image_url": "https://v3b.fal.media/files/b/0a8d06b9/3zxm2qoj2xYWSNwEe5Vd9_a74d767fc42e47a0bf657117fbcf8b90.png"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Kling Image 3.0 Edit on Spiral, shows the price and runs it.

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

## Kling Image 3.0 Edit tools and prices

- [Kling Image · Edit](https://spiral.ai/tools/fal/fal-ai/kling-image/v3/image-to-image) (fal): `resolution`: 1K (default) $0.0364, 2K $0.0364 per image. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| elements |  | — | Optional: Elements (characters/objects) to include in the image for face control. |
| resolution | 1K, 2K | 1K | Image generation resolution. 1K: standard, 2K: high-res. |
| num_images | 1 to 9 | 1 | Number of images to generate (1-9). |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 | 16:9 | Aspect ratio of generated images. |
| output_format | jpeg, png, webp | png | The format of the generated image. |

## What can you do with Kling Image 3.0 Edit in Muse Code?

Create artwork for a project's pages or revise existing visual assets with Kling Image 3.0. Use the project's content and design direction to write specific image briefs.

### Product scene concepts

Explore a product's setting, lighting, and composition before planning a shoot.

### Character concept art

Develop a character's clothing, appearance, and surroundings for an illustrated story.

### Campaign art direction

Compare visual approaches by changing the palette, materials, framing, or lighting.

### Film scene concepts

Explore a scene's camera angle, atmosphere, and composition before production.

### Product photo revisions

Start with a product photo and change its background or surface material while specifying which details to preserve.

### Illustration restyling

Turn an existing illustration toward a different medium or palette while retaining its subject.

## Overview

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

## Kling Image 3.0 Edit in other agents

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

## More Muse Code guides

- [Juggernaut Flux Pro Image to Image](https://spiral.ai/integrations/muse-code/juggernaut-flux-pro-image-to-image)
- [Kling Image 3.0 Text to Image](https://spiral.ai/integrations/muse-code/kling-image-3-0-text-to-image)
- [Juggernaut Flux Pro](https://spiral.ai/integrations/muse-code/juggernaut-flux-pro)
- [Kling Image 4.0 Image to Image](https://spiral.ai/integrations/muse-code/kling-image-4-0-image-to-image)
- [Juggernaut Flux Lightning](https://spiral.ai/integrations/muse-code/juggernaut-flux-lightning)
- [Kling Image 4.0 Long Image](https://spiral.ai/integrations/muse-code/kling-image-4-0-long-image)

## Questions about Kling Image 3.0 Edit in Muse Code

**Can Muse Code use Kling Image 3.0 Edit?**

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

**How much does Kling Image 3.0 Edit cost in Muse Code?**

`resolution`: 1K (default) $0.0364, 2K $0.0364 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 Muse Code plan is separate.

**Do I need a fal account to use Kling Image 3.0 Edit in Muse Code?**

No. Spiral runs Kling Image 3.0 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 Kling Image 3.0 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 Kling Image 3.0 Edit runs?**

Kling Image 3.0 Edit runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.

**What is Kling Image 3.0 good for?**

Use it for portraits, product scenes, cinematic concepts, and illustrations. Give each image a clear subject and visual direction.

**How should I write a Kling Image 3.0 prompt?**

Describe the subject, setting, composition, lighting, and style. Prioritize the details that matter most and remove conflicting instructions.

**What is the maximum output resolution?**

Kling Image 3.0 Text to Image and Kling Image 3.0 Edit support output up to 2K.

**How long can a prompt be?**

Both Kling Image 3.0 Text to Image and Kling Image 3.0 Edit accept up to 2,500 characters. Use that space for concrete visual details.

**Where does Kling Image 3.0 need extra review?**

Busy scenes can lose important objects or actions. Check their positions and relationships, then simplify the request around the most important subject.

