Spiral gives your agent every tool with one account. Browse the tools →

Codex · Data

How to Use fal NSFW image check in Codex

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.

Prompts to try with fal NSFW image check in Codex

Copy an example into Codex, or ask in your own words.

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.

fal NSFW image checkCodex
Try asking
  • 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 Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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.

    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.

    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: Codex finds fal NSFW image check on Spiral, shows the price and runs it.

fal NSFW image check providers and prices

Spiral runs fal NSFW image check through fal. Open a card for today's price, with every fee included.

falData
NSFW Checker
fal-ai/x-ailab/nsfw

What can you do with fal NSFW image check in Codex?

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.

Questions about fal NSFW image check in Codex

Can Codex use fal NSFW image check?

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

How much does fal NSFW image check cost in Codex?

$0.0013 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.

Do I need a fal account to use fal NSFW image check in Codex?

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 Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while fal NSFW image check runs?

fal NSFW image check runs in the background. Codex 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.

Get started

Start using fal NSFW image check in Codex

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Codex:

Set up Codex

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options