Skip to content
Stable Diffusion API

Uncensored AI image generator API

Generate uncensored images from a prompt with 318+ NSFW models: Flux NSFW LoRAs, SDXL checkpoints, Pony and Illustrious models. Pick a model_id, turn the NSFW filter off with "safety_checker": "no", and call one REST endpoint.

Ordered by how often people search for them.

Uncensored model types

Generate uncensored images via API

The same request works for every NSFW model: change the model_id. Get an API key at modelslab.com.

curl -X POST 'https://stablediffusionapi.com/api/v4/dreambooth' \
  -H 'Content-Type: application/json' \
  -d '{
  "key": "YOUR_API_KEY",
  "model_id": "nsfw",
  "prompt": "a photorealistic portrait of a woman on a beach at sunset",
  "negative_prompt": null,
  "width": "512",
  "height": "512",
  "samples": "1",
  "num_inference_steps": "30",
  "guidance_scale": 7.5,
  "safety_checker": "no",
  "enhance_prompt": "yes",
  "seed": null,
  "webhook": null,
  "track_id": null
}'

Content rules

Adult content of fictional or consenting adults is allowed. Content that depicts minors in any sexual context, and sexual or intimate images of real, identifiable people without their consent, are prohibited.

FAQ

How do I generate uncensored images through the API?
Send a POST request with your API key, a prompt, the model_id of an NSFW model (for example "nsfw"), and "safety_checker": "no". The code sample on this page shows a complete request.
Is the uncensored image generator free?
No. API access needs a paid ModelsLab plan, from $21/month (Basic, 3,250 API calls). The $149/month Open Source Unlimited plan includes unlimited generations on open-source models; third-party models are billed separately.
Which uncensored models can I use?
318+ NSFW models: Flux NSFW LoRAs, SDXL checkpoints such as Lustify and Pornmaster Pro, Pony and Illustrious models, and inpainting checkpoints. Each has its own page with its model_id.
What content is not allowed?
Content that depicts minors in any sexual context, and sexual or intimate images of real, identifiable people without their consent, are prohibited. Adult content of fictional or consenting adults is allowed.