nsfwapis.com
// Guide / Image

NSFW text to image API: models, prompts and price

An NSFW text to image API takes a written prompt and returns a new image from a model that doesn’t refuse adult content, and the model family behind the endpoint decides how you should write prompts, which sizes you should request and what you pay. This guide compares the three families you’ll meet on hosted uncensored endpoints: SDXL-based checkpoints, Flux and its derivative Chroma, and Qwen-Image. Published prices in this directory run from $0.0136 to $0.08 per image.

What is an NSFW text to image API?

An NSFW text to image API is an HTTP endpoint that turns a prompt into a picture, hosted by a provider that allows adult output and running a model that was trained or fine-tuned to produce it. You send text and settings, and you get back an image, a URL, or a job ID to poll.

This post is narrower than the general NSFW image generation API guide, which covers async jobs, monthly budgets and moderation duties. Here the focus is on what changes between models when you only send text: how each family reads a prompt, which sizes it was trained for, and how that turns into cost. If your users start from a photo instead, see the image to image guide.

A text-to-image request usually carries some of these fields. Names vary between providers, and not every endpoint exposes all of them:

  • Prompt: the description of the image.
  • Negative prompt: what to avoid. It only has an effect on models that run classifier-free guidance, covered below.
  • Width and height, or a size preset or aspect ratio.
  • Steps: how many denoising passes the model runs. More steps take longer and, on per-second billing, cost more.
  • Guidance or CFG scale: how strictly the model follows the prompt.
  • Seed: a number that makes a result reproducible.

Uncensored.com, UncensoredLLM and NanoGPT offer text-to-image in this directory. Crebots is listed for images too, but its endpoint transforms a source image rather than generating from a prompt alone.

Which model families do NSFW text to image APIs use?

Most uncensored text-to-image endpoints run one of three families. The family tells you more about prompt style and output size than the provider’s marketing name does.

Main open model families behind hosted NSFW text-to-image APIs, from their papers and model cards
FamilyArchitecture and sizeText encoderTrained resolutionWeights license
SDXL and its fine-tunesLatent diffusion U-Net, about 2.6B parametersTwo CLIP encoders (OpenCLIP ViT-bigG and CLIP ViT-L)About 1 megapixel, 1024 × 1024 plus other aspect ratiosCreativeML Open RAIL++-M (base model)
FLUX.1 [dev] and [schnell]Rectified flow transformer, 12B parametersT5-XXL plus CLIP-LAround 1 megapixel, flexible aspect ratios[schnell]: Apache 2.0. [dev]: non-commercial license
ChromaFlux-style transformer, about 8.9B parameters, built from FLUX.1 [schnell]T5-XXLAround 1 megapixelApache 2.0
Qwen-ImageMMDiT diffusion transformer, 20B parametersQwen2.5-VL multimodal language modelAbout 1.8 megapixels, 1328 × 1328 at 1:1Apache 2.0

The licenses matter even on a hosted API. A provider serving a FLUX.1 [dev] fine-tune commercially needs its own agreement with Black Forest Labs, and that isn’t something you can see from outside. Families under Apache 2.0, like Chroma and Qwen-Image, avoid the question.

Uncensored versions of all four exist, but they get there in different ways. SDXL has years of community fine-tunes trained on adult images. Chroma’s model card describes it as trained on a large dataset without the usual content filtering. Uncensored Qwen-Image builds are fine-tunes of the base model. As with text models, the base family tells you the ceiling and the fine-tune tells you the behavior, a split the list of uncensored AI models explains in more detail.

How to prompt an NSFW Stable Diffusion API (SDXL)

An NSFW Stable Diffusion API today almost always means an SDXL-based checkpoint, and it works best with short, comma-separated prompts plus a negative prompt. SDXL reads text through CLIP encoders that take 77 tokens at a time. Most serving stacks split longer prompts into 77-token chunks and merge them, so words far down a long prompt get less weight and details start to drift.

Practical rules for SDXL-based models:

  • Lead with the subject. Put the person, pose and setting first, then style, lighting and camera terms.
  • Use the fine-tune’s vocabulary. Photorealistic checkpoints respond to camera and lighting words. Anime checkpoints are often trained on image-board tags, so tag lists work better than sentences. The checkpoint’s model card usually says which.
  • Use a negative prompt. SDXL runs classifier-free guidance, so terms like “extra fingers, deformed hands, watermark, text” in the negative prompt do steer the result.
  • Keep guidance moderate. Automatic1111 and many other front ends default to a CFG scale of 7. Very high values tend to oversaturate and harden skin texture.
  • Don’t expect readable text. SDXL can’t reliably spell words inside an image.

CyberRealistic XL Uncensored on UncensoredLLM is an SDXL-based checkpoint and the cheapest text-to-image model in the directory at $0.0136 per image. For simple, single-subject images it’s the obvious place to start. Where it falls down is multi-person scenes and specific spatial instructions, where the short text window can’t hold everything you asked for.

NSFW Flux API options: Flux, Chroma and plain-English prompts

An NSFW Flux API is harder to find than an SDXL one, because the official FLUX.1 models weren’t built for adult output and the most capable open version, FLUX.1 [dev], carries a non-commercial license. The Flux-family option most uncensored hosts list is Chroma, an open model built from FLUX.1 [schnell] and released under Apache 2.0. In this directory, Chroma Uncensored on UncensoredLLM costs $0.08 per image.

Flux-family models read prompts through T5-XXL, a large language model encoder, so they handle long, descriptive sentences far better than SDXL. Write the prompt the way you’d describe the picture to a person: who is where, doing what, lit how, from which angle. Relationships such as “the woman on the left is holding the glass” survive much better than they do on SDXL.

Two settings work differently from SDXL:

  • Guidance. FLUX.1 [dev] and [schnell] are distilled, so they don’t use a classic CFG scale or a negative prompt. [schnell] is built to produce images in 1 to 4 steps. Chroma is commonly run with classifier-free guidance and a negative prompt, so check whether the hosted endpoint exposes those settings.
  • Steps. Non-distilled models need more steps than [schnell]. On per-image billing that’s the provider’s cost, but it shows up as slower responses.

The tradeoff is price. Chroma Uncensored costs about 5.9 times CyberRealistic XL Uncensored per image, so it pays off when prompt following saves retries, not for simple portraits.

Qwen Image: long prompts and text inside images

Qwen-Image is a 20-billion-parameter model from Alibaba’s Qwen team, and its strength is following long prompts and rendering text, including signs, captions and labels, inside the picture. It uses the Qwen2.5-VL multimodal model as its text encoder, which is why it understands complex descriptions better than CLIP-based models. The base weights are Apache 2.0.

For an adult app, text rendering is less of a novelty than it sounds. Comic panels with speech bubbles, a name on a neon sign, a captioned meme or a fake magazine cover are all things SDXL gets wrong and Qwen-Image usually gets right. Put the exact words in quotes in your prompt.

Qwen Image 2.1 Uncensored on UncensoredLLM costs $0.0375 per image and also accepts edit requests, so one model can cover generation and follow-up changes. UncensoredLLM also lists Vision Image Uncensored at $0.04, but the directory doesn’t know its base family, so test it before assuming it behaves like Qwen-Image.

Qwen-Image’s model card publishes recommended sizes per aspect ratio, starting at 1328 × 1328 for square images. If the hosted endpoint takes free width and height, use those sizes rather than SDXL’s 1024 × 1024.

Which resolution should you request?

Request the resolution the model was trained at, then upscale. Diffusion models generate best near their training size. Ask an SDXL model for 2048 × 2048 and you often get two heads, extra limbs or a repeated body, because the model fills the larger canvas with patterns it learned at a smaller scale.

Native sizes for common aspect ratios: SDXL training buckets and Qwen-Image model card recommendations
Aspect ratioSDXL-basedQwen-Image
1:1 (square)1024 × 10241328 × 1328
Portrait, about 3:4896 × 11521140 × 1472
Portrait, about 2:3832 × 12161056 × 1584
Landscape, about 16:91344 × 7681664 × 928

Flux and Chroma are more flexible. They work well at around one megapixel in most aspect ratios, with width and height as multiples of 16.

Resolution also changes the bill in some places and not others. The text-to-image prices in this directory are per image, with no size tiers, so a larger native size costs nothing extra there. Upscaling is a separate step. Crebots prices image-to-image by output tier from Low (about 720p) to Ultra (about 4K) for $0.02 to $0.028, but that endpoint transforms the image as well as enlarging it, so check that it keeps faces and details intact before you use it as an upscaler.

How much does an NSFW text to image API cost per image?

Published NSFW text-to-image prices in this directory run from $0.0136 to $0.08 per image, billed per generation regardless of prompt length. The useful comparison isn’t the sticker price but the cost per image a user keeps.

Published text-to-image prices, USD. The last column is the price ratio to CyberRealistic XL Uncensored: a model only costs less per kept image if it needs that many times fewer attempts.
Provider and modelFamilyPer imagePer 1,000Worth it if retries drop by
UncensoredLLMCyberRealistic XL UncensoredSDXL-based$0.0136$13.60Baseline
UncensoredLLMAnime Image UncensoredNot stated$0.03$30.002.2×
UncensoredLLMQwen Image 2.1 UncensoredQwen-Image$0.0375$37.502.8×
UncensoredLLMVision Image UncensoredNot stated$0.04$40.002.9×
UncensoredLLMChroma UncensoredFlux-derived (Chroma)$0.08$80.005.9×

Uncensored.com and NanoGPT also offer text-to-image, but the directory doesn’t list per-image prices for them yet. NanoGPT’s $12 a month Pro plan includes 100 images a day, which can beat per-image billing for a small, steady workload.

A common pattern is to draft cheaply and finish on a better model. Say 1,000 users each run 10 sessions a month, and each session produces 4 drafts and one final image:

Draft-then-final workflow at published per-image rates, USD
SetupImages per monthMonthly cost
All 5 images on Qwen Image 2.1 Uncensored50,000$1,875.00
4 drafts on CyberRealistic XL Uncensored, final on Qwen Image 2.1 Uncensored50,000$919.00

The mixed setup saves $956.00 a month, about 51%. The catch is consistency. Two different families given the same prompt and seed won’t produce the same composition, so the draft is a rough guide to the idea, not a preview of the final pixels. If users need the final to match the draft, generate the draft on the same model or pass the chosen draft through an edit model instead.

Checklist for choosing a text-to-image model

  1. Write 20 to 30 test prompts from your app. Include single subjects, two-person scenes, specific poses and at least one prompt with text in the image.
  2. Run them on one model per family. For example CyberRealistic XL Uncensored, Chroma Uncensored and Qwen Image 2.1 Uncensored, all on UncensoredLLM’s single key.
  3. Rewrite prompts per family. Tag lists for SDXL, full sentences for Flux, Chroma and Qwen-Image. Using one prompt style for all of them punishes some models unfairly.
  4. Request native sizes from the table above, and fix the seed so you can repeat a run.
  5. Count attempts per usable image and divide each model’s price by it. That number, not the list price, decides the winner.
  6. Check which settings the endpoint exposes. Negative prompt, steps, guidance and seed aren’t always available on hosted APIs.
  7. Block illegal content yourself. Sexual content involving minors is illegal, and so are intimate images of real people made without consent in many countries. Filter prompts and outputs, because some media models ship with the safety checker off. UncensoredLLM says it refuses any prompt involving a minor.

Once you have a still image you like, the image to video guide covers turning it into a clip.

Frequently asked questions

What is the cheapest NSFW text to image API?

On published rates in this directory, CyberRealistic XL Uncensored on UncensoredLLM is the cheapest at $0.0136 per image, or $13.60 per 1,000 images. It is an SDXL-based model, so it suits simple prompts better than complex scenes.

Is there an NSFW Stable Diffusion API?

Yes. Hosted NSFW Stable Diffusion APIs today mostly run SDXL-based fine-tunes. CyberRealistic XL Uncensored on UncensoredLLM is one, at $0.0136 per image.

Is there an NSFW Flux API?

The official FLUX.1 models aren’t built for adult content, and FLUX.1 [dev] has a non-commercial license. Chroma, an Apache 2.0 model built from FLUX.1 [schnell], is the usual Flux-family choice for uncensored hosting, and UncensoredLLM lists it at $0.08 per image.

Why do my NSFW images have extra limbs or two faces?

The requested size is usually too far above the model’s training resolution. Generate at the native size, such as 1024 × 1024 for SDXL, and upscale the result afterward.

Why does the negative prompt do nothing on my Flux model?

FLUX.1 [dev] and [schnell] are guidance-distilled and don’t run classifier-free guidance, so negative prompts have no effect. Describe what you want in the main prompt instead, or use a model that runs CFG, such as an SDXL-based checkpoint.

Sources

Prices and offers come from each provider’s published information, checked . They can change, so confirm them on the provider’s site. Found something out of date? Tell us.