[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Kling O3 Image to Image](https://spiral.ai/integrations/claude-code/kling-o3-image-to-image)

# How to Use Kling O3 Image to Image in Claude Code

Kling O3 Image to Image turns reference images into revised scenes, product visuals, and connected storyboards. Unlike Kling O3 Text to Image, it starts with existing images so you can specify what to preserve and what to change.

|  |  |
| --- | --- |
| Model | Kling O3 Image to Image |
| Available through | fal |
| Category | Image |
| Price | `resolution`: 1K (default) $0.0364, 2K $0.0364, 4K $0.0728 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 O3 Image to Image in Claude Code

- Use Kling O3 Image to Image with the product reference in the project to create a three-image campaign series at 2K. Keep the product shape and material consistent across a studio view, a tabletop scene, and a close-up.
- Use Kling O3 Image to Image with the character and location references in the project to create a three-image scene sequence. Assign each reference a clear role and use wide, medium, and close-up framing.
- Generate a product photo with Kling O3 Image to Image: 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 O3 Image to Image.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Kling O3 Image to Image.

## How to set up Kling O3 Image to Image in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **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

1. **Send Claude 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 O3 Image to Image**: 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/o3/image-to-image",
    "input": {
      "prompt": "Transform into photorealistic 3D render, add proper lighting and shadows, realistic materials and textures, maintain exact proportions and design from sketch,…",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Kling O3 Image to Image on Spiral, shows the price and runs it.

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

## Kling O3 Image to Image tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| elements |  | — | Optional: Elements (characters/objects) for face control. Reference in prompt as @Element1, @Element2, etc. |
| resolution | 1K, 2K, 4K | 1K | Image generation resolution. 1K: standard, 2K: high-res, 4K: ultra high-res. |
| result_type | single, series | single | Result type. 'single' for one image, 'series' for a series of related images. |
| num_images | 1 to 9 | 1 | Number of images to generate (1-9). Only used when result_type is 'single'. |
| series_amount | 2 to 9 | — | Number of images in series (2-9). Only used when result_type is 'series'. |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9, auto | auto | Aspect ratio of generated images. 'auto' intelligently determines based on input content. |

## What can you do with Kling O3 Image to Image in Claude Code?

Turn project briefs into scene concepts, campaign images, and storyboard sequences with Kling Image O3. A coding agent can use the project's written requirements to draft shot descriptions and keep the visual direction consistent.

### Film storyboard planning

Map a scene into establishing views, character interactions, and close-ups with a shared lighting direction.

### Product campaign concepts

Develop a connected set of product scenes with consistent materials, color treatment, and atmosphere.

### Set and environment visualization

Explore locations, surface materials, and lighting before committing to a physical set or detailed 3D scene.

### Character concept development

Explore a character's appearance, clothing, pose, and place within a scene through coordinated concept images.

### Comic scene planning

Plan a short visual sequence with distinct framing for each story beat and a consistent overall style.

### Product material studies

Examine how glass, fabric, metal, or other surfaces could appear under a specified lighting treatment.

### Reference-led scene revisions

Use an existing scene as the starting point and describe which details to preserve while revising its visual direction.

### Combining visual references

Assign separate images to the character, setting, and style, then bring those directions into one scene.

## Overview

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

## Kling O3 Image to Image in other agents

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

## More Claude Code guides

- [Kling O1 Image](https://spiral.ai/integrations/claude-code/kling-o1-image)
- [Kling O3 Text to Image](https://spiral.ai/integrations/claude-code/kling-o3-text-to-image)
- [Kling Image 4.0 Text to Image](https://spiral.ai/integrations/claude-code/kling-image-4-0-text-to-image)
- [Krea 2 Large](https://spiral.ai/integrations/claude-code/krea-2-large)
- [Kling Image 4.0 Long Image](https://spiral.ai/integrations/claude-code/kling-image-4-0-long-image)
- [Krea 2 Medium](https://spiral.ai/integrations/claude-code/krea-2-medium)

## Questions about Kling O3 Image to Image in Claude Code

**Can Claude Code use Kling O3 Image to Image?**

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

**How much does Kling O3 Image to Image cost in Claude Code?**

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

**Do I need a fal account to use Kling O3 Image to Image in Claude Code?**

No. Spiral runs Kling O3 Image to Image 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 O3 Image to Image in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Kling O3 Image to Image runs?**

Kling O3 Image to Image runs in the background. Claude Code starts the run, checks on it and gives you the image when it's ready.

**What is Kling Image O3 good at?**

Kling Image O3 suits cinematic stills, concept art, storyboards, and scene visualization. Describe the framing, lighting, materials, and focal subject to give it a clear visual target.

**Can Kling Image O3 create a connected image sequence?**

Yes. Image Series Mode creates two to nine related images, making it useful for storyboards and coordinated campaigns. Specify the sequence in order and describe the visual details that should remain consistent.

**Does Kling Image O3 generate native 4K images?**

Yes, it supports native 2K and 4K output. Use 4K when fine material detail matters, such as product texture studies or scene designs.

**How should I prompt Kling Image O3?**

Describe the subject and setting, then specify composition, camera angle, lighting, focus, and color treatment. For a sequence, give each image a clear role, such as establishing view, interaction, and detail.

**How long can a Kling Image O3 prompt be?**

Keep the prompt within 2,500 characters. For a storyboard, spend that space on the shot order and details that must carry across the images.

