How to Use Gemini 2.5 Flash Image in Grok
Gemini 2.5 Flash Image creates illustrations, product concepts, and scenes from written descriptions. Unlike Gemini 2.5 Flash Image Edit, it starts from text alone, making it useful when you have a brief but no reference image.
Prompts to try with Gemini 2.5 Flash Image in Grok
Copy an example into Grok, or ask in your own words.
Use Gemini 2.5 Flash Image to create a landscape illustration for an article about repairing household objects. Show a wooden workbench with a lamp being repaired, afternoon window light, and open space above the bench for a title.
Use Gemini 2.5 Flash Image to create a tall portrait illustration of a fox reading beneath an oak tree. Use watercolor textures, muted autumn colors, and a simple background without lettering.
Use Gemini 2.5 Flash Image to create a square packaging concept for loose-leaf tea. Show a paper canister with a botanical illustration on a plain tabletop; leave the label area blank for final typography.
Generate a product photo with Gemini 2.5 Flash Image: 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 Gemini 2.5 Flash Image.
How to set up Gemini 2.5 Flash Image in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- 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
- 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.
- 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
- Send Grok 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 Gemini 2.5 Flash Image
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/gemini-25-flash-image", "input": { "prompt": "An action shot of a black lab swimming in an inground suburban swimming pool. The camera is placed meticulously on the water line, dividing the image in half,…" } }'
Then paste one of the prompts above: Grok finds Gemini 2.5 Flash Image on Spiral, shows the price and runs it.
Gemini 2.5 Flash Image providers and prices
Spiral runs Gemini 2.5 Flash Image through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Gemini 2.5 Flash Image works from your prompt. Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of images | 1 to 4 | 1 | The number of images to generate. |
| Seed | a whole number | The seed for the random number generator. | |
| Aspect ratio | 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4 and 2 more | 1:1 | The aspect ratio of the generated image. |
| Output format | jpeg, png, or webp | png | The format of the generated image. |
| Safety tolerance | 1 to 6 | 4 | The safety tolerance level for content moderation. 1 is the most strict (blocks most content), 6 is the least strict. |
| Limit generations | on or off | on | Experimental parameter to limit the number of generations from each round of prompting to 1. Set to |
Every API field of Gemini 2.5 Flash Image · Text to Image is on its tool page: open its card above.
What can you do with Gemini 2.5 Flash Image in Grok?
Turn a written idea into artwork you can review in conversation. Use the chat to make the subject, setting, and composition explicit before requesting an image with Gemini 2.5 Flash Image.
Article illustrations
Illustrate an article's main idea from a written brief, or adapt an existing illustration with Gemini 2.5 Flash Image Edit. Leave space for the headline to be added separately.
Product scene concepts
Explore a product scene from a description. Use Gemini 2.5 Flash Image Edit when the concept needs to start with an actual product photo, then inspect identifying details.
Social post artwork
Create a scene for a portrait or square post, or revise existing artwork with Gemini 2.5 Flash Image Edit. Keep the caption outside the generated picture when exact wording matters.
Packaging concepts
Explore package shapes, materials, and visual treatments before production design. Start from a description or use Gemini 2.5 Flash Image Edit to revise a photographed mockup.
Story scene development
Develop illustrated scenes with explicit character and style descriptions. Use Gemini 2.5 Flash Image Edit when a previous picture should guide the character's appearance.
Website artwork
Create landscape artwork for an article header or landing page, or revise an existing asset with Gemini 2.5 Flash Image Edit. Describe where the subject should sit relative to the page's text.
More on Gemini 2.5 Flash Image and Grok
Overview
Gemini 2.5 Flash Image in other agents
Questions about Gemini 2.5 Flash Image in Grok
Can Grok use Gemini 2.5 Flash Image?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Gemini 2.5 Flash Image like any built-in tool.
How much does Gemini 2.5 Flash Image cost in Grok?
$0.05174 per image. 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 Gemini 2.5 Flash Image in Grok?
No. Spiral runs Gemini 2.5 Flash Image on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Gemini 2.5 Flash Image 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 Gemini 2.5 Flash Image runs?
Gemini 2.5 Flash Image runs in the background. Grok starts the run, checks on it and gives you the image when it's ready.
What is Gemini 2.5 Flash Image useful for?
Use it for illustrations, product concepts, editorial scenes, and related visual assets. Describe the subject, setting, and intended appearance in a clear brief.
How should I write a Gemini 2.5 Flash Image prompt?
Describe one coherent scene in sentences: who or what appears, where it sits, and how it should look. For example, describe a ceramic mug beside a window in soft morning light instead of listing unrelated style words.
Can I rely on text inside the image?
Proofread it before use, especially when it contains several sentences or small lettering. Google lists long-form text rendering as a known weakness; for text-heavy designs, consider adding the final copy in a design editor.
What dimensions does Gemini 2.5 Flash Image produce?
Google documents 1344 × 768 pixels for a 16:9 landscape image, 768 × 1344 for a 9:16 portrait image, and 1536 × 672 for a 21:9 image. Choose the composition around its final placement.
Should I check small details before publishing?
Yes. Google identifies factual representation of fine details as a limitation, so inspect any detail that carries meaning, such as a product feature or a diagram label.
Start using Gemini 2.5 Flash Image in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


