[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Wojak Style](https://spiral.ai/integrations/opencode/wojak-style)

# How to Use Wojak Style in opencode

Wojak Style turns an existing photo into a Wojak drawing, aiming to keep the person recognizable. Use it for portrait-based memes and avatars when you already have the source image.

|  |  |
| --- | --- |
| Model | Wojak Style |
| 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 Wojak Style in opencode

- Use Wojak Style to convert assets/author.jpg into a drawing, then place it beside the original on the about page.
- Use Wojak Style on the portraits in public/community and build an introduction card preview with each person's name as HTML text.
- Use Wojak Style to convert assets/reactions/surprised.jpg, then add the result to the project's reaction image picker.
- Use Wojak Style on assets/profile.jpg with three different lora_scale values. Build a comparison page so I can choose a treatment.
- Use Wojak Style to convert assets/newsletter-author.jpg, then add the drawing to the newsletter template with its caption outside the image.

## How to set up Wojak Style 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 Wojak Style**: 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/image-editing/wojak-style",
    "input": {
      "image_url": "https://v3.fal.media/files/rabbit/UGZQWl6lUdYeu91QzUZys_5ODmUQcqNeufTbf_hhO0h_unnamed%20(2).jpg"
    }
  }'
```

Then paste one of the prompts above: opencode finds Wojak Style on Spiral, shows the price and runs it.

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

## Wojak Style tools and prices

- [Image Editing Wojak Style](https://spiral.ai/tools/fal/fal-ai/image-editing/wojak-style) (fal): $0.052 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| guidance_scale | 0 to 20 | 3.5 | The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you. |
| num_inference_steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| lora_scale | 0 to 4 | 1 | The scale factor for the LoRA model. Controls the strength of the LoRA effect. |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |

## What can you do with Wojak Style in opencode?

Create Wojak portrait assets from images already in your project. Your coding agent can place the results in the interface and handle cropping, captions, and layout separately.

### Personal profile portraits

Convert a headshot into a Wojak drawing, then crop the chosen result for a profile picture.

### Reaction image collections

Start with separate photos showing amusement, frustration, and surprise. Convert each photo and label the results for later use.

### Captioned social memes

Convert a portrait into the drawing for a meme, then add the joke in a separate layout step.

### Community introduction cards

Use contributed portraits to make Wojak introduction cards, with names and introductions added outside the image conversion.

### Photo-to-drawing comparisons

Place an original portrait beside its converted drawing for a visual post about the change in style.

### Newsletter illustrations

Turn an author's portrait into a Wojak illustration for a humorous personal update. Add the headline and other text in the newsletter layout.

## Overview

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

## Wojak Style in other agents

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

## More opencode guides

- [Weather Effect](https://spiral.ai/integrations/opencode/weather-effect)
- [YouTube Thumbnails](https://spiral.ai/integrations/opencode/youtube-thumbnails)
- [Wan 2.7 Text to Image](https://spiral.ai/integrations/opencode/wan-2-7-text-to-image)
- [Z-Image Base](https://spiral.ai/integrations/opencode/z-image-base)
- [Wan 2.7 Pro Text to Image](https://spiral.ai/integrations/opencode/wan-2-7-pro-text-to-image)
- [Z-Image Base LoRA](https://spiral.ai/integrations/opencode/z-image-base-lora)

## Questions about Wojak Style in opencode

**Can opencode use Wojak Style?**

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

**How much does Wojak Style 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 Wojak Style in opencode?**

No. Spiral runs Wojak Style on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Wojak Style in opencode?**

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

**Does opencode wait while Wojak Style runs?**

Wojak Style runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is Wojak Style good for?**

Turning an existing portrait into a Wojak drawing. Suggested uses include personal avatars, reaction images, and portrait-based memes.

**Will the person still look recognizable?**

Preserving likeness is a stated goal of Wojak Style. Compare the result with the original before choosing an image to use.

**Can Wojak Style create a character from a written description?**

The documented conversion requires an existing image and has no text prompt input. Start with a photo that already shows the person and expression you want.

**How should I adjust the Wojak effect?**

Use the style strength control to compare treatments of the same photo. Change only that control during the comparison, then choose the result with the best balance of likeness and drawing style.

**How should I ask for a captioned Wojak meme?**

Ask your agent to convert the source portrait, then add the caption separately. The documented image conversion has no text prompt input for directing caption content.

