[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Wan 2.2 A14B Text to Image LoRA](https://spiral.ai/integrations/opencode/wan-2-2-a14b-text-to-image-lora)

# How to Use Wan 2.2 A14B Text to Image LoRA in opencode

Wan 2.2 A14B Text to Image LoRA creates images from text with custom LoRA support for style control. Choose it over Wan 2.2 A14B Text to Image when you have compatible style weights to apply.

|  |  |
| --- | --- |
| Model | Wan 2.2 A14B Text to Image LoRA |
| Available through | fal |
| Category | Image |
| Price | $0.065 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Wan 2.2 A14B Text to Image LoRA in opencode

- Use Wan 2.2 A14B Text to Image LoRA with the compatible style weights supplied in this project. Create a photographic concept of an unbranded ceramic mug on folded linen, side lighting, and a restrained cream-and-brown palette.
- Generate a product photo with Wan 2.2 A14B Text to Image LoRA: 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 Wan 2.2 A14B Text to Image LoRA.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Wan 2.2 A14B Text to Image LoRA.
- Generate a 9:16 poster with Wan 2.2 A14B Text to Image LoRA for a jazz night called "Blue Hour", deep navy and brass tones.

## How to set up Wan 2.2 A14B Text to Image LoRA 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 Wan 2.2 A14B Text to Image LoRA**: 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/wan/v2.2-a14b/text-to-image/lora",
    "input": {
      "prompt": "In this breathtaking wildlife documentary, we are drawn into an intimate close-up of a majestic lion'\''s face, framed against the backdrop of a vast African…"
    }
  }'
```

Then paste one of the prompts above: opencode finds Wan 2.2 A14B Text to Image LoRA on Spiral, shows the price and runs it.

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

## Wan 2.2 A14B Text to Image LoRA tools and prices

- [Wan v2.2 A14B A14B with LoRAs · Text to Image](https://spiral.ai/tools/fal/fal-ai/wan/v2.2-a14b/text-to-image/lora) (fal): $0.065 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| negative_prompt |  |  | Negative prompt for video generation. |
| seed |  | — | Random seed for reproducibility. If None, a random seed is chosen. |
| num_inference_steps | 2 to 40 | 27 | Number of inference steps for sampling. Higher values give better quality but take longer. |
| enable_prompt_expansion |  | false | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. |
| acceleration | none, regular | regular | Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'. |
| guidance_scale | 1 to 10 | 3.5 | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |

## What can you do with Wan 2.2 A14B Text to Image LoRA in opencode?

Create photographic assets while working on a website or app. Turn the project's visual brief into scene descriptions and compare lighting or composition treatments before choosing an image.

### Editorial scene illustrations

Develop photographic concepts for an article, such as a bicycle outside a neighborhood repair shop. Specify the setting, lighting, and space needed for a headline.

### Product staging concepts

Explore how an unbranded ceramic mug might look on linen, stone, or a wooden counter. Use the results to compare photographic direction before planning a shoot.

### Interior mood studies

Compare room concepts through wood tones, upholstery, daylight, and contrast. Treat each image as a visual direction to review.

### Film still concepts

Explore a single scene's framing, lighting, and color treatment before production. Describe one photographic composition, such as an empty train platform at dawn.

### Custom style exploration

Apply compatible LoRA weights to explore a chosen visual treatment across different written scene briefs. Review the results together before selecting a campaign direction.

### Original website photography concepts

Generate scenes from written art direction when no starting photograph exists. Explore subject placement and lighting for article headers or landing page imagery.

## Overview

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

## Wan 2.2 A14B Text to Image LoRA in other agents

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

## More opencode guides

- [Wan 2.2 A14B Text to Image](https://spiral.ai/integrations/opencode/wan-2-2-a14b-text-to-image)
- [Wan 2.5 Image to Image](https://spiral.ai/integrations/opencode/wan-2-5-image-to-image)
- [Wan 2.2 A14B Image to Image](https://spiral.ai/integrations/opencode/wan-2-2-a14b-image-to-image)
- [Wan 2.5 Text to Image](https://spiral.ai/integrations/opencode/wan-2-5-text-to-image)
- [Wan 2.2 5B Text to Image](https://spiral.ai/integrations/opencode/wan-2-2-5b-text-to-image)
- [Wan 2.6 Image to Image](https://spiral.ai/integrations/opencode/wan-2-6-image-to-image)

## Questions about Wan 2.2 A14B Text to Image LoRA in opencode

**Can opencode use Wan 2.2 A14B Text to Image LoRA?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Wan 2.2 A14B Text to Image LoRA like any built-in tool.

**How much does Wan 2.2 A14B Text to Image LoRA cost in opencode?**

$0.065 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 Wan 2.2 A14B Text to Image LoRA in opencode?**

No. Spiral runs Wan 2.2 A14B Text to Image LoRA on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Wan 2.2 A14B Text to Image LoRA in opencode?**

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

**Does opencode wait while Wan 2.2 A14B Text to Image LoRA runs?**

Wan 2.2 A14B Text to Image LoRA runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**Does Wan 2.2 A14B produce still images?**

Yes. The image models covered here produce still images, despite the Wan name also appearing on video models.

**What is Wan 2.2 A14B useful for?**

Photographic scene concepts are a good starting point: editorial illustrations, product staging ideas, interior mood studies, and film still concepts. Its image descriptions emphasize realism and fine visual detail.

**How should I describe the image I want?**

A practical starting point is to name the subject and setting, then specify lighting, framing, contrast, and color tone. This recommendation follows the Wan team's description of its aesthetic training labels.

**Will stronger guidance always improve the result?**

No. Stronger guidance can improve prompt adherence while reducing image quality, so compare modest changes against the original result.

**When should I use prompt expansion?**

Try it when your brief is short and you want additional descriptive detail. For a carefully specified composition, compare it with expansion turned off so you can judge whether the additions help.

