How to Use fal image NSFW probability in Claude Code
Returns a numeric estimate of whether an image is not safe for work. Use the score to rank images for moderation review or apply your own screening threshold.
Prompts to try with fal image NSFW probability in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use fal image NSFW probability to score https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg and save the returned score as a real example in this project's moderation documentation.
Use fal image NSFW probability on https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg and add the actual score to the project's image review demo.
Use fal image NSFW probability to score https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg, then update our review component to display the returned numeric value.
Use fal image NSFW probability on https://upload.wikimedia.org/wikipedia/commons/3/3f/Fronalpstock_big.jpg and show how our existing moderation rule handles the actual result.
Use fal image NSFW probability to score https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg, then compare our project's review decisions at thresholds of 0.3 and 0.7.
How to set up fal image NSFW probability in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 fal image NSFW probability
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/imageutils/nsfw", "input": { "image_url": "https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg" } }'
Then paste one of the prompts above: Claude Code finds fal image NSFW probability on Spiral, shows the price and runs it.
fal image NSFW probability providers and prices
Spiral runs fal image NSFW probability through fal. Open a card for today's price, with every fee included.
What can you do with fal image NSFW probability in Claude Code?
Add NSFW scores to the project's image review queue so reviewers can sort campaign artwork by score. Use fal's numeric result to implement and test the team's chosen screening rule.
Prioritize a moderation queue
Score approved business image submissions and sort them by NSFW probability so reviewers can inspect the highest scores first.
Screen generated campaign artwork
Check generated advertising images before editorial review and route images above your chosen threshold to a reviewer.
Review marketplace listing photos
Attach an NSFW score to seller-authorized product photos and flag listings that need a closer look before publication.
Compare screening thresholds
Score a licensed image collection that reviewers have already labeled, then compare which images each proposed threshold would flag.
Check promotional image crops
Score approved originals and their proposed crops separately to see which versions warrant moderation review.
Audit a publishing workflow
Compare NSFW scores with your team's recorded publication decisions to identify images worth revisiting.
More on fal image NSFW probability and Claude Code
Overview
fal image NSFW probability in other agents
Questions about fal image NSFW probability in Claude Code
Can Claude Code use fal image NSFW probability?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run fal image NSFW probability like any built-in tool.
How much does fal image NSFW probability cost in Claude Code?
$0.0013 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need a fal account to use fal image NSFW probability in Claude Code?
No. Spiral runs fal image NSFW probability 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 image NSFW probability in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while fal image NSFW probability runs?
fal image NSFW probability runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
What does fal's image NSFW detector return?
It returns one floating-point NSFW probability score for the supplied image. The documented output contains no category breakdown or written explanation.
Does the detector blur or remove explicit content?
The documented result is a probability score. It contains no blurred image or replacement image, so any image editing belongs in a separate step.
Does a low score guarantee that an image is safe?
No. This endpoint produces a probability estimate, and fal's API terms acknowledge that AI output can be incorrect.
Can fal read an image behind a website login?
For hosted images, fal documents support for publicly accessible URLs. A link that requires a website login falls outside that documented requirement.
Can I submit any image that is publicly visible?
Public visibility alone does not meet fal's content requirements. Its terms require the necessary rights, consents, licenses, or permissions to submit the image for processing.
Start using fal image NSFW probability in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


