How to Use Image Editing Realism in Gemini CLI
Image Editing Realism enhances existing portraits with facial detail, skin texture, and blur reduction. Use it for a realism pass on a face, then compare the result with the original before choosing it.
Prompts to try with Image Editing Realism in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Image Editing Realism on public/images/team/alex.jpg. Save the result separately and build a local comparison view at the team page's current portrait size.
Use Image Editing Realism on the author portrait in public/images/author.jpg. Show the original and result beside the existing biography layout so I can inspect the face.
Use Image Editing Realism to test three LoRA strengths on public/images/speaker.jpg. Hold the other settings steady and label each result in a local comparison page.
Use Image Editing Realism on public/images/profile.jpg for a facial detail pass. Report the result's dimensions and preview it in the project's profile photo component.
Use Image Editing Realism to test blur reduction on public/images/portrait-soft.jpg. Keep the original and add matching face crops to a review page.
How to set up Image Editing Realism in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI 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 Image Editing Realism
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/image-editing/realism", "input": { "image_url": "https://v3.fal.media/files/penguin/QpRcoPb4dDyDJJSpFm4CZ_img_55_start.jpg" } }'
Then paste one of the prompts above: Gemini CLI finds Image Editing Realism on Spiral, shows the price and runs it.
Image Editing Realism providers and prices
Spiral runs Image Editing Realism through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Image Editing Realism works from your image URL. Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Guidance scale | 0 to 20 | 3.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 inference steps | 1 to 50 | 30 | Number of inference steps for sampling. |
| LoRA scale | 0 to 2 | 0.6 | The scale factor for the LoRA model. Controls the strength of the LoRA effect. |
| 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. |
Every API field of Image Editing Realism is on its tool page: open its card above.
What can you do with Image Editing Realism in Gemini CLI?
Prepare portrait assets for team pages, author biographies, and speaker listings with Image Editing Realism. Your coding agent can use project images and build a comparison view for reviewing facial detail.
Team page portraits
Try facial enhancement on existing staff headshots, then review each result beside its source before updating the team page.
Speaker biographies
Prepare submitted speaker portraits for review, focusing on facial detail and blur.
Author headshots
Test a realism pass on an author's existing portrait and inspect it at the intended biography size.
Profile photo selection
Compare an existing profile photo with an enhanced result before choosing the version to publish.
Portrait retouching review
Compare several realism strengths on one portrait to decide how much facial detail and skin texture suits the brief.
Soft portrait assessment
Test blur reduction on a soft portrait and review the face closely before deciding whether the result is usable.
More on Image Editing Realism and Gemini CLI
Overview
Image Editing Realism in other agents
Questions about Image Editing Realism in Gemini CLI
Can Gemini CLI use Image Editing Realism?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Image Editing Realism like any built-in tool.
How much does Image Editing Realism cost in Gemini CLI?
$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need a fal account to use Image Editing Realism in Gemini CLI?
No. Spiral runs Image Editing Realism on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Image Editing Realism in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Image Editing Realism runs?
Image Editing Realism runs in the background. Gemini CLI starts the run, checks on it and gives you the image when it's ready.
What is Image Editing Realism best suited for?
Its documented focus is portrait enhancement: adding facial detail, improving facial features, and reducing blur. Try it when the face needs attention, then compare the result with the source.
Can Image Editing Realism help with blurry faces?
Blur removal is one of its stated uses. Test the portrait and inspect the eyes, mouth, and facial outline before accepting the result.
Does Image Editing Realism work on skin texture?
Yes. The documentation specifically names skin texture as an enhancement target; compare skin areas closely when choosing a result.
How should I adjust the realism strength?
LoRA scale controls the effect's strength. Compare a few strengths on the same portrait while holding other settings steady, then choose the result that meets your brief.
What output resolution should I expect?
The documentation describes output dimensions in pixels but does not promise a fixed resolution. Check the returned image's dimensions before committing it to a layout.
Start using Image Editing Realism in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


