Generate
Hentai AI API

The AI hentai API that understands your prompts.

Generate uncensored anime and hentai images from your own code with a REST API over the same models that power BetterWaifu — hentai-trained SDXL checkpoints and the Anima DiT family, with batching, seeds and full parameter control.

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 generating AI hentai images through the BetterWaifu API.

Is this a real hentai AI API or a wrapper?
It is our own platform API: your requests run on the same GPU fleet and model catalog as betterwaifu.com, including hentai-trained SDXL checkpoints and the Anima models. Nothing is proxied through a third-party image service.
How is the AI hentai API priced?
Requests spend credits from your BetterWaifu subscription balance, exactly like generating in the app. Each API response includes credits_charged, so cost tracking is built into the call itself. There is no separate API subscription.
Which models can I use?
GET /api/v1/models returns the live catalog — anime and hentai SDXL checkpoints plus the Anima DiT models, with per-model defaults for size, steps and sampler.
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 general-purpose version? See the NSFW AI API. Building an AI agent? The same API is available as an MCP server for Claude, Grok, Cursor and other MCP clients.