Spiral gives your agent every tool with one account. Browse the tools →

opencode · Image

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.

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

Copy an example into opencode, or ask in your own words.

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.

FLUX1.1 Pro Ultra Fine-tunedopencode
Try asking
  • 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    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.

    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.

FLUX1.1 Pro Ultra Fine-tuned providers and prices

Spiral runs FLUX1.1 Pro Ultra Fine-tuned through fal. Open a card for today's price, with every fee included.

falImage
FLUX1.1 [pro] ultra Fine-tuned · Text to Image
fal-ai/flux-pro/v1.1-ultra-finetuned

Settings you can ask for

FLUX1.1 Pro Ultra Fine-tuned works from your prompt and image URL. Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number

The same seed and the same prompt given to the same version of the model

will output the same image every time.

Number of images1 to 41

The number of images to generate.

Output formatjpeg or pngjpeg

The format of the generated image.

Safety tolerance1 to 62

The safety tolerance level for the generated image. 1 being the most strict and 5 being the most permissive.

Enhance prompton or offoff

Whether to enhance the prompt for better results.

Image prompt strength0 to 10.1

The strength of the image prompt, between 0 and 1.

Rawon or offoff

Generate less processed, more natural-looking images.

Fine tune strength0 to 2

Controls finetune influence.

Increase this value if your target concept isn't showing up strongly enough.

The optimal setting depends on your finetune and prompt

Every API field of FLUX1.1 [pro] ultra Fine-tuned · Text to Image is on its tool page: open its card above.

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.

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.

Get started

Start using FLUX1.1 Pro Ultra Fine-tuned in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options