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

Grok Build · ImageReleased 2025-09-08

How to Use FLUX.1 SRPO Dev in Grok Build

FLUX.1 SRPO Dev turns text descriptions into images for portrait concepts, editorial illustrations, and scene studies. It fine-tunes FLUX.1 Dev to improve realism and visual quality, making it useful when lighting, texture, and composition drive the brief.

Prompts to try with FLUX.1 SRPO Dev in Grok Build

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

Read the homepage copy and design tokens, then use FLUX.1 SRPO Dev to create a 1024 × 1024 workshop scene for the page: a potter shaping a clay bowl beside a window, soft side light, visible clay texture, and space above the subject for a heading.

FLUX.1 SRPO DevGrok Build
Try asking
  • Use FLUX.1 SRPO Dev to generate a 1024 × 1024 editorial image for the gardening article in this project. Show a person tending seedlings on an apartment balcony, morning sunlight crossing terracotta pots, realistic leaf texture, and a composition that keeps the main action near the center.

  • Read the game's environment brief and use FLUX.1 SRPO Dev to create a 1024 × 1024 concept image of its harbor district. Translate the written architecture and weather into a street-level scene with wet stone, moored boats, overcast light, and a clear foreground.

  • Use FLUX.1 SRPO Dev to create a 1024 × 1024 still life for the bookstore page: three closed clothbound books beside a ceramic cup on a walnut table, soft window light, visible fabric texture, and generous surrounding space. Add the page title separately in HTML.

  • Read the visual brief and use FLUX.1 SRPO Dev to explore its portrait direction at 1024 × 1024. Depict a fictional bicycle mechanic in a workshop, waist-up framing, natural skin texture, worn cotton clothing, and soft window light; try guidance 3.5 and 50 steps.

How to set up FLUX.1 SRPO Dev in Grok Build

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

Use Spiral's MCP server

  1. Add the server

    Add --scope project to add Spiral to the current repository only. No header and no client ID or secret: Grok registers itself with Spiral.

    grok mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start grok and run /mcps. Select Spiral and press i. Your browser opens: sign in to Spiral, pick the organization and click Authorize. No API key.

  3. Check it
    grok mcp doctor spiral

Use the Spiral skill

  1. Send Grok Build 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 SRPO 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/srpo",
        "input": {
          "prompt": "Mountain guide, sturdy build, wilderness wisdom, alert gaze, technical outdoor gear with rope coils, snow-capped peaks background, crisp mountain lighting,…"
        }
      }'

Then paste one of the prompts above: Grok Build finds FLUX.1 SRPO Dev on Spiral, shows the price and runs it.

FLUX.1 SRPO Dev providers and prices

Spiral runs FLUX.1 SRPO Dev through fal. Open a card for today's price, with every fee included.

falImage

Settings you can ask for

FLUX.1 SRPO Dev works from your prompt. Ask Grok Build 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 SRPO [dev] · Text to Image is on its tool page: open its card above.

What can you do with FLUX.1 SRPO Dev in Grok Build?

Create original scene assets from the project's written design requirements with FLUX.1 SRPO. A coding agent can read the relevant files, draft image briefs, and place selected results in the interface.

Editorial lead images

Illustrate an article's theme with an invented scene. Specify a clear subject, directional light, and room for a headline.

Website scene assets

Create original workshop, landscape, or interior imagery from a written design brief. Match the scene's palette and composition to the page.

Portrait concept boards

Explore fictional portrait subjects with different wardrobe, framing, and lighting treatments before planning a shoot.

Still-life art direction

Develop concepts around ceramics, flowers, books, or fabric. Describe the materials and light to explore a visual treatment before production.

Environment concept studies

Turn written descriptions of fictional streets, buildings, and landscapes into scene concepts for a game or story pitch.

Lighting studies

Compare separate interpretations of a written scene under window light, overcast daylight, or a studio softbox. Use the results to discuss an art direction.

Questions about FLUX.1 SRPO Dev in Grok Build

Can Grok Build use FLUX.1 SRPO Dev?

Yes. Add Spiral to Grok Build as an MCP server, and Grok Build can find and run FLUX.1 SRPO Dev like any built-in tool.

How much does FLUX.1 SRPO Dev cost in Grok Build?

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

Do I need a fal account to use FLUX.1 SRPO Dev in Grok Build?

No. Spiral runs FLUX.1 SRPO 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 SRPO Dev in Grok Build?

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

Does Grok Build wait while FLUX.1 SRPO Dev runs?

FLUX.1 SRPO Dev runs in the background. Grok Build starts the run, checks on it and gives you the image when it's ready.

What is FLUX.1 SRPO good at?

Its main focus is realism and visual quality. Consider it for portrait concepts, editorial imagery, and scene studies where lighting, texture, and composition matter.

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

SRPO fine-tunes FLUX.1 Dev using human preference signals. Tencent reports improved realism and aesthetic quality in its human evaluation.

What image size should I start with?

Start with 1024 × 1024 for a square composition. That is the size used in Tencent's SRPO inference example.

What guidance and step count should I try?

Tencent's reference example uses guidance 3.5 and 50 steps. The paper specifically uses guidance 3.5 to avoid oversmoothing and artifacts from high guidance, so increasing guidance is not automatically an improvement.

How should I write an effective prompt?

Write a concrete scene in descriptive prose. Include the subject and action, visual medium, setting, lighting, and framing, following Black Forest Labs' guidance for FLUX.

Get started

Start using FLUX.1 SRPO Dev in Grok Build

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

Paste this into Grok Build:

Set up Grok Build

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