Skip to main content
NSFW API provides asynchronous image generation, image editing, and video generation for approved adult-content businesses. Every request is authenticated with a project API key, priced in USD before it runs, and returned as a job that you poll or receive by signed webhook.

Quickstart

Create an API key and submit your first generation.

API Reference

Explore request schemas, responses, and the interactive playground.

Authentication

Store and send project-scoped API keys safely.

Webhooks

Receive signed terminal job notifications.

Base URL

The API uses OpenAI-style /v1/... routes. Generation is asynchronous: successful creation returns HTTP 202 and a job ID.

Core workflow

1

Create a project and API key

Use the dashboard to create a project and a scoped API key. The raw key is shown once.
2

Submit a generation

Call an image or video generation endpoint. The maximum price is reserved atomically before provider work begins.
3

Wait for completion

Poll the job no more than once per second, or configure a signed webhook.
4

Download the result

Successful jobs return short-lived signed URLs. Download outputs to storage you control.
Prices use exact four-decimal USD amounts. Failed, cancelled, expired, and policy-rejected jobs are not charged.
Last modified on September 17, 2026