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

opencode · ImageReleased 2024-11-06

How to Use FLUX 1.1 Pro Ultra in opencode

FLUX 1.1 Pro Ultra makes detailed product images, editorial illustrations, and photographs at up to 4 megapixels. Compared with FLUX 1.1 Pro, it offers four times the resolution, plus Raw mode for a more natural photographic look.

Prompts to try with FLUX 1.1 Pro Ultra in opencode

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

Read the homepage copy and use FLUX 1.1 Pro Ultra to create a 16:9 header photograph that expresses its main idea. Place the subject on the right and leave open space on the left for the existing headline.

FLUX 1.1 Pro Ultraopencode
Try asking
  • Read the article draft in this project and use FLUX 1.1 Pro Ultra to create a 3:2 editorial illustration of its central argument. Pick one clear visual metaphor and explain how it relates to the article.

  • Use FLUX 1.1 Pro Ultra to create a 1:1 product photography concept based on the product brief in this repository. Show a matte surface, soft light from the upper left, and a plain backdrop.

  • Inspect the reference image in the project's assets and use FLUX 1.1 Pro Ultra to create a new 16:9 image guided by it. Keep its influence moderate and compare the result with the reference before adding it to the page.

  • Use FLUX 1.1 Pro Ultra with Raw mode enabled to create a 9:16 nature photograph for the project's mobile welcome screen. Read the screen copy first, then choose a scene with space above the subject for the title.

How to set up FLUX 1.1 Pro Ultra 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 FLUX 1.1 Pro Ultra

    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",
        "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…"
        }
      }'

Then paste one of the prompts above: opencode finds FLUX 1.1 Pro Ultra on Spiral, shows the price and runs it.

FLUX 1.1 Pro Ultra providers and prices

Spiral runs FLUX 1.1 Pro Ultra through fal. Open a card for today's price, with every fee included.

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

Settings you can ask for

FLUX 1.1 Pro Ultra 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.

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

What can you do with FLUX 1.1 Pro Ultra in opencode?

Create photographic assets and editorial artwork around your project's actual content. Use the page copy and layout to write a concrete brief with the subject, framing, and lighting.

Website header photography

Create a wide photograph with the subject on one side and open space for a headline added during page design.

Product photography concepts

Explore studio lighting, surface materials, and camera angles for a proposed product shoot. Review generated details before treating them as a product representation.

Editorial illustrations

Turn an article's central idea into a scene with a specific subject, setting, and visual treatment.

Nature imagery

Use Raw mode to explore photographs of forests, coastlines, plants, and mountain scenes with a natural photographic look.

Portrait art direction

Explore candid portrait concepts by specifying the person's activity, surroundings, framing, and light.

Reference-led image concepts

Start with an image as visual context, then explore a new composition or treatment. Adjust its influence and inspect which details carry through.

Campaign image exploration

Develop separate image concepts around one campaign brief, such as a studio product scene, a candid lifestyle scene, and an editorial illustration.

Questions about FLUX 1.1 Pro Ultra in opencode

Can opencode use FLUX 1.1 Pro Ultra?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run FLUX 1.1 Pro Ultra like any built-in tool.

How much does FLUX 1.1 Pro Ultra cost in opencode?

$0.078 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 FLUX 1.1 Pro Ultra in opencode?

No. Spiral runs FLUX 1.1 Pro Ultra 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 1.1 Pro Ultra in opencode?

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

Does opencode wait while FLUX 1.1 Pro Ultra runs?

FLUX 1.1 Pro Ultra runs in the background. opencode starts the run, checks on it and gives you the image when it's ready.

What is FLUX 1.1 Pro Ultra good for?

Use it for product image concepts, editorial illustrations, and marketing images that need fine detail. Raw mode is a useful choice for photographic work.

How large are FLUX 1.1 Pro Ultra images?

Output reaches up to 4 megapixels. That describes the total pixel count, so avoid treating it as a promise of 4K dimensions.

When should I use Raw mode?

Try Raw mode for candid portraits and nature scenes. Black Forest Labs describes improvements in human diversity and nature photography realism.

Can a reference image guarantee an exact copy?

Treat a reference as visual guidance. Black Forest Labs describes it as context with adjustable influence, so review the result before using it where exact appearance matters.

How should I write a photographic prompt?

Describe the subject and where it sits, then specify the light source, direction, and softness. For example: a ceramic bowl in the right foreground, lit by soft window light from the left.

Get started

Start using FLUX 1.1 Pro Ultra 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