Anime and hentai generation over REST.
Use our anime-trained SDXL checkpoints, LoRAs, Anima models, SeeDream, BWAI Edit, MiniMax H3, and video models from your own code. Standard JSON endpoints, webhooks, and idempotency keys included.
How it works
Send a POST request to start a job, then poll poll_url (or pass a webhook_url) until it finishes. Every result is returned as a CDN URL and saved to 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": "1girl, solo, sunset on a rooftop, anime style, detailed lighting",
"model_version_id": 533326,
"batch_size": 1
}'Endpoints
View full OpenAPI 3.1 spec/api/v1/models/api/v1/generate/api/v1/videos/api/v1/upscale/api/v1/uploads/api/v1/generate/{id}/api/v1/generate/{id}/api/v1/generations/api/v1/images/api/v1/accountImages, video, edits, upscaling
Run SDXL and Anima checkpoints with LoRAs, SeeDream 5, BWAI Edit, MiniMax H3, Seedance 2.0/2.5, BWAI Spicy video, and 2x/4x upscaling from one API.
Made for bots, scripts, and agents
Upload source images, pass reference images, auto-enhance prompts with enhance_prompt: true, batch up to 4 images, use idempotency keys, and receive signed webhooks. MCP server included.
Same credits as the site
API calls use the credits already in your subscription balance. GET /models lists exact prices, every response includes credits_charged, and failed jobs are refunded automatically.
Built-in safety checks
Prompt and image moderation run on every request using the same rules as betterwaifu.com, so you do not have to build your own filter.
Common questions
Quick answers on models, pricing, and limits.
- What models are available?
- GET /api/v1/models returns the live list with credit prices: anime and hentai SDXL checkpoints, LoRAs, Anima, SeeDream 5 Pro/Flash, BWAI Edit, MiniMax H3 (including HD video upscaling), Seedance 2.0/2.5, BWAI Spicy video, and 2x/4x image upscaling.
- Where do the models run?
- SDXL checkpoints, Anima, image upscaling, and MiniMax H3 run on our own GPU fleet. Hosted models like SeeDream, Seedance, and BWAI Spicy run on partner infrastructure behind the same billing, moderation, and history.
- How is it billed?
- Every call spends credits from your BetterWaifu subscription balance at the same rates as the site. Each response reports credits_charged, and failed jobs are refunded automatically.
- What are the limits?
- Any active subscription includes Tier 1 access: your plan's parallel job limit, up to 4 images per request, and signed webhooks. You can also set daily credit caps and allowed models per key in the developer console.
Looking for the general NSFW API page? See NSFW AI API. Connecting an AI assistant like Claude or Cursor? Use the MCP server.