[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FLUX.2 Ballpoint Pen Sketch](https://spiral.ai/integrations/opencode/flux-2-ballpoint-pen-sketch)

# How to Use FLUX.2 Ballpoint Pen Sketch in opencode

FLUX.2 Ballpoint Pen Sketch turns text into pen-style illustrations for editorial art, portraits, and storyboards. Its trained sketch style favors consistent line work and hatching over broad aesthetic flexibility.

|  |  |
| --- | --- |
| Model | FLUX.2 Ballpoint Pen Sketch |
| Available through | fal |
| Category | Image |
| Price | $0.0273 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FLUX.2 Ballpoint Pen Sketch in opencode

- Read the homepage copy and use FLUX.2 Ballpoint Pen Sketch to illustrate its main idea. Include b4llp01nt, one clear subject, and open space beside the drawing for the headline.
- Read the newest blog draft and use FLUX.2 Ballpoint Pen Sketch to create an editorial image. Include b4llp01nt and describe a concrete visual metaphor drawn from the article.
- Use the character brief in this project to create a portrait concept with FLUX.2 Ballpoint Pen Sketch. Include b4llp01nt, the written clothing details, a three-quarter pose, and an empty white background.
- Read the product brief and use FLUX.2 Ballpoint Pen Sketch to depict the proposed desk lamp. Include b4llp01nt and clearly describe its hinge, shade, base, and viewing angle.
- Use FLUX.2 Ballpoint Pen Sketch to compare two sketch treatments for the book synopsis in this project. Keep the scene description fixed, include b4llp01nt, and use lora_scale 0.6 and 1.2.

## How to set up FLUX.2 Ballpoint Pen Sketch 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 FLUX.2 Ballpoint Pen Sketch**: 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/flux-2-lora-gallery/ballpoint-pen-sketch",
    "input": {
      "prompt": "Portrait of a person, b4llp01nt ballpoint pen sketch"
    }
  }'
```

Then paste one of the prompts above: opencode finds FLUX.2 Ballpoint Pen Sketch on Spiral, shows the price and runs it.

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

## FLUX.2 Ballpoint Pen Sketch tools and prices

- [Flux 2 Lora Gallery · Ballpoint Pen Sketch](https://spiral.ai/tools/fal/fal-ai/flux-2-lora-gallery/ballpoint-pen-sketch) (fal): $0.0273 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_size |  | landscape_4_3 | The size of the generated image. |
| guidance_scale | 0 to 20 | 2.5 | The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt. |
| num_inference_steps | 4 to 50 | 40 | The number of inference steps to perform. |
| acceleration | none, regular | regular | Acceleration level for image generation. 'regular' balances speed and quality. |
| seed |  | — | Random seed for reproducibility. Same seed with same prompt will produce same result. |
| output_format | png, jpeg, webp | png | The format of the output image |

## What can you do with FLUX.2 Ballpoint Pen Sketch in opencode?

Create pen-style artwork from briefs and content in your project. Have the coding agent translate those files into concrete illustration prompts.

### Editorial illustrations

Turn an article's central idea into a pen sketch, such as a commuter balancing an overflowing stack of calendars for a story about time pressure.

### Portrait concepts

Explore a fictional character's expression, clothing, and pose before choosing a portrait direction.

### Storyboard planning

Describe each shot separately to explore camera placement, blocking, and scene composition in a pen-sketch treatment.

### Product concept sketches

Illustrate an early product idea from a written brief, such as a folding desk lamp with a weighted circular base.

### Book cover exploration

Develop pen-drawn cover imagery from a synopsis, leaving space for a designer to add the title and author name.

### Article series artwork

Give a recurring column a pen-sketch direction while changing the illustrated subject for each installment.

## Overview

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

## FLUX.2 Ballpoint Pen Sketch in other agents

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

## More opencode guides

- [FLUX.2](https://spiral.ai/integrations/opencode/flux-2)
- [FLUX.2 Digital Comic Art](https://spiral.ai/integrations/opencode/flux-2-digital-comic-art)
- [FLUX.1 Schnell Redux](https://spiral.ai/integrations/opencode/flux-1-schnell-redux)
- [FLUX.2 Edit](https://spiral.ai/integrations/opencode/flux-2-edit)
- [FLUX.1 Schnell](https://spiral.ai/integrations/opencode/flux-1-schnell)
- [FLUX.2 Flash](https://spiral.ai/integrations/opencode/flux-2-flash)

## Questions about FLUX.2 Ballpoint Pen Sketch in opencode

**Can opencode use FLUX.2 Ballpoint Pen Sketch?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FLUX.2 Ballpoint Pen Sketch like any built-in tool.

**How much does FLUX.2 Ballpoint Pen Sketch cost in opencode?**

$0.0273 per megapixel. `image_size` presets count as 1 MP; custom sizes round up to whole megapixels. 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 opencode plan is separate.

**Do I need a fal account to use FLUX.2 Ballpoint Pen Sketch in opencode?**

No. Spiral runs FLUX.2 Ballpoint Pen Sketch on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FLUX.2 Ballpoint Pen Sketch in opencode?**

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

**Does opencode wait while FLUX.2 Ballpoint Pen Sketch runs?**

FLUX.2 Ballpoint Pen Sketch runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is FLUX.2 Ballpoint Pen Sketch useful for?**

Use it for pen-style editorial illustrations, portrait concepts, and storyboard frames. Its focus is the drawn treatment, including hatching and tonal shading.

**What should I include in a sketch prompt?**

Include b4llp01nt alongside a concrete description of the subject. Then describe the pose, framing, and setting you want.

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

Change the sketch strength while keeping the scene description fixed. Compare a lower and higher strength to choose the treatment that suits your illustration.

**Does FLUX.2 Ballpoint Pen Sketch support negative prompts?**

FLUX.2 does not support negative prompts. Describe an “empty background” or “crisp contours” instead of listing unwanted elements.

**When is FLUX.2 Ballpoint Pen Sketch a poor fit?**

Choose it when you want a consistent pen-drawn treatment. Its specialized aesthetic makes it a less suitable starting point for work that requires many unrelated visual styles.

