Generate
Anime & Hentai API

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
  }'
Pass model_version_id for SDXL/Anima checkpoints, or model (e.g. "seedream-5") for hosted models. Run GET /api/v1/models for IDs and prices.
GET/api/v1/models
List checkpoints, LoRAs, hosted image models, video models, and credit prices.
POST/api/v1/generate
Generate or edit images (SDXL, Anima, SeeDream 5, BWAI Edit).
POST/api/v1/videos
Generate videos (MiniMax H3, Seedance 2.0/2.5, BWAI Spicy), reference images, or H3 HD upscales.
POST/api/v1/upscale
Upscale one of your images 2x or 4x.
POST/api/v1/uploads
Upload a source image (free, moderated) to use as source_image_id or reference_image_ids.
GET/api/v1/generate/{id}
Poll status and output URLs for any image, video, or upscale job.
DELETE/api/v1/generate/{id}
Cancel an in-flight job on cancelable models (e.g. Seedance) and refund credits.
GET/api/v1/generations
List your recent API jobs with status, model, and credits charged.
GET/api/v1/images
List your saved images or videos (?media_type=image|video|all).
GET/api/v1/account
Check credit balance, subscription status, and key daily budget.

Images, 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.