Generate
NSFW AI API

The uncensored NSFW API for image generation.

An NSFW AI API without the guardrail roulette: generate uncensored images from your own code over the models that power BetterWaifu, with batching, seeds, full parameter control — and platform-level moderation so you stay on the right side of the line.

Generate your first image

Submit a prompt, poll the returned poll_url, get back CDN image URLs. Every generation also lands in your account history.

curl -X POST https://betterwaifu.com/api/v1/generate \
  -H "Authorization: Bearer $BETTERWAIFU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "anime girl, cinematic lighting, detailed illustration",
    "model_version_id": 533326,
    "batch_size": 1
  }'
curl https://betterwaifu.com/api/v1/generate/job_abc123 \
  -H "Authorization: Bearer $BETTERWAIFU_API_KEY"

Top-tier uncensored models

The same SDXL and Anima model catalog that powers the site, served from our own GPU fleet.

Batching, LoRAs, img2img

Batch up to 4 images per request, apply LoRAs, regenerate from your existing images, and control seed, steps, CFG, sampler and dimensions.

Simple credit pricing

Requests spend credits from your subscription balance, and every response reports exactly what it cost.

Moderated by default

Prompt compliance on every request, auto-tagging on every output — the same content policy as the site.

FAQ

Common questions about uncensored AI image generation through the BetterWaifu NSFW API.

Is the NSFW API really uncensored?
It generates adult content the mainstream APIs refuse — that is the point. It is not unmoderated: prompt compliance runs on every request and outputs are auto-tagged at generation, enforcing the same content policy as betterwaifu.com.
How is the NSFW API priced?
Requests spend credits from your BetterWaifu subscription balance — the same credits as the app, with credits_charged reported in every response. No separate API fee.
What can I build with it?
Companion apps, Discord bots, content pipelines and creator tools — anything that needs uncensored AI image generation behind your own interface. Generations also appear in your account history, so nothing is fire-and-forget.
What are the limits?
Every subscription includes Tier 1: one generation at a time per account, batches of up to 4 images. Tier 2 — higher concurrency, webhooks and volume pricing — is granted by application in the developer console.

Looking for the anime-focused version? See the Hentai AI API. Building an AI agent? The same API is available as an MCP server for Claude, Grok, Cursor and other MCP clients.