Photo Retouching (fal.ai)
@fal-ai-communityfal.ai's official fal-recipes skill: restore and clean up photos (deblur, denoise, dehaze, fix faces, restore scans) through the genmedia CLI.
Low to moderate risk: Markdown instructions that upload your photos to fal.ai for paid processing, with a pipe-to-shell CLI installer documented.
Install Photo Retouching (fal.ai) in Google Antigravity
Antigravity loads skills from .agents/skills/ in your project or ~/.gemini/config/skills/ for all projects (official docs). Full guide
Install the "Photo Retouching (fal.ai)" skill for Google Antigravity. Follow the steps at https://www.antigravityskills.org/install/photo-retouching.md (source: https://github.com/fal-ai-community/skills/tree/main/skills/fal-recipes). Before running anything, show me what you will download and whether it includes scripts, and wait for my OK. Install it into this project (.agents/skills/) unless I say global. When done, check that Antigravity lists it as an installed skill.
The agent reads the install file, shows you what it will download and waits for your OK.
Option 2: install it yourself
- 1. Clone the source repository
git clone --depth 1 https://github.com/fal-ai-community/skills /tmp/fal-skills
Downloads the repository (17 skill folders) into a temporary folder.
- 2. Copy 3 skills into your workspace (this project only)
mkdir -p .agents/skills && cp -r /tmp/fal-skills/skills/fal-recipes .agents/skills/fal-recipes && cp -r /tmp/fal-skills/skills/genmedia .agents/skills/genmedia && cp -r /tmp/fal-skills/skills/fal-models-catalog .agents/skills/fal-models-catalog
Run from your project root. fal-recipes needs genmedia (commands) and fal-models-catalog (endpoint defaults). Antigravity reads workspace skills from <project>/.agents/skills/<folder>/.
- 3. Or copy them globally (all projects)
mkdir -p ~/.gemini/config/skills && cp -r /tmp/fal-skills/skills/fal-recipes ~/.gemini/config/skills/fal-recipes && cp -r /tmp/fal-skills/skills/genmedia ~/.gemini/config/skills/genmedia && cp -r /tmp/fal-skills/skills/fal-models-catalog ~/.gemini/config/skills/fal-models-catalog
Use this instead of the workspace step. Antigravity reads global skills from ~/.gemini/config/skills/<folder>/.
- 4. Install the genmedia CLI and add your key
genmedia setup
Install genmedia from github.com/fal-ai-community/genmedia-cli (the genmedia skill also lists a curl-to-bash installer; read that script first), create a key at fal.ai/dashboard/keys, then run genmedia setup.
- 5. Check that Antigravity sees it
Antigravity 2.0 app: start a new conversation and ask "What skills do you have?" (the app has no /skills command). Antigravity CLI: run /skills; in a session that was already open, run /skills reload first. fal-recipes should be listed. We have not run this skill in Antigravity.
Paid API usage and image upload apply. The repository README does not mention Antigravity; .agents/skills/ is the folder genmedia init itself uses when it exists.
Using Claude Code, Cursor or Codex? See other assistants below.
What is Photo Retouching (fal.ai)?
How to use Photo Retouching (fal.ai)?
Key features of Photo Retouching (fal.ai)
- ✓Smart dispatch table: motion or focus blur to fal-ai/nafnet/deblur, sensor noise to fal-ai/nafnet/denoise, haze to fal-ai/mix-dehaze-net, damaged or low-res faces to fal-ai/codeformer, scanned documents to fal-ai/docres (we counted 5 in image-restoration.md)
- ✓CodeFormer fidelity from 0.0 to 1.0: lower is cleaner but identity may drift, 0.5-0.7 is suggested for most portraits (recipe says)
- ✓Chained restoration examples for noisy plus blurry photos and for old portraits (recipe says)
- ✓A quality bar the agent should check before returning: dominant defect fixed, face identity kept, documents more legible, intermediate results acceptable (recipe says)
- ✓Part of a bigger skill: fal-recipes has 10 recipe references (cinematography, commercial, virtual try-on, product shot, realism and others) beyond restoration (we counted)
When to use Photo Retouching (fal.ai)
- 1Deblur a slightly shaky photo
- 2Remove sensor noise from a high-ISO shot
- 3Restore a damaged or low-resolution portrait
- 4Clean up a scanned document so the text is legible
Installation & Setup Guide
Agent Rules / Prompt SetupFollow these steps (taken from the project's own docs) to configure Photo Retouching (fal.ai) in your development environment.
Create one at fal.ai/dashboard/keys, as the README says.
genmedia setup
README: install genmedia from github.com/fal-ai-community/genmedia-cli, then run genmedia setup.
README: upload skill .zip files from skills/ to a Claude.ai project. Upload fal-recipes, genmedia and fal-models-catalog.
genmedia init
README: installs the default skill bundle into .agents/skills/ or .claude/skills/. Per the genmedia reference that bundle is genmedia-ref plus genmedia, so copy fal-recipes and fal-models-catalog yourself.
The README names Claude Code but gives no path for these three skills. Claude Code docs (code.claude.com/docs/en/skills): ~/.claude/skills/<name>/ or .claude/skills/. Cursor docs (cursor.com/docs/context/skills): .cursor/skills/ or .agents/skills/. Cursor is not mentioned by the project.
Usage Example & Verification
1. (recipe example, references/image-restoration.md)
genmedia run fal-ai/codeformer --image_url "$URL" --fidelity 0.7 --download "./outputs/restored/{request_id}_{index}.{ext}" --json
2. (our example)
This old portrait scan is blurry and the face is damaged. Restore it, keep the person recognisable, and show me a before and after.
3. (our example)
This phone photo of a document is noisy. Clean it up so the text is easier to read.Antigravity 2.0 app: start a new conversation and ask "What skills do you have?" (the app has no /skills command). Antigravity CLI: run /skills; in a session that was already open, run /skills reload first. Then run genmedia --help to confirm the CLI is on your PATH.
Security Review
Static reviewLow to moderate risk: Markdown instructions that upload your photos to fal.ai for paid processing, with a pipe-to-shell CLI installer documented.
Full review: scope, findings, risks
fal-recipes, genmedia and fal-models-catalog contain only Markdown (fal-recipes: 11 files, genmedia: 2, fal-models-catalog: 11). The image-restoration recipe makes the agent run genmedia upload on your file (CDN upload), genmedia run on one of 5 fal-ai endpoints with --download into ./outputs/restored/, and jq to read the JSON. genmedia setup stores the API key in local config (or reads FAL_KEY); the genmedia reference also mentions auto-loading FAL_KEY from a project .env. The genmedia skill documents installing the CLI with a curl-to-bash command (Linux/macOS) and irm | iex (Windows); we did not review that script or the CLI. Cost is per model call.
Operational Notes & Known Limitations
Known Limitations
- •Needs a fal.ai API key and the genmedia CLI; calls are billed per use (genmedia pricing <endpoint> shows the cost)
- •Your photos are uploaded to the fal.ai CDN with genmedia upload, so do not use it for images you cannot send to a third party
- •genmedia init does not install fal-recipes: its reference says it installs only the 'genmedia-ref' and 'genmedia' core skills, into .agents/skills/ if that folder exists or .claude/skills/ otherwise. Copy fal-recipes yourself as in the steps here (we read full-reference.md)
- •The repository contradicts itself on method: fal-models-catalog/references/image-to-image.md says modern instruction-based edit endpoints have replaced specialist deblur and denoise models, while the recipe still dispatches to nafnet specialists. Check the endpoints with genmedia models before relying on them
- •Restoration only: no skin smoothing, blemish removal or manual retouching endpoint is documented. The recipe itself warns that heavy CodeFormer at low fidelity makes faces look generic
- •The README says MIT, but the repository has no LICENSE file at this commit
- •Antigravity: the README names Claude.ai and Claude Code and does not mention Antigravity; the steps below are our adaptation. Difference from the image-generation page on this site: that skill makes or edits images with OpenAI's API, this one repairs existing photos through fal.ai
Frequently Asked Questions
Is the photo-retouching skill safe?
The skill folders are Markdown only. What matters is what they tell the agent to run: genmedia upload sends your image to the fal.ai CDN, genmedia run is billed per call, and the genmedia skill suggests a curl-to-bash installer for the CLI. Read that script or install from GitHub, and keep your key out of shared files.
How do I install it in Antigravity?
Clone fal-ai-community/skills, copy fal-recipes, genmedia and fal-models-catalog into .agents/skills/ (or ~/.gemini/config/skills/), install the genmedia CLI and run genmedia setup. genmedia init alone is not enough, because it installs only the core genmedia skills.
Does it do skin smoothing or blemish removal?
No. The recipe covers restoration (blur, noise, haze, faces, documents) and warns against over-restoring faces. No beauty-retouching endpoint is documented in it.
What does it cost?
fal.ai bills per model call; genmedia pricing <endpoint_id> shows the price before you run. The skills themselves are free.
Is it really MIT licensed?
The README says MIT, but we found no LICENSE file in the repository at commit 9ca8504.
Supported Platforms
Keep exploring this topic
Browse the full Antigravity skills directory for more source-linked skills with install steps and static safety reviews.
Related Skills
Image Generation (imagegen)
@openai
OpenAI's imagegen skill: generate or edit raster images (photos, mockups, sprites, cutouts) with GPT Image models via a bundled Python CLI.
Pollinations AI
@pollinations
Official Pollinations skill for the polli CLI: generate images, text, audio, video and 3D, transcribe speech and check your Pollen balance.
ComfyUI
@Comfy-Org
Comfy-Org's official comfy skills: teach your agent to drive ComfyUI (local or Comfy Cloud) through comfy-cli to make images, video, audio and 3D.
Popular Skills
View All →Agent Manager
@sickn33
Manage multiple local CLI agents via tmux sessions.
Systematic Debugging
@sickn33
Debug systematically, not randomly. Find and fix bugs methodically.
Browser Automation (Playwright)
@sickn33
Expert browser automation for cleaning scraping and reliable testing.