[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FLUX.2 Sepia Vintage](https://spiral.ai/integrations/opencode/flux-2-sepia-vintage)

# How to Use FLUX.2 Sepia Vintage in opencode

FLUX.2 Sepia Vintage creates sepia photographs from text for period portraits, nostalgic scenes, and vintage brand imagery. Unlike standard FLUX.2, it specializes in an aged photographic look with adjustable effect strength.

|  |  |
| --- | --- |
| Model | FLUX.2 Sepia Vintage |
| 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 Sepia Vintage in opencode

- Read the historical novel synopsis in this project and use FLUX.2 Sepia Vintage to create a fictional cover concept. Put the central character on the right, describe period clothing and soft window light, and leave the upper left uncluttered for the title.
- Use FLUX.2 Sepia Vintage to create a 1280 by 720 banner for the railway history demo in this project: an imagined steam locomotive at a quiet platform, viewed from track level, sepia photography, morning mist. Keep the left third open for HTML text.
- Read the coffee shop brief in this repository and use FLUX.2 Sepia Vintage to create a photographic still life of a hand grinder, ceramic cup, and folded newspaper on a wooden counter. Compare a restrained sepia effect with a stronger treatment.
- Use FLUX.2 Sepia Vintage to create a portrait for the fictional character described in the project's story notes. Lead with the character's defining appearance, then describe a seated pose, period studio setting, and light from a tall side window.
- Inspect the invitation layout in this project and use FLUX.2 Sepia Vintage to create a matching photographic background: an antique writing desk with a fountain pen and folded letter. Arrange the objects around an open central area for the invitation copy.

## How to set up FLUX.2 Sepia Vintage 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 Sepia Vintage**: 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/sepia-vintage",
    "input": {
      "prompt": "A portrait of a Victorian lady in sepia tones"
    }
  }'
```

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

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

## FLUX.2 Sepia Vintage tools and prices

- [Flux 2 Lora Gallery · Sepia Vintage](https://spiral.ai/tools/fal/fal-ai/flux-2-lora-gallery/sepia-vintage) (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 Sepia Vintage in opencode?

Create sepia photographic assets that fit the content and layouts in your project. A coding agent can turn story text or design briefs into scene prompts and place the selected images where the design needs them.

### Historical fiction cover concepts

Create a sepia scene from a story synopsis, with the main character on one side and space reserved for typeset title text.

### Period portrait studies

Explore fictional Victorian portrait compositions by describing clothing, posture, studio surroundings, and window light.

### Vintage brand mood boards

Develop sepia photographic concepts for a coffee roaster, barbershop, or stationery brand using scenes described in a creative brief.

### Period film storyboards

Generate photographic scene studies for a period production, specifying the action, camera viewpoint, setting, and lighting in each prompt.

### Nostalgic newsletter illustrations

Create sepia still lifes or imagined street scenes to accompany essays about craft, travel, or everyday life.

### Themed event artwork

Generate an imagined railway platform, ballroom, or antique writing desk as the photographic background for a vintage-themed invitation.

## Overview

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

## FLUX.2 Sepia Vintage in other agents

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

## More opencode guides

- [FLUX.2 Satellite View Style](https://spiral.ai/integrations/opencode/flux-2-satellite-view-style)
- [FLUX.2 Turbo](https://spiral.ai/integrations/opencode/flux-2-turbo)
- [FLUX.2 Realism LoRA](https://spiral.ai/integrations/opencode/flux-2-realism-lora)
- [FLUX.2 Turbo Edit](https://spiral.ai/integrations/opencode/flux-2-turbo-edit)
- [FLUX.2 Max Edit](https://spiral.ai/integrations/opencode/flux-2-max-edit)
- [FLUX1.1 Pro Redux](https://spiral.ai/integrations/opencode/flux1-1-pro-redux)

## Questions about FLUX.2 Sepia Vintage in opencode

**Can opencode use FLUX.2 Sepia Vintage?**

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

**How much does FLUX.2 Sepia Vintage 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 Sepia Vintage in opencode?**

No. Spiral runs FLUX.2 Sepia Vintage 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 Sepia Vintage in opencode?**

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

**Does opencode wait while FLUX.2 Sepia Vintage runs?**

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

**What is FLUX.2 Sepia Vintage best suited for?**

Use it for images that need an old photographic appearance: period portraits, nostalgic street scenes, and vintage brand concepts. Its sepia specialization is less suited to a brief built around vivid contemporary color.

**Does FLUX.2 Sepia Vintage turn an uploaded photo into sepia?**

The documented model generates a new image from a text description. Describe the scene you want to create rather than asking it to recolor an uploaded photograph.

**How do I control how strong the vintage look becomes?**

Adjust the sepia effect strength. Keep your scene description unchanged while comparing strengths so you can judge which treatment suits the brief.

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

Start with the main subject and what it is doing, then describe the photographic style, setting, and light. Put essential details first, such as a seated portrait or a specific period setting.

**Can I request a specific output size?**

The documentation supports custom width and height and shows a 1280 by 720 example. It does not state a maximum resolution for this specific model, so that example should not be treated as its upper limit.

