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

Gemini CLI · Image

How to Use FLUX.2 Realism LoRA in Gemini CLI

FLUX.2 Realism LoRA creates photographic portraits, product concepts, and believable scenes from text. Its realism tuning emphasizes natural lighting and skin texture over stylized imagery.

Prompts to try with FLUX.2 Realism LoRA in Gemini CLI

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

Read the homepage brief and use FLUX.2 Realism LoRA to create a landscape photograph of a ceramic mug on a walnut desk. Put the mug on the right, with soft window light and open wall space on the left for the headline.

FLUX.2 Realism LoRAGemini CLI
Try asking
  • Use FLUX.2 Realism LoRA to create a square product concept for the store described in this project: an amber glass soap bottle on pale stone, soft studio lighting, visible glass texture, and a plain label. Add the selected image to the product card.

  • Read the article draft and use FLUX.2 Realism LoRA to make a landscape editorial concept of a bicycle mechanic at a workbench. Specify natural side light and a 35mm lens, then add it to the article preview.

  • Use FLUX.2 Realism LoRA to create a portrait photograph for this project's restaurant page: a chef in a linen apron beside a kitchen window, soft daylight, visible fabric texture, and an 85mm lens. Fit it into the existing image area.

  • Use FLUX.2 Realism LoRA to explore the café interior described in the design brief. Create a landscape composition with oak tables, worn leather seating, morning window light, and a 35mm camera view, then show it in the page preview.

How to set up FLUX.2 Realism LoRA in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI 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.2 Realism LoRA

    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-2-lora-gallery/realism",
        "input": {
          "prompt": "A portrait of a woman with natural lighting"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds FLUX.2 Realism LoRA on Spiral, shows the price and runs it.

FLUX.2 Realism LoRA providers and prices

Spiral runs FLUX.2 Realism LoRA through fal. Open a card for today's price, with every fee included.

falImage
FLUX 2 Lora Gallery Realism
fal-ai/flux-2-lora-gallery/realism

Settings you can ask for

FLUX.2 Realism LoRA works from your prompt. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 202.5

The CFG (Classifier Free Guidance) scale. Controls how closely the model follows the prompt.

Number of inference steps4 to 5040

The number of inference steps to perform.

Accelerationnone or regularregular

Acceleration level for image generation. 'regular' balances speed and quality.

Seeda whole number

Random seed for reproducibility. Same seed with same prompt will produce same result.

Output formatpng, jpeg, or webppng

The format of the output image

Number of images1 to 41

Number of images to generate

LoRA scale0 to 21

The strength of the realism effect.

Every API field of FLUX 2 Lora Gallery Realism is on its tool page: open its card above.

What can you do with FLUX.2 Realism LoRA in Gemini CLI?

Turn a project's written requirements into photographic assets for websites and apps. A coding agent can read the design brief, draft images, and place selected results in the interface.

Product photo concepts

Explore a written product idea on a tabletop, with specific materials, shadow direction, and studio lighting.

Portrait lighting studies

Draft portraits with window light, studio light, or late-afternoon sun to compare a shoot's visual direction.

Editorial scene concepts

Create staged photographic scenes for article illustrations, such as a quiet workshop or a neighborhood café.

Website photography concepts

Draft photographic assets with deliberate space for headlines and subjects positioned around the planned layout.

Food photography briefs

Explore plated-food compositions, ceramic textures, and side lighting before planning a restaurant shoot.

Interior photography concepts

Describe a room from scratch to explore furniture materials, camera position, and daylight direction.

Questions about FLUX.2 Realism LoRA in Gemini CLI

Can Gemini CLI use FLUX.2 Realism LoRA?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run FLUX.2 Realism LoRA like any built-in tool.

How much does FLUX.2 Realism LoRA cost in Gemini CLI?

$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 Gemini CLI plan is separate.

Do I need a fal account to use FLUX.2 Realism LoRA in Gemini CLI?

No. Spiral runs FLUX.2 Realism 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 FLUX.2 Realism LoRA in Gemini CLI?

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

Does Gemini CLI wait while FLUX.2 Realism LoRA runs?

FLUX.2 Realism LoRA runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is FLUX.2 Realism LoRA best used for?

Use it for photographic portraits, product concepts, and scenes where natural light and believable texture matter. Give it a concrete photographic brief with a subject, setting, and light source.

How should I write a photographic prompt?

Put the main subject first, followed by its action, surroundings, and lighting. Add a lens or film stock when you want a particular photographic look, such as an 85mm portrait or Kodak Portra 400 colors.

How large can the images be?

The published limit is 4 megapixels, with landscape, portrait, and square compositions supported. Describe the framing alongside the subject so the composition suits the intended shape.

Which setting changes the realism treatment?

Realism strength controls the effect, with 1 as the documented starting value. Compare different strengths while keeping the written brief unchanged to judge the treatment.

Is it a good choice for illustration or abstract art?

Its stated emphasis is natural lighting and skin texture over stylized imagery. That makes it a less direct fit for an illustration or abstract-art brief.

Get started

Start using FLUX.2 Realism LoRA in Gemini CLI

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

Paste this into Gemini CLI:

Set up Gemini CLI

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