[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Recraft V3 Image to Image](https://spiral.ai/integrations/opencode/recraft-v3-image-to-image)

# How to Use Recraft V3 Image to Image in opencode

Use Recraft V3 Image to Image to restyle an existing visual or explore changes to its composition and colors. Unlike Recraft V3 Text to Image, it starts with a source image, with strength controlling how far the result moves from it.

|  |  |
| --- | --- |
| Model | Recraft V3 Image to Image |
| Available through | fal |
| Category | Image |
| Price | $0.052 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Recraft V3 Image to Image in opencode

- Use Recraft V3 Image to Image to restyle the existing onboarding illustration in the project's assets as a hand-drawn illustration. Ask to retain its subject placement and compare change strengths of 0.3 and 0.6.
- Use Recraft V3 Image to Image to reinterpret the project's hero photo as an editorial illustration in the site's palette. Ask to keep the composition, start with a change strength of 0.5, and show the result beside the original.
- Generate a product photo with Recraft V3 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 Recraft V3 Image to Image.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Recraft V3 Image to Image.

## How to set up Recraft V3 Image to Image in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Recraft V3 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/recraft/v3/image-to-image",
    "input": {
      "prompt": "winter",
      "image_url": "https://storage.googleapis.com/falserverless/model_tests/recraft/recraft-upscaler-1.jpeg"
    }
  }'
```

Then paste one of the prompts above: opencode finds Recraft V3 Image to Image on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Recraft V3 Image to Image tools and prices

- [Recraft V3 · Image to Image](https://spiral.ai/tools/fal/fal-ai/recraft/v3/image-to-image) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| strength | 0 to 1 | 0.5 | Defines the difference with the original image, should lie in [0, 1], where 0 means almost identical, and 1 means miserable similarity |
| style | any, realistic_image, digital_illustration, vector_illustration, realistic_image/b_and_w, realistic_image/hard_flash, realistic_image/hdr, realistic_image/natural_light, realistic_image/studio_portrait, realistic_image/enterprise, realistic_image/motion_blur, realistic_image/evening_light, realistic_image/faded_nostalgia, realistic_image/forest_life, realistic_image/mystic_naturalism, realistic_image/natural_tones, realistic_image/organic_calm, realistic_image/real_life_glow, realistic_image/retro_realism, realistic_image/retro_snapshot, realistic_image/urban_drama, realistic_image/village_realism, realistic_image/warm_folk, digital_illustration/pixel_art, digital_illustration/hand_drawn, digital_illustration/grain, digital_illustration/infantile_sketch, digital_illustration/2d_art_poster, digital_illustration/handmade_3d, digital_illustration/hand_drawn_outline, digital_illustration/engraving_color, digital_illustration/2d_art_poster_2, digital_illustration/antiquarian, digital_illustration/bold_fantasy, digital_illustration/child_book, digital_illustration/child_books, digital_illustration/cover, digital_illustration/crosshatch, digital_illustration/digital_engraving, digital_illustration/expressionism, digital_illustration/freehand_details, digital_illustration/grain_20, digital_illustration/graphic_intensity, digital_illustration/hard_comics, digital_illustration/long_shadow, digital_illustration/modern_folk, digital_illustration/multicolor, digital_illustration/neon_calm, digital_illustration/noir, digital_illustration/nostalgic_pastel, digital_illustration/outline_details, digital_illustration/pastel_gradient, digital_illustration/pastel_sketch, digital_illustration/pop_art, digital_illustration/pop_renaissance, digital_illustration/street_art, digital_illustration/tablet_sketch, digital_illustration/urban_glow, digital_illustration/urban_sketching, digital_illustration/vanilla_dreams, digital_illustration/young_adult_book, digital_illustration/young_adult_book_2, vector_illustration/bold_stroke, vector_illustration/chemistry, vector_illustration/colored_stencil, vector_illustration/contour_pop_art, vector_illustration/cosmics, vector_illustration/cutout, vector_illustration/depressive, vector_illustration/editorial, vector_illustration/emotional_flat, vector_illustration/infographical, vector_illustration/marker_outline, vector_illustration/mosaic, vector_illustration/naivector, vector_illustration/roundish_flat, vector_illustration/segmented_colors, vector_illustration/sharp_contrast, vector_illustration/thin, vector_illustration/vector_photo, vector_illustration/vivid_shapes, vector_illustration/engraving, vector_illustration/line_art, vector_illustration/line_circuit, vector_illustration/linocut | realistic_image | The style of the generated images. Vector images cost 2X as much. |
| colors |  | [] | An array of preferable colors |
| style_id |  | — | The ID of the custom style reference (optional) |
| negative_prompt |  | — | A text description of undesired elements on an image |

## What can you do with Recraft V3 Image to Image in opencode?

Build website illustrations and campaign artwork from the project's visual requirements with Recraft V3. A coding agent can use the project's copy and palette to write concrete image briefs and review the results in context.

### Event poster concepts

Develop a poster with an illustrated subject and an embedded event title. Start from a written brief or rework an existing poster image.

### Editorial illustrations

Illustrate an article's central idea with a specific arrangement of objects. Create the scene from a description or reinterpret an existing visual.

### Campaign graphics

Develop graphics around an established visual style and color palette. Use a written campaign brief or an existing campaign image as the starting point.

### Website illustrations

Create an illustration for an onboarding screen or article header. Describe the intended scene or restyle an existing illustration to match the site's direction.

### Photographic advertising concepts

Explore a photographic scene with specified subjects, colors, and object placement. Work from a written concept or reinterpret an existing photo.

### Presentation artwork

Develop a visual metaphor for a presentation, such as three separate paths converging on one destination. Generate it from a brief or adapt an existing image.

### Photo-to-illustration restyling

Turn a source photo into an illustration while asking to retain its composition. Compare a lower change strength with a higher one to choose the desired departure.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Recraft V3 Image to Image in other agents

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

## More opencode guides

- [Recraft Crisp Upscale](https://spiral.ai/integrations/opencode/recraft-crisp-upscale)
- [Recraft V3 Text to Image](https://spiral.ai/integrations/opencode/recraft-v3-text-to-image)
- [Recraft Creative Upscale](https://spiral.ai/integrations/opencode/recraft-creative-upscale)
- [Recraft V4](https://spiral.ai/integrations/opencode/recraft-v4)
- [Recraft 20B](https://spiral.ai/integrations/opencode/recraft-20b)
- [Recraft V4 Pro](https://spiral.ai/integrations/opencode/recraft-v4-pro)

## Questions about Recraft V3 Image to Image in opencode

**Can opencode use Recraft V3 Image to Image?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Recraft V3 Image to Image like any built-in tool.

**How much does Recraft V3 Image to Image cost in opencode?**

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use Recraft V3 Image to Image in opencode?**

No. Spiral runs Recraft V3 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 Recraft V3 Image to Image in opencode?**

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

**Does opencode wait while Recraft V3 Image to Image runs?**

Recraft V3 Image to Image runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is Recraft V3 useful for?**

Recraft V3 suits posters, editorial illustrations, photographic concepts, and designs with embedded lettering. Its scene following also makes it useful when a brief specifies object counts, colors, and placement.

**Can Recraft V3 generate readable text inside an image?**

Yes. Text rendering is a documented strength, including longer passages. Put the exact wording in quotation marks and check the result before using it.

**How detailed should a Recraft V3 prompt be?**

Keep it within 1,000 characters. Describe the subject, then specify the important counts, colors, and positions so the visual brief is concrete.

**Can Recraft V3 keep a consistent visual style across several images?**

Yes. Recraft V3 supports style consistency from example images without retraining. Reuse the same established style when producing a campaign or illustration series.

**Is Recraft V3 only useful for illustrations?**

No. Photorealism and text rendering are also documented strengths, so briefs can call for photographic scenes as well as illustrated designs.

