[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [Kling O1 Image](https://spiral.ai/integrations/factory-droid/kling-o1-image)

# How to Use Kling O1 Image in Factory Droid

Kling O1 Image edits and combines reference images while preserving recognizable subjects and visual style. Use it for product scenes, character artwork, and targeted changes to existing images, with output up to 2K.

|  |  |
| --- | --- |
| Model | Kling O1 Image |
| 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 O1 Image in Factory Droid

- Use Kling O1 Image with the product photo in this project to create a 2K landscape image of the same bottle on a stone shelf. Preserve its shape and label design, and save the result with the campaign assets.
- Use Kling O1 Image with our character reference to create a side view for the storyboard. Keep the costume, colors, and facial features consistent.
- Use Kling O1 Image to restyle the project's onboarding illustration using the supplied watercolor reference. Preserve the subject arrangement and save the result for design review.
- Use Kling O1 Image to edit the room image in this project. Replace the wooden tabletop with glass while keeping the furniture positions, camera angle, and background unchanged.
- Use Kling O1 Image with the project's portrait reference to create a head-and-shoulders image against a blue studio background. Preserve the person's facial features and use soft side lighting.

## How to set up Kling O1 Image in Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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 O1 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/o1",
    "input": {
      "prompt": "Put @Image1 to the back seat of the car in @Image2, put @Element1 on to the @Image1",
      "image_urls": [
        "<image_urls>"
      ]
    }
  }'
```

Then paste one of the prompts above: Factory Droid finds Kling O1 Image on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## Kling O1 Image tools and prices

- [Kling O1 Image](https://spiral.ai/tools/fal/fal-ai/kling-image/o1) (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 |  | — | Elements (characters/objects) to include in the image. Reference in prompt as @Element1, @Element2, etc. Maximum 10 total (elements + reference images). |
| 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 | auto, 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, 2:3, 21:9 | auto | Aspect ratio of generated images. 'auto' intelligently determines based on input content. |
| output_format | jpeg, png, webp | png | The format of the generated image. |

## What can you do with Kling O1 Image in Factory Droid?

Turn project artwork into product scenes, style studies, and character views. A coding agent can use the project's reference assets and save the results beside the designs they support.

### Product scene concepts

Place a reference product into a new setting for a campaign concept.

### Character views

Create alternate views of a reference character for a storyboard.

### Portrait edits

Change a portrait's background, clothing, or expression.

### Style studies

Apply a reference style to existing artwork.

### Clothing concepts

Combine a person reference with a clothing reference.

### Material studies

Explore glass, wood, or fabric treatments on a reference object.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## Kling O1 Image in other agents

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

## More Factory Droid guides

- [Kling Image 4.0 Text to Image](https://spiral.ai/integrations/factory-droid/kling-image-4-0-text-to-image)
- [Kling O3 Image to Image](https://spiral.ai/integrations/factory-droid/kling-o3-image-to-image)
- [Kling Image 4.0 Long Image](https://spiral.ai/integrations/factory-droid/kling-image-4-0-long-image)
- [Kling O3 Text to Image](https://spiral.ai/integrations/factory-droid/kling-o3-text-to-image)
- [Kling Image 4.0 Image to Image](https://spiral.ai/integrations/factory-droid/kling-image-4-0-image-to-image)
- [Krea 2 Large](https://spiral.ai/integrations/factory-droid/krea-2-large)

## Questions about Kling O1 Image in Factory Droid

**Can Factory Droid use Kling O1 Image?**

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Kling O1 Image like any built-in tool.

**How much does Kling O1 Image cost in Factory Droid?**

`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 Factory Droid plan is separate.

**Do I need a fal account to use Kling O1 Image in Factory Droid?**

No. Spiral runs Kling O1 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 O1 Image in Factory Droid?**

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

**Does Factory Droid wait while Kling O1 Image runs?**

Kling O1 Image runs in the background. Factory Droid starts the run, checks on it and gives you the image when it's ready.

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

Reference-guided composition and editing: product scenes, character artwork, and changes to specific objects or details.

**Can Kling O1 Image transfer a visual style?**

Yes. Give it a content reference and a style reference, then specify which image supplies each.

**How should I prompt a targeted edit?**

Identify the object and the exact change. State which features should stay unchanged, and keep the prompt under 2,500 characters.

**What can make Kling O1 Image miss an instruction?**

Ambiguous directions can cause incorrect output. Describe the final position or orientation explicitly.

**How large are Kling O1 Image outputs?**

Outputs reach 2K resolution. Use 2K when you need a larger image for the intended placement.

