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

Gemini CLI · ImageReleased 2025-07-31

How to Use FLUX.1 Krea Dev in Gemini CLI

FLUX.1 Krea Dev creates images from text, with a focus on realistic photography and deliberate art direction. Compared with FLUX.1 Dev, its training emphasizes distinctive aesthetics and reducing the oversaturated AI look.

Prompts to try with FLUX.1 Krea Dev in Gemini CLI

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

Read the bakery homepage copy and use FLUX.1 Krea Dev to create a photographic concept of a baker shaping dough beside a morning window. Leave space on the left for the heading.

FLUX.1 Krea DevGemini CLI
Try asking
  • Use FLUX.1 Krea Dev to generate a 1024 × 1024 photograph concept for our gardening article: a rooftop planter, damp soil, early sunlight, and apartment buildings beyond.

  • Check the outdoor brand's written design brief, then use FLUX.1 Krea Dev to create a misty campsite photograph concept with restrained colors. Save the result with a descriptive filename.

  • Use FLUX.1 Krea Dev to create a ceramic mug shoot concept for the shop redesign: pale wooden table, linen cloth, side lighting, and an uncluttered composition. Keep product copy in HTML.

  • Use FLUX.1 Krea Dev to generate a square reading-room concept at 1024 × 1024 with 28 steps and guidance 4.5. Add it to the design preview for review.

How to set up FLUX.1 Krea Dev 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.1 Krea Dev

    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-1/krea",
        "input": {
          "prompt": "A candid street photo of a woman with a pink bob and bold eyeliner on a graffiti-covered subway platform. She wears a bright yellow patent leather coat over a…"
        }
      }'

Then paste one of the prompts above: Gemini CLI finds FLUX.1 Krea Dev on Spiral, shows the price and runs it.

FLUX.1 Krea Dev providers and prices

Spiral runs FLUX.1 Krea Dev through fal and fal. Open a card for today's price, with every fee included. Name one in your prompt, or let Gemini CLI pick.

falImage
falImage

Settings you can ask for

FLUX.1 Krea Dev works from your prompt. Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Number of inference steps1 to 5028

The number of inference steps to perform.

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.

Guidance scale (CFG)1 to 204.5

The CFG (Classifier Free Guidance) scale is a measure of how close you want

the model to stick to your prompt when looking for a related image to show you.

Number of images1 to 41

The number of images to generate.

Output formatjpeg or pngjpeg

The format of the generated image.

Accelerationnone, regular, or highnone

The speed of the generation. The higher the speed, the faster the generation.

Every API field of FLUX.1 Krea [dev] · Text to Image is on its tool page: open its card above.

What can you do with FLUX.1 Krea Dev in Gemini CLI?

Create photographic assets while building a website or app. A coding agent can turn the project's written content into image briefs and place selected results into the layout.

Editorial article artwork

Create a photographic illustration for an article about urban gardening, remote work, or slow travel. Specify the scene and leave room for the headline.

Campaign art direction

Explore a campaign through written briefs for lighting, setting, and color. Compare a quiet morning scene with a dramatic evening treatment before commissioning a shoot.

Interior design concepts

Visualize an imagined reading nook or living room from descriptions of materials, furniture, and daylight. Use the images to discuss mood and styling.

Product shoot planning

Stage an imagined ceramic mug or perfume bottle in different photographic settings. Use the results to plan backgrounds, props, and camera framing.

Portrait lighting studies

Develop portrait briefs around window light, direct flash, or evening street lighting. Compare the proposed mood and framing before a session.

Website photography concepts

Generate original scene concepts for a bakery, outdoor brand, or design studio website. Request a clear focal subject and space for surrounding page copy.

Film location mood boards

Imagine a rainy storefront, a rural roadside diner, or an apartment at dusk. Describe the atmosphere and camera position to support discussions about a scene.

Questions about FLUX.1 Krea Dev in Gemini CLI

Can Gemini CLI use FLUX.1 Krea Dev?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run FLUX.1 Krea Dev like any built-in tool.

How much does FLUX.1 Krea Dev cost in Gemini CLI?

$0.0325 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.1 Krea Dev in Gemini CLI?

No. Spiral runs FLUX.1 Krea Dev 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 Krea Dev in Gemini CLI?

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

Does Gemini CLI wait while FLUX.1 Krea Dev runs?

FLUX.1 Krea Dev runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.

What is FLUX.1 Krea good at?

Its main focus is realistic photography with distinctive art direction. Consider it for editorial images, campaign concepts, and photographic mood boards.

How does FLUX.1 Krea differ from FLUX.1 Dev?

FLUX.1 Krea puts more emphasis on a particular aesthetic taste and reducing oversaturated textures. Choose it when photographic mood and visual character are central to the brief.

What resolution should I start with?

Try 1024 × 1024 for a square draft. Krea recommends resolutions between 1024 and 1280 pixels; that recommendation does not establish a maximum output size.

Which generation settings are a useful starting point?

Start with 28 steps and guidance of 4.5. Both sit within Krea's recommended ranges of 28 to 32 steps and guidance of 3.5 to 5.0.

How should I write a FLUX.1 Krea prompt?

Use a concrete photographic brief: subject, surroundings, framing, lighting, and color palette. Review the result against the brief, since the model can miss requested details.

Get started

Start using FLUX.1 Krea Dev 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