How to Use FLUX.1 SRPO Dev in Google Antigravity
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 Google Antigravity
Copy an example into Google Antigravity, 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.
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 Google Antigravity
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Open the MCP config
* Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.
- Add the server
Add Spiral under mcpServers:
{ "mcpServers": { "spiral": { "serverUrl": "https://api.spiral.ai/mcp" } } } - Sign in
In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.
Use the Spiral skill
- Send Google Antigravity this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- 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: Google Antigravity 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.
$0.0325 per megapixel. image_size presets count as 1 MP; custom sizes round up to whole megapixels. Billed on num_images, default 1.
Settings you can ask for
FLUX.1 SRPO Dev works from your prompt. Ask Google Antigravity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of inference steps | 1 to 50 | 28 | The number of inference steps to perform. |
| Seed | a 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 20 | 4.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 images | 1 to 4 | 1 | The number of images to generate. |
| Output format | jpeg or png | jpeg | The format of the generated image. |
| Acceleration | none, regular, or high | none | 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 Google Antigravity?
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.
More on FLUX.1 SRPO Dev and Google Antigravity
Overview
FLUX.1 SRPO Dev in other agents
More Google Antigravity guides
Questions about FLUX.1 SRPO Dev in Google Antigravity
Can Google Antigravity use FLUX.1 SRPO Dev?
Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run FLUX.1 SRPO Dev like any built-in tool.
How much does FLUX.1 SRPO Dev cost in Google Antigravity?
$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 Google Antigravity plan is separate.
Do I need a fal account to use FLUX.1 SRPO Dev in Google Antigravity?
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 Google Antigravity?
About two minutes: open the MCP config, then add the server, then sign in.
Does Google Antigravity wait while FLUX.1 SRPO Dev runs?
FLUX.1 SRPO Dev runs in the background. Google Antigravity 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.
Start using FLUX.1 SRPO Dev in Google Antigravity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Google Antigravity:
set up https://spiral.ai/SKILL.md


