EN ▾
Get API key
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

Uncensored AI Image Generator Model: Text LLM Role

An image model turns a prompt into pixels. Someone, or something, still has to write that prompt. This article explains where a text LLM without refusals fits in an image workflow, and what this API does and does not do.

Updated

Isometric scene of a terminal sending text ribbons to a separate picture frame, a text-to-image pipeline

Key points

  • This API is text only: it writes prompts, it does not render images.
  • A prompt-writing step is where refusals and thin descriptions usually show up first.
  • JSON mode returns prompt, negative prompt and aspect ratio as fields your script can read.
  • Writing 1,000 detailed prompts costs well under a dollar.

Two kinds of model, one pipeline

When people type uncensored ai image generator model into a search box, they are usually mixing two separate things. One is a diffusion-style image model, the kind that produces a picture from a description. The other is a language model, which produces text. Most working image setups use both: the language model drafts and refines the description, and the image model renders it.

The service on this site is the second kind, and only that. It is a hosted, OpenAI-compatible text API running one open-weight model, tuned to answer without content refusals for lawful adult use. It has no image, audio or video generation, no embeddings and no fine-tuning. If you need pixels, you will connect an image backend of your own; our Flux integration notes describe that side.

So why bother with a text model? Because the description is where quality is decided. A one-line idea such as "a ruined observatory at dusk" becomes a usable prompt only after someone adds lens, light, palette, mood and composition. Doing that by hand for every image does not scale, and a model that refuses or waters down the request breaks the chain at its first link.

What the text model does for an image workflow

There are four jobs where a text model earns its place before any image is drawn.

  • Expansion. Turn a short idea into a full prompt with subject, setting, lighting, camera and style terms.
  • Consistency. Keep a character sheet (hair, clothing, age range, signature items) and paste the same description into every prompt so a recurring character looks the same across a series.
  • Translation between styles. Some backends like comma-separated tags, others like flowing sentences. The model can rewrite one into the other.
  • Negative prompts and settings. Many backends take a list of things to avoid and an aspect ratio. The model can propose both next to the main prompt.

Refusal behaviour matters here more than people expect. Writers, game designers and artists working on mature fiction between adults often get a polite decline, or a prompt that has been quietly sanitised, from a general-purpose assistant. A prompt writer that does not refuse removes that friction. It does not remove your responsibility: the hard limit on this service is that no sexual content involving minors is accepted, and your downstream image backend will have its own rules.

What to put in the system prompt

The system message decides almost everything about prompt quality, so spend time on it. Four rules carry most of the weight.

  1. Define the target backend. Say whether it wants tags or sentences, and whether it reads weights or emphasis syntax. If you do not know, ask for plain phrases separated by commas, which most backends accept.
  2. Fix the order of information. Subject first, then action or pose, setting, lighting, camera, style. Backends tend to weight early words more, and a fixed order makes batches comparable.
  3. Give one worked example. A single good input and output pair inside the system message teaches length and tone better than a paragraph of adjectives. Keep it short so you do not pay for it too heavily on every call.
  4. State the boundaries once. Say that every person depicted is an adult and that descriptions stay non-explicit if your backend or audience needs that. A clear line at the top is more reliable than a list of prohibitions scattered through the text.

Then test with ten very different ideas, not ten similar ones. If the outputs share the same opening phrase or the same lighting every time, the example in your system prompt is too dominant; swap it for a more neutral one or remove it and raise temperature a little. If outputs ramble past your word limit, tighten the limit in words and cap max_tokens as a backstop. Keep a small file of ideas that gave bad results and rerun it after every change to the system prompt, so you can tell an improvement from a lucky draw. Setting seed helps with that comparison.

A prompt-writer call with structured output

The most useful pattern is JSON mode. You ask for a fixed set of fields and your script reads them directly, with no parsing of free text. The API supports response_format with {"type":"json_object"}. Mention JSON in the instructions as well, which keeps the model on format.

import json, os
from openai import OpenAI

client = OpenAI(base_url="https://api.uncensoredimagegenerator.top/v1", api_key=os.environ["API_KEY"])

system = (
    "You write prompts for an image generator. Reply with a JSON object with keys "
    "'prompt' (string, comma-separated phrases, max 70 words), "
    "'negative' (string) and 'aspect' (one of '1:1', '3:2', '2:3', '16:9'). "
    "All people depicted must be adults."
)

def make_prompt(idea: str) -> dict:
    resp = client.chat.completions.create(
        model="uncensored",
        messages=[
            {"role": "system", "content": system},
            {"role": "user", "content": idea},
        ],
        response_format={"type": "json_object"},
        temperature=0.8,
        max_tokens=300,
    )
    return json.loads(resp.choices[0].message.content)

print(make_prompt("a ruined observatory at dusk, overgrown, one lit window"))

The same request from a shell, useful for a quick check:

curl https://api.uncensoredimagegenerator.top/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [
      {"role": "system", "content": "Reply with JSON keys prompt and negative. Image prompt writer."},
      {"role": "user", "content": "neon alley in the rain, reflections"}
    ],
    "response_format": {"type": "json_object"},
    "max_tokens": 300
  }'

Always wrap json.loads in a try block in real code. JSON mode makes valid output very likely, but a truncated reply, which happens if max_tokens is too small, is still broken JSON. Check finish_reason: a value of length means the cap cut the reply off.

Batch generation and the rate limits

Once one prompt works, the next step is a batch: a list of ideas in, a list of prompts out. A full key allows 8 concurrent requests and 300 requests per minute, so a small worker pool saturates the key without hitting the limits.

from concurrent.futures import ThreadPoolExecutor

ideas = ["foggy harbour at dawn", "market street at night", "greenhouse on a cliff"]

with ThreadPoolExecutor(max_workers=6) as pool:
    results = list(pool.map(make_prompt, ideas))

Six workers leave headroom under the limit of 8. If you do see HTTP 429, read the error code: rate_limited means too many requests per minute, concurrency means too many at once. A 429 with a Retry-After: 5 header signals temporary overload, so wait those 5 seconds and retry. A trial key is tighter, at 2 concurrent and 60 per minute, so drop to two workers while testing.

Costs for a prompt library

A detailed prompt is short in text terms. Take a system message of 250 tokens plus an idea of 30 tokens as input (280 tokens), and a JSON reply of 150 tokens as output.

  • Input: 280 tokens at $0.15 per 1M is $0.000042.
  • Output: 150 tokens at $0.50 per 1M is $0.000075.
  • One prompt: $0.000117.
  • 1,000 prompts: $0.117.
  • 10,000 prompts: $1.17.

Even if you ask for three variants per idea in the same reply, so output rises to 450 tokens, one call is $0.000042 + $0.000225 = $0.000267, and 1,000 calls cost $0.267. The text step is rarely the expensive part of an image workflow. Billing is prepaid with no subscription, failed or refused requests are not charged, and credit does not expire. Top-ups run from $20 to $500 in whole amounts, paid in USDT on TRC20 or USDC on Base, with a bonus of 5% from $50, 10% from $100 and 15% from $200. Details are on the pricing page.

Choosing between this and an image model

Use a text API like this one when your bottleneck is writing: you have many ideas, a recurring cast, or a style that must stay uniform. Use an image model when your bottleneck is rendering: you already have the prompt and want a picture. Most projects need both, and they can come from different providers because the interface between them is plain text.

A few practical limits to plan around. The model has a 100,000-token context window, which is plenty for a full character bible plus a long style guide in every call, though you pay for those tokens each time, so keep reused context short. Prompts are not used for training. Output quality of the final image depends on your image backend, which this service does not control or measure, so judge the pipeline by sample batches and not by any claim about either half.

To start, create a key on the API key page. New accounts can claim $0.50 of trial credit with one click after sign-up, valid for 7 days, no card involved. The docs show the first request in a few lines.

Questions and answers

Is this an image generator?

No. It is a text-only API. It writes detailed image prompts, and you pass them to a separate image backend that does the rendering.

Why use a text model without refusals for image prompts?

Refusals and quietly softened output break an automated pipeline at the prompt step. This model is tuned to answer without content refusals for lawful adult use, and the one hard limit is no sexual content involving minors.

Can I get the negative prompt and aspect ratio in the same call?

Yes. Turn on JSON mode and ask for the fields you need, such as prompt, negative and aspect, then read them as normal JSON keys.

How much does it cost to write 1,000 prompts?

With about 280 input tokens and 150 output tokens per prompt, 1,000 prompts cost about $0.117 at $0.15 and $0.50 per 1M tokens.

Your key is one form away

Create an account, copy the key, change the base URL. That is the whole setup.