# nsfw-classifier > NSFW check for images and text This file is intended for AI coding agents wiring an application to this specific Chutes model. ## Important URLs - Model page: https://chutes.ai/app/chute/vonkaiser-nsfw-classifier - Model llms.txt: https://chutes.ai/app/chute/vonkaiser-nsfw-classifier/llms.txt - Global Chutes llms.txt: https://chutes.ai/llms.txt - Full Chutes docs export: https://chutes.ai/llms-full.txt - OpenAPI schema: https://api.chutes.ai/openapi.json ## Model Identifiers - Name: `nsfw-classifier` - Chute ID: `49e41e9c-275e-5877-bd61-30c7bef0cf47` - Slug: `vonkaiser-nsfw-classifier` - Owner: `vonkaiser` ## Authentication - Use `Authorization: Bearer $CHUTES_API_KEY` for inference calls. - Send JSON request bodies with `Content-Type: application/json` unless the endpoint documentation says otherwise. - The request body is FLAT — send the request fields at the top level (no `input_args`/`args` wrapper). - This model is served on its own host (`https://vonkaiser-nsfw-classifier.chutes.ai`). Call the endpoint paths listed below directly. - For base64 media fields, send raw base64 strings in API requests. The web playground may use temporary Blob upload references internally for large files before proxying to Chutes. ## Endpoints ### 1. POST /image - Base URL: `https://vonkaiser-nsfw-classifier.chutes.ai` - Output content type: `application/json` - Playground note: Submit an image or text sample and inspect the returned label plus confidence. Request fields: - `image_b64` (string, required) Example call: ```bash # NOTE: replace the image_b64 placeholder(s) with real base64 data first. curl -X POST "https://vonkaiser-nsfw-classifier.chutes.ai/image" \ -H "Authorization: Bearer $CHUTES_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "image_b64": "" }' ``` ### 2. POST /text - Base URL: `https://vonkaiser-nsfw-classifier.chutes.ai` - Output content type: `application/json` - Playground note: Submit an image or text sample and inspect the returned label plus confidence. Request fields: - `text` (string, required) Example call: ```bash curl -X POST "https://vonkaiser-nsfw-classifier.chutes.ai/text" \ -H "Authorization: Bearer $CHUTES_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Your text here" }' ``` ## Agent Integration Checklist - Pick the endpoint path that matches the desired task. - Set `CHUTES_API_KEY` in the server-side environment only. - Validate required fields before sending requests. - For media models, keep file upload, base64 conversion, and output preview/download handling explicit in the app UI.