18Models
DocsModelPricingUse CasesLog inTry for Free
Try for FreeLog in

The generation API for AI companion apps

For AI girlfriend / boyfriend / roleplay apps · Images from $0.017 · Video from $0.048/s · NSFW allowed in writing

Companion apps need three things from a generation API that mainstream providers refuse to give: NSFW output permitted in writing, a character that stays the same face across a thousand images and clips, and per-message economics that survive at scale. 18models serves Z-Image Turbo, Qwen-Image 3.0, Wan 2.7 / 3.0 and the HappyHorse video family (NSFW-permitted) behind one API key, with a published content policy and crypto-settled USD billing.

What companion apps actually need

  • A written yes. App-store reviewers, payment partners and your own lawyers ask the same question: is this allowed by the provider? Ours is on one page — /content-policy — with the red lines spelled out (minors in any style, real people, non-consent: banned, screened).
  • The same character every time. Users bond with a face. Reference-based generation keeps it: one canonical portrait drives every new image (Qwen-Image edit, Wan 2.7 image edit) and every clip (Wan 2.7 r2v with up to five references + voice, HappyHorse r2v with up to nine images). See character consistency.
  • Economics per message. A selfie in chat should cost cents, not dimes.

Model map for a companion app

Moment in the appModelBase priceNotes
Selfie / reaction image in chatz-image-turbo-uncensored$0.017 / imageFastest, cheapest; 1K/2K; prompt_extend off
Outfit / pose / scene change on the same characterqwen-image3-edit-uncensored$0.035 / image (+$0.0035 per input image)1–3 references, up to 6 outputs
High-quality portraits, character sheetwan2.7-image-t2i-uncensored / grid-i2i$0.034 Standard · $0.086 ProUp to 4K; 12-panel grids
Short "video message" (5 s, portrait)happyhorse-1.1-i2v-uncensored 480p≈$0.24 / clipFrom the character's image; 9:16 supported
Voice + character reference clipwan2.7-r2v-multiple-uncensored 720p$0.113 / sReference image + voice sample per subject
Longer scene (up to 30 s)wan3.0-video-reference-uncensoredfrom $0.058 / s (480p)Images + video + audio references

Integration pattern

  1. Pre-generate the canon. On character creation, generate a portrait and a 12-panel character sheet once; store the URLs — they are the references for everything after.
  2. Async everywhere. POST /ent/v2/generate returns a task_id in milliseconds; poll GET /ent/v2/tasks/{id} (2 s → 5 s back-off) and push the result into the chat when status is success. Show a typing indicator, not a spinner.
  3. Reserve, then settle. Each task returns reserved_cost and actual_cost in USD — meter per user, per tier, or per credit. Failed tasks are refunded automatically.
  4. Route by content class. Keep SFW-only flows (e.g. a real photo the user uploads for a "make me a hero" feature) away from NSFW generation: real people's likenesses are prohibited and screened.

Your obligations

You and your users must be 18+; if you expose generation, implement age assurance for your jurisdictions and pass the prohibitions through in your own terms. Our screening on inputs and outputs is a backstop, not a substitute for your moderation. Full text: Content Policy.

Related

  • HappyHorse video API · Z-Image Turbo · Qwen-Image 3.0 · Wan 2.7 video
  • Character consistency without a LoRA
  • Migrating from Novita · 18models vs fal.ai

Prices are USD base list prices from /pricing; the effective price for your key is returned by GET /ent/v2/prices. NSFW output is permitted under the Content Policy — fictional adults only, minors and real people prohibited and screened.

FAQ

Which API should an AI girlfriend app use for NSFW images?

One that permits it in writing. 18models allows fictional adult content under a published content policy and serves Z-Image Turbo ($0.017/image) for chat images, Qwen-Image 3.0 for outfit/pose edits, and HappyHorse / Wan 2.7 for video clips — behind one API key.

How do I keep a companion character consistent across images and videos?

Generate a canonical portrait, then use it as the reference: Qwen-Image edit or Wan 2.7 image edit for new images, Wan 2.7 reference-to-video (up to five references with a voice sample) or HappyHorse r2v (up to nine reference images) for video.

What does a companion app pay per interaction?

A chat image on Z-Image Turbo is $0.017; a 5-second HappyHorse 480p clip is about $0.24; a Qwen-Image edit about $0.04. Prepaid USD wallet, failed tasks refunded.

Can users upload a photo of a real person as their companion?

Not for NSFW generation. Real people's likenesses are prohibited by the content policy and screened on input; your app should route real-photo uploads to SFW-only flows or block them.

Build on a provider that says yes in writing. One API key, 34 models, USD prices, and a content policy you can quote.
Get your API keyRead the docs
18Models

High-fidelity AI video generation built for platforms and creators who push boundaries.

All systems operational
Product
DocsPricingAll modelsPlaygroundNSFW policy trackerAPI StatusChangelog
Models
Wan 2.7 videoWan 3.0 videoHappyHorseSeedance 2.5Qwen-Image 3.0Z-Image TurboWan 2.7 image
Solutions
AI companion appsAdult gamesCreator platformsCharacter consistencyMigrate from Novita
Compare
vs Novitavs WaveSpeedvs fal.aivs Replicatevs CivitAIvs ModelsLabvs Segmind
Legal
Privacy PolicyTerms of ServiceContent PolicyCookie Policy
© 2026 18models.ai. All rights reserved.
TLS in transit · Hashed API keys · Operational audit logs