[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [FLUX1.1 Pro Ultra Fine-tuned](https://spiral.ai/integrations/opencode/flux1-1-pro-ultra-fine-tuned)

# How to Use FLUX1.1 Pro Ultra Fine-tuned in opencode

FLUX1.1 Pro Ultra Fine-tuned creates detailed campaign images, portraits, and illustrations using a fine-tuned LoRA. Compared with standard FLUX1.1 Pro, it combines customization with Ultra's output of up to 4 megapixels.

|  |  |
| --- | --- |
| Model | FLUX1.1 Pro Ultra Fine-tuned |
| Available through | fal |
| Category | Image |
| Price | $0.091 per image. Billed on `num_images`, default 1. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with FLUX1.1 Pro Ultra Fine-tuned in opencode

- Read the homepage component and its existing copy. Use FLUX1.1 Pro Ultra Fine-tuned to create a 16:9 hero photograph of a ceramic cup on a walnut desk, soft morning light from the left, cup on the right, open wall space on the left. Add the selected image to the hero.
- Inspect the article cards and image crops in this project. Use FLUX1.1 Pro Ultra Fine-tuned to create a woodland photograph for the gardening article, with ferns in the foreground and overcast daylight. Enable Raw mode and fit the result to the existing card.
- Read the onboarding page's text. Use FLUX1.1 Pro Ultra Fine-tuned to create a square editorial illustration of a traveler sorting maps on a kitchen table, viewed from above, in a pencil-and-watercolor style. Place it beside the introduction.
- Use the product photograph in the project's assets as visual context. With FLUX1.1 Pro Ultra Fine-tuned, create a new square scene of the product on a stone shelf in soft window light. Prepare two separate generations with different reference influence for review.
- Inspect the presentation cover layout in this repository. Use FLUX1.1 Pro Ultra Fine-tuned to create a wide architectural concept image of a timber reading room, afternoon side light, eye-level framing, and an empty foreground for the title. Keep output within the 4-megapixel limit.

## How to set up FLUX1.1 Pro Ultra Fine-tuned 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 FLUX1.1 Pro Ultra Fine-tuned**: 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-pro/v1.1-ultra-finetuned",
    "input": {
      "prompt": "Extreme close-up of a single tiger eye, direct frontal view. Detailed iris and pupil. Sharp focus on eye texture and color. Natural lighting to capture…",
      "finetune_id": "<finetune_id>",
      "finetune_strength": 0
    }
  }'
```

Then paste one of the prompts above: opencode finds FLUX1.1 Pro Ultra Fine-tuned on Spiral, shows the price and runs it.

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

## FLUX1.1 Pro Ultra Fine-tuned tools and prices

- [FLUX1.1 \[pro\] ultra Fine-tuned · Text to Image](https://spiral.ai/tools/fal/fal-ai/flux-pro/v1.1-ultra-finetuned) (fal): $0.091 per image. Billed on `num_images`, default 1.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same image every time. |
| num_images | 1 to 4 | 1 | The number of images to generate. |
| output_format | jpeg, png | jpeg | The format of the generated image. |
| safety_tolerance | 1, 2, 3, 4, 5, 6 | 2 | The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive. |
| enhance_prompt |  | false | Whether to enhance the prompt for better results. |
| image_url |  | — | The image URL to generate an image from. |

## What can you do with FLUX1.1 Pro Ultra Fine-tuned in opencode?

Create photographic and illustrated assets that fit your project's actual layouts. A coding agent can turn repository content into specific visual briefs and place the selected images in the interface.

### Campaign scene concepts

Explore a campaign's visual direction by placing a product concept in studio, outdoor, and domestic settings. Keep the subject description consistent while changing the scene.

### Website hero artwork

Create a wide photographic or illustrated scene with the subject on one side and quiet space for a headline. Describe the light and framing to match the page's purpose.

### Editorial portraits

Draft portraits for fictional profiles or campaign concepts. Try Raw mode for candid scenes with natural light and everyday surroundings.

### Nature article illustrations

Generate illustrative woodland, coastal, or garden scenes for editorial drafts. Use Raw mode when the brief calls for a natural photographic treatment.

### Reference-led art direction

Use an existing image as visual context for a new scene. Compare different levels of reference influence while keeping the written brief consistent.

### Story scene development

Reimagine a learned character or visual concept in different story settings. Generate individual scenes for review before choosing a narrative direction.

### Social campaign artwork

Draft square or portrait compositions around one clear subject. Specify the intended crop, setting, and lighting rather than asking for generic promotional imagery.

### High-resolution presentation visuals

Create detailed concept images for presentation covers and full-slide artwork. Use Ultra's output of up to 4 megapixels when the image needs room for cropping.

## Overview

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

## FLUX1.1 Pro Ultra Fine-tuned in other agents

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

## More opencode guides

- [FLUX1.1 Pro Redux](https://spiral.ai/integrations/opencode/flux1-1-pro-redux)
- [Face Enhancement](https://spiral.ai/integrations/opencode/face-enhancement)
- [FLUX.2 Turbo Edit](https://spiral.ai/integrations/opencode/flux-2-turbo-edit)
- [Fal Color Correction](https://spiral.ai/integrations/opencode/fal-color-correction)
- [FLUX.2 Turbo](https://spiral.ai/integrations/opencode/flux-2-turbo)
- [FeyNoBg](https://spiral.ai/integrations/opencode/feynobg)

## Questions about FLUX1.1 Pro Ultra Fine-tuned in opencode

**Can opencode use FLUX1.1 Pro Ultra Fine-tuned?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FLUX1.1 Pro Ultra Fine-tuned like any built-in tool.

**How much does FLUX1.1 Pro Ultra Fine-tuned cost in opencode?**

$0.091 per image. 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 FLUX1.1 Pro Ultra Fine-tuned in opencode?**

No. Spiral runs FLUX1.1 Pro Ultra Fine-tuned on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up FLUX1.1 Pro Ultra Fine-tuned in opencode?**

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

**Does opencode wait while FLUX1.1 Pro Ultra Fine-tuned runs?**

FLUX1.1 Pro Ultra Fine-tuned runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

**What is FLUX1.1 Pro Ultra Fine-tuned useful for?**

Use it for customized campaign imagery, editorial illustrations, and scenes built around a learned visual concept. Fine-tuning lets you reimagine trained content through text prompts while retaining the base model's range.

**How large are the generated images?**

Ultra supports output up to 4 megapixels, four times the resolution of standard FLUX1.1 Pro. Megapixels describe total image area, so avoid treating that limit as a fixed width and height.

**When should I use Raw mode?**

Choose Raw mode when you want candid portraits or natural-looking outdoor imagery. It changes the visual treatment toward a less synthetic photographic appearance.

**How should I use a reference image?**

Treat it as visual context for a new generation. Describe the finished scene in words, then adjust the image's influence to explore how closely the result follows the reference.

**Does FLUX1.1 Pro Ultra Fine-tuned support negative prompts?**

FLUX does not support negative prompts and can struggle with negation. Ask for an empty pedestrian street or an unmarked package instead of writing a list of things to exclude.

