Skip to main content

Before you begin

You need an NSFW API account with a funded balance, a project, and an API key with these scopes:
  • generations:write
  • jobs:read
Create them in the dashboard.
The raw API key is shown only once. Store it in a secret manager and never expose it in browser code or a public repository.

Submit a generation

A valid request returns HTTP 202 with a job ID and the amount reserved from your balance.

Check the job

Poll no more than once per second until status is one of:
  • succeeded
  • failed
  • cancelled
  • expired
A succeeded job includes data with short-lived signed URLs. Download the bytes before the URLs and stored outputs expire.

View the API Reference

Inspect the complete request and response schema or try the endpoint in the playground.
Last modified on September 17, 2026