[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [fal NSFW image check](https://spiral.ai/integrations/antigravity/fal-nsfw-image-check)

# How to Use fal NSFW image check in Google Antigravity

Returns a true or false NSFW flag for each checked image, with up to 10 images checked per call. Use it to screen images for explicit content before publication or send flagged assets to a review queue.

|  |  |
| --- | --- |
| Model | fal NSFW image check |
| Available through | fal |
| Category | Data |
| Price | $0.0013 per image. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with fal NSFW image check in Google Antigravity

- Use fal NSFW image check on https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg and save the returned flag as a sample response in this project's documentation.
- Use fal NSFW image check with https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg to verify our response parser against a real result.
- Use fal NSFW image check on https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg, then add the result to our moderation review screen.
- Use fal NSFW image check on https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg and report whether our publishing code would route its flag to review.
- Use fal NSFW image check with https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg and compare the actual response with the output type defined in this repository.

## How to set up fal NSFW image check in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **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`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **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

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run fal NSFW image check**: One request; the result comes back by polling or a webhook.

```bash
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/x-ailab/nsfw",
    "input": {
      "image_urls": [
        "https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg"
      ]
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds fal NSFW image check on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## fal NSFW image check tools and prices

- [NSFW Checker](https://spiral.ai/tools/fal/fal-ai/x-ailab/nsfw) (fal): $0.0013 per image.

## What can you do with fal NSFW image check in Google Antigravity?

Add an image review queue to a catalog or publishing project using fal's NSFW flags. A coding agent can batch the project's assets and connect flagged results to its editorial workflow.

### Review product listing images

Screen seller-supplied product photos and send flagged assets to a catalog reviewer before publication.

### Check campaign creative

Check brand-owned campaign images for NSFW flags before an editor selects the final assets.

### Screen generated images

Add an NSFW check between image generation and publication, routing flagged outputs to review.

### Review community gallery submissions

Check submitted artwork before it enters a public gallery and assemble a queue of flagged images.

### Audit a media library

Process an organization's licensed image collection in batches of up to 10 and compile flagged assets for editorial review.

### Check image replacements

Recheck replacement images in a publishing workflow before the revised assets go live.

### Evaluate a moderation workflow

Compare returned flags against reviewers' labels on an authorized image test set to identify disagreements before deployment.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## fal NSFW image check in other agents

- [Amp](https://spiral.ai/integrations/amp/fal-nsfw-image-check)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/fal-nsfw-image-check)
- [Claude](https://spiral.ai/integrations/claude-desktop/fal-nsfw-image-check)
- [Claude Code](https://spiral.ai/integrations/claude-code/fal-nsfw-image-check)
- [Cline](https://spiral.ai/integrations/cline/fal-nsfw-image-check)
- [Codex](https://spiral.ai/integrations/codex/fal-nsfw-image-check)
- [Cursor](https://spiral.ai/integrations/cursor/fal-nsfw-image-check)
- [Devin](https://spiral.ai/integrations/devin/fal-nsfw-image-check)
- [dots](https://spiral.ai/integrations/dots/fal-nsfw-image-check)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/fal-nsfw-image-check)
- [Gemini](https://spiral.ai/integrations/gemini/fal-nsfw-image-check)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/fal-nsfw-image-check)
- [goose](https://spiral.ai/integrations/goose/fal-nsfw-image-check)
- [Grok](https://spiral.ai/integrations/grok/fal-nsfw-image-check)
- [Grok Build](https://spiral.ai/integrations/grok-build/fal-nsfw-image-check)
- [Hermes](https://spiral.ai/integrations/hermes/fal-nsfw-image-check)
- [Instinct](https://spiral.ai/integrations/instinct/fal-nsfw-image-check)
- [Manus](https://spiral.ai/integrations/manus/fal-nsfw-image-check)
- [Muse](https://spiral.ai/integrations/muse/fal-nsfw-image-check)
- [Muse Code](https://spiral.ai/integrations/muse-code/fal-nsfw-image-check)
- [n8n](https://spiral.ai/integrations/n8n/fal-nsfw-image-check)
- [Notion](https://spiral.ai/integrations/notion/fal-nsfw-image-check)
- [OpenClaw](https://spiral.ai/integrations/openclaw/fal-nsfw-image-check)
- [opencode](https://spiral.ai/integrations/opencode/fal-nsfw-image-check)
- [Perplexity](https://spiral.ai/integrations/perplexity/fal-nsfw-image-check)
- [Raycast](https://spiral.ai/integrations/raycast/fal-nsfw-image-check)
- [VS Code](https://spiral.ai/integrations/vscode/fal-nsfw-image-check)
- [Windsurf](https://spiral.ai/integrations/windsurf/fal-nsfw-image-check)
- [Zapier](https://spiral.ai/integrations/zapier/fal-nsfw-image-check)

## More Google Antigravity guides

- [Sa2VA 8B video segmentation](https://spiral.ai/integrations/antigravity/sa2va-8b-video-segmentation)
- [fal image NSFW probability](https://spiral.ai/integrations/antigravity/fal-image-nsfw-probability)
- [Sa2VA 8B image segmentation](https://spiral.ai/integrations/antigravity/sa2va-8b-image-segmentation)
- [fal video analysis](https://spiral.ai/integrations/antigravity/fal-video-analysis)
- [Sa2VA 4B video segmentation](https://spiral.ai/integrations/antigravity/sa2va-4b-video-segmentation)
- [Artificial Analysis hosting endpoint search](https://spiral.ai/integrations/antigravity/artificial-analysis-hosting-endpoint-search)

## Questions about fal NSFW image check in Google Antigravity

**Can Google Antigravity use fal NSFW image check?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run fal NSFW image check like any built-in tool.

**How much does fal NSFW image check cost in Google Antigravity?**

$0.0013 per image. 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 fal NSFW image check in Google Antigravity?**

No. Spiral runs fal NSFW image check on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up fal NSFW image check in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while fal NSFW image check runs?**

fal NSFW image check runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Does fal return an NSFW confidence score?**

The documented output contains boolean flags only. It does not include a confidence percentage, explanation, or separate content categories.

**How many images can fal check in one call?**

Only the first 10 images are checked. Split larger collections into batches of 10 or fewer to avoid leaving images unchecked.

**What does the NSFW flag cover?**

fal describes NSFW images as likely to contain nudity, sexual content, or other explicit material. The result does not identify which of those triggered the flag.

**Does fal check the current image or a cached historical record?**

fal documents downloading the image file during processing. The check concerns the image served at the supplied URL, rather than an image history or publication archive.

**Can fal read an image behind a website login?**

A public URL must return the image file directly without cookies or authentication headers. A page that requires a signed-in browser does not meet that requirement.

