Endpoint: POST https://fal.run/fal-ai/imageutils/nsfw
Endpoint ID: fal-ai/imageutils/nsfw
Try it in the Playground
Run this model interactively with your own prompts.
Quick Start
import fal_client
def on_queue_update(update):
if isinstance(update, fal_client.InProgress):
for log in update.logs:
print(log["message"])
result = fal_client.subscribe(
"fal-ai/imageutils/nsfw",
arguments={
"image_url": "https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg"
},
with_logs=True,
on_queue_update=on_queue_update,
)
print(result)
Output Schema
The probability of the image being NSFW.
{
"image_url": "https://storage.googleapis.com/falserverless/model_tests/remove_background/elephant.jpg"
}