How to Use FLUX.2 Klein 4B Base LoRA in Gemini
FLUX.2 Klein 4B Base LoRA generates images with custom style adaptation. Unlike FLUX.2 Klein 4B Base, it can apply trained LoRA adapters for a learned aesthetic or character.
Prompts to try with FLUX.2 Klein 4B Base LoRA in Gemini
Copy an example into Gemini, or ask in your own words.
Use FLUX.2 Klein 4B Base LoRA with my supplied style adapter and its documented trigger phrase. Create a 1024 by 1024 illustration of a lighthouse during a rainstorm, with a low viewpoint, rough waves, and a narrow beam of light crossing the sky.
Generate a product photo with FLUX.2 Klein 4B Base LoRA: 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 Klein 4B Base LoRA.
Create a 16:9 hero image of a quiet mountain cabin at dusk with FLUX.2 Klein 4B Base LoRA.
Generate a 9:16 poster with FLUX.2 Klein 4B Base LoRA for a jazz night called "Blue Hour", deep navy and brass tones.
How to set up FLUX.2 Klein 4B Base LoRA in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini 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.2 Klein 4B Base 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/klein/4b/base/lora", "input": { "prompt": "A serene Japanese garden with cherry blossoms, koi pond, and traditional wooden bridge at golden hour" } }'
Then paste one of the prompts above: Gemini finds FLUX.2 Klein 4B Base LoRA on Spiral, shows the price and runs it.
FLUX.2 Klein 4B Base LoRA providers and prices
Spiral runs FLUX.2 Klein 4B Base LoRA through fal. Open a card for today's price, with every fee included.
$0.016432 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.2 Klein 4B Base LoRA works from your prompt. Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Negative prompt | what to leave out, in words | Negative prompt for classifier-free guidance. Describes what to avoid in the image. | |
| Guidance scale | 0 to 20 | 5 | Guidance scale for classifier-free guidance. |
| Seed | a whole number | The seed to use for the generation. If not provided, a random seed will be used. | |
| Number of inference steps | 4 to 50 | 28 | The number of inference steps to perform. |
| Number of images | 1 to 4 | 1 | The number of images to generate. |
| Acceleration | none, regular, or high | regular | The acceleration level to use for image generation. |
| Output format | jpeg, png, or webp | png | The format of the generated image. |
Every API field of FLUX.2 [klein] 4B Base LoRA · Text to Image is on its tool page: open its card above.
What can you do with FLUX.2 Klein 4B Base LoRA in Gemini?
Turn a written idea into images you can compare while discussing art direction. A chat assistant can help specify the scene, lighting, and composition, then revise the brief after you review the result.
Website hero image concepts
Generate scenes from a written creative brief, with the subject placed to leave room for a headline. Compare lighting and framing before choosing a direction.
Product photography concepts
Describe a proposed product, surface, camera angle, and lighting to explore a shoot concept. Use the results to plan photography and art direction.
Article illustrations
Turn an article's central idea into a visual metaphor, such as a crowded desk for an essay about distraction. Specify the medium and composition in the brief.
Campaign art direction
Explore the same campaign idea through different settings, lighting treatments, and visual styles. Compare the images before committing to production.
Fictional environments
Describe a game location or story setting, including architecture, weather, viewpoint, and atmosphere. Generate concept images for a creative review.
Poster lettering studies
Explore a poster with a short headline and a clear visual subject. Check the generated spelling and redraw the final lettering when precision matters.
Artwork in a trained style
Apply a trained style LoRA to new subjects for an illustrated campaign or publication. Include the adapter's documented trigger phrase in each scene description.
Recurring character concepts
Use a trained character LoRA to depict a character in different scenes and poses. Review each result for consistency before assembling a sequence.
More on FLUX.2 Klein 4B Base LoRA and Gemini
Overview
FLUX.2 Klein 4B Base LoRA in other agents
Questions about FLUX.2 Klein 4B Base LoRA in Gemini
Can Gemini use FLUX.2 Klein 4B Base LoRA?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run FLUX.2 Klein 4B Base LoRA like any built-in tool.
How much does FLUX.2 Klein 4B Base LoRA cost in Gemini?
$0.016432 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 plan is separate.
Do I need a fal account to use FLUX.2 Klein 4B Base LoRA in Gemini?
No. Spiral runs FLUX.2 Klein 4B Base 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 Klein 4B Base LoRA in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while FLUX.2 Klein 4B Base LoRA runs?
FLUX.2 Klein 4B Base LoRA runs in the background. Gemini starts the run, checks on it and gives you the image when it's ready.
What is FLUX.2 Klein 4B Base good at?
It is useful for realistic image concepts and exploring different visual treatments of a written brief. Its undistilled design gives it more output diversity than distilled Klein models.
How does Base differ from distilled Klein?
Base preserves the full training signal and favors flexibility and control. Treat it as a model for deliberate visual exploration; the maker's 4B Base example uses 50 inference steps.
How should I write a prompt?
Describe a scene in connected sentences, including the subject, setting, lighting, composition, and style. Black Forest Labs recommends narrative descriptions instead of keyword lists.
What image size is a documented starting point?
The maker demonstrates 1024 by 1024 output for 4B Base. Use that square canvas for an initial comparison, then compose for the shape your project needs.
Can I trust generated lettering?
Review every word before using the image. The model can render text, but its model card warns that lettering can be inaccurate or distorted.
Start using FLUX.2 Klein 4B Base LoRA in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


