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

Grok · Image

How to Use FLUX.2 Flash in Grok

Use FLUX.2 Flash to create images from descriptions, including realistic scenes and text within images. Unlike FLUX.2 Flash Edit, it starts from text alone.

Prompts to try with FLUX.2 Flash in Grok

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

Use FLUX.2 Flash to create a square poster for a neighborhood book exchange. Put "Take a book, leave a book" across the top in large dark lettering. Below it, show a wooden street library surrounded by flowering plants. Make it 1024 × 1024.

FLUX.2 FlashGrok
Try asking
  • Generate a product photo with FLUX.2 Flash: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.

  • Make four logo concepts for a coffee brand called "Northline" with FLUX.2 Flash.

  • Create a 16:9 hero image of a quiet mountain cabin at dusk with FLUX.2 Flash.

  • Generate a 9:16 poster with FLUX.2 Flash for a jazz night called "Blue Hour", deep navy and brass tones.

How to set up FLUX.2 Flash in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

  1. Send Grok 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 Flash

    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/flash",
        "input": {
          "prompt": "An army of ants battles for a sugar cube in a giant sandbox, with tiny plastic soldier toys caught in the melee. Ant bodies shine against gritty beige sand and…"
        }
      }'

Then paste one of the prompts above: Grok finds FLUX.2 Flash on Spiral, shows the price and runs it.

FLUX.2 Flash providers and prices

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

falImage

Settings you can ask for

FLUX.2 Flash works from your prompt. Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Guidance scale0 to 202.5

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.

Seeda whole number

The seed to use for the generation. If not provided, a random seed will be used.

Number of images1 to 41

The number of images to generate.

Enable prompt expansionon or offoff

If set to true, the prompt will be expanded for better results.

Output formatjpeg, png, or webppng

The format of the generated image.

Every API field of FLUX 2 Flash · Text to Image is on its tool page: open its card above.

What can you do with FLUX.2 Flash in Grok?

Turn a conversation about an image into a concrete visual concept. Describe the result in everyday language, including the subject, lighting, composition, and any exact words that should appear.

Product concept photography

Create product concepts from a written brief, with specific materials, camera angles, and lighting. Explore packaging or industrial design before arranging a shoot.

Editorial cover concepts

Develop cover images with a clear focal subject and a short, explicitly quoted headline. Specify where the headline sits relative to the subject.

Interface design concepts

Create visual concepts for app screens with named sections, clear placement instructions, and exact button text. Use the image to discuss layout and art direction.

Explanatory posters

Turn a short explanation into a poster with a title, a few labeled sections, and a specified illustration style. Supply every label you want rendered.

Questions about FLUX.2 Flash in Grok

Can Grok use FLUX.2 Flash?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run FLUX.2 Flash like any built-in tool.

How much does FLUX.2 Flash cost in Grok?

$0.005135 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 Grok plan is separate.

Do I need a fal account to use FLUX.2 Flash in Grok?

No. Spiral runs FLUX.2 Flash 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 Flash in Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while FLUX.2 Flash runs?

FLUX.2 Flash runs in the background. Grok starts the run, checks on it and gives you the image when it's ready.

What is FLUX.2 good at?

FLUX.2 is useful for realistic product imagery, editorial scenes, and designs that include text. Specify the materials, lighting, composition, and exact wording you want.

How large can FLUX.2 images be?

These FLUX.2 tools support dimensions from 512 to 2048 pixels per side. A square image can reach 2048 × 2048 pixels, roughly four megapixels.

How should I write a FLUX.2 prompt?

Describe the subject, action, visual style, and setting. Use concrete details such as brushed steel, side lighting, or an overhead view.

Does FLUX.2 support negative prompts?

No. Describe the desired result positively: ask for an empty street or sharp focus instead of listing things to exclude.

How do I get readable text in FLUX.2 images?

Put the exact wording in quotation marks and describe its position and appearance. Black Forest Labs warns that text-bearing objects can produce gibberish when you leave their wording unspecified.

Get started

Start using FLUX.2 Flash in Grok

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

Paste this into Grok:

Set up Grok

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