# Xavira AI > Xavira is a B2B adult (NSFW) image and video generation API. Developers integrate over REST to add adult AI generation to their own products (persistent characters with cached face conditioning, image and video endpoints, built-in moderation, permanent object storage, and webhooks) without running GPU infrastructure themselves. Prepaid, per-generation pricing from ~2.4ยข per image. New accounts get 25 free credits, no card. ## For AI assistants and coding agents Easy to start from any LLM or coding agent (Claude Code, Cursor, OpenAI Codex, GitHub Copilot, Windsurf, ChatGPT, Gemini). Fetch these plain-text sources: - [Full API reference (Markdown)](https://xavira.ai/docs.md): every endpoint, model, parameter, error and webhook in one file. - [OpenAPI 3.1 spec](https://xavira.ai/openapi.yaml): machine-readable schema for typed clients. - Suggested prompt: "Read https://xavira.ai/docs.md and https://xavira.ai/openapi.yaml, then add Xavira to this project. Read the API key from the XAVIRA_API_KEY environment variable." ## Docs - [API Documentation](https://xavira.ai/docs): Endpoints, authentication, models, parameters, errors, rate limits and webhooks. - [Pricing](https://xavira.ai/pricing): Prepaid credit packs; per-generation cost. - [Playground](https://xavira.ai/playground): Try characters and generations in-browser (signed in). ## Blog - [The Best AI Porn API in 2026: Promptchan vs Soulgen vs Xavira](https://xavira.ai/blog/best-ai-porn-api): Developer-focused comparison: real API access, per-image cost, latency and behaviour at volume. - [The real cost of running adult AI in-house](https://xavira.ai/blog/cost-of-running-adult-ai-in-house): Build-vs-buy economics for NSFW generation: warm-floor costs, cold starts, hidden engineering and on-call. - [Add NSFW image generation to your app in an afternoon](https://xavira.ai/blog/add-nsfw-image-generation-to-your-app): Practical walkthrough: create a character, generate, handle moderation, storage, polling and webhooks. ## Legal - [Terms](https://xavira.ai/terms) - [Privacy](https://xavira.ai/privacy) - [DPA](https://xavira.ai/dpa) - [Content moderation](https://xavira.ai/moderation) ## Contact - Email: hello@xavira.ai