Skip to content
Stable Diffusion API

Stable Diffusion

NSFW

Use Stable Diffusion model "NSFW" via the Stable Diffusion API — REST endpoint, model_id "nsfw", cURL/Python/Node samples. Uncensored / NSFW-capable.

NSFW sample image

NSFW image generation API

Yes, there is an NSFW API: 4,000+ NSFW checkpoints and LoRAs run through the same REST endpoint as every other model. To generate, send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, a prompt, a model_id from the table below and "safety_checker": "no". API access needs a paid ModelsLab plan, from $21/month.

Modelmodel_idType
NSFW nsfw Stable Diffusion
Pornmaster Pro pornmaster-pro Stable Diffusion
Wai NSFW Illustrious SDXL wai-nsfw-illustrious-sdxl SDXL
NSFW SDXL nsfw-sdxl SDXL
Lustify SDXL NSFW Checkpoint Olt Fixed Textures 1768513751 lustify-sdxl-nsfw-checkpoint-olt-fixed-textures-1768513751 SDXL
Pornmaster Pro SDXL V8 pornmaster-pro-sdxl-v8 SDXL
Pornmaster Anime pornmaster-anime Anime
Hentai hentai Anime

API pricing

  • Basic: $21/month, 3,250 API calls
  • Standard: $47/month, 10,000 API calls
  • Open Source Unlimited: $149/month, unlimited generations on open-source models

Prices checked 2026-09-27 on modelslab.com/pricing. Third-party models are billed separately.

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. See every NSFW model type on the uncensored image generator API page.

Generate with NSFW via API

Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key. Get yours 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 photo of nsfw",
  "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
}'

One of 4,000+ uncensored models on the API. Browse the uncensored AI image generator →

Also searched as

NSFW is also known as: NSFW, nsfw. Use it for stable diffusion generation, available via the Stable Diffusion API REST API at https://stablediffusionapi.com/api/v4/dreambooth.

FAQ — NSFW

How do I get an NSFW API key?
Create an account on modelslab.com and choose a paid plan. Use the API key from your dashboard with an NSFW model_id and "safety_checker": "no". There is no free NSFW API key.
Which NSFW models can I call through the API?
NSFW SDXL and SD 1.5 checkpoints (such as NSFW SDXL, Lustify and Pornmaster Pro), Illustrious and other anime checkpoints, and inpainting models. The table on this page lists the most used ones with their model_id.
How do I use NSFW via API?
Send a POST request to https://stablediffusionapi.com/api/v4/dreambooth with your API key, prompt, and model_id "nsfw". Get an API key from modelslab.com.
Is NSFW free to use?
No. API access requires a paid ModelsLab plan, starting at $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.
What parameters does NSFW support?
NSFW accepts standard Stable Diffusion parameters: prompt, negative_prompt, width, height, samples, num_inference_steps (default 30), guidance_scale (default 7.5), seed, and safety_checker.
Can I use generated images commercially?
Yes. You retain copyright on all images you generate via the API and can use them commercially.