EN ▾
Get API key

AI Chatbot With Pictures: What This API Covers

If you need an ai chatbot with pictures, be clear about one thing first: this API generates text only. It does not draw, edit or caption images, so a picture feature has to come from a second tool that you connect yourself.

Updated

A text stream and an empty picture frame joined by a bridge, showing a text-only API paired with an image tool

Key points

  • The API is text only: no image, audio or video generation, and no embeddings.
  • The model can still write the image prompts, scene descriptions and alt text that an image tool needs.
  • A typical setup is two calls: this API for the text, a separate image service for the picture.
  • Writing 1,000 image prompts costs about $0.095 at $0.15 and $0.50 per 1M tokens.

The short answer

An ai chatbot with pictures usually means one of three things: a bot that generates images from a request, a bot that accepts an uploaded photo and talks about it, or a bot that shows pictures alongside its text, like a character portrait next to each message. This API does none of those natively.

It is a hosted, OpenAI-compatible text endpoint with one model, uncensored. You send POST /v1/chat/completions with text messages and get text back. There is no image generation, no audio or video, no embeddings and no fine-tuning. If a competitor page promises all of that in one box, this is not that product, and it is better to know before you build.

That does not make it useless for a picture-driven app. The text model is good at the part of an image feature that is actually language: deciding what the picture should show and writing the instructions for it. The rendering step goes to a separate service that you choose.

Three ways people combine text and pictures

PatternWhat the text model doesWhat the image tool does
Prompt writerTurns a plain request into a detailed image promptRenders the image
Scene narratorWrites the story or reply, then a short visual description of the momentRenders a portrait or backdrop per message
Tagger and describerWrites captions, alt text and tags from text you already holdNot needed

In every case the glue is your own code. The chat request and the image request are two independent HTTP calls, and your server decides when to make each one.

What about sending an image to the chatbot?

The documented interface takes text. Do not plan a feature around uploading photos for the model to look at. If you need image understanding, you need a vision-capable model from another provider, and you can still use this API for the conversation that follows once the other tool has turned the picture into a text description.

Pattern 1: use the model as a prompt writer

Image generators respond well to long, specific prompts, and most people type short vague ones. A text model closes that gap. You ask it for a prompt, it returns one, and you pass the string to whatever image generator you use.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.uncensoredaichatbot.cc/v1",
    api_key="YOUR_KEY",
)

def make_image_prompt(idea: str) -> str:
    res = client.chat.completions.create(
        model="uncensored",
        temperature=0.7,
        max_tokens=200,
        messages=[
            {"role": "system", "content":
                "You write prompts for an image generator. Reply with one paragraph: "
                "subject, setting, composition, lighting, colors, style. "
                "No text or lettering in the image. No explanations."},
            {"role": "user", "content": idea},
        ],
    )
    return res.choices[0].message.content.strip()

prompt = make_image_prompt("a lighthouse keeper's desk during a storm")
print(prompt)
# send `prompt` to your image service of choice here

Keep the system message strict about format. If the model adds a preamble such as "Here is your prompt", that line ends up inside your image request. Asking for one paragraph and nothing else, and capping max_tokens, keeps the output clean.

For structured needs, switch on JSON mode with response_format: {"type":"json_object"} and ask for fields like prompt, negative_prompt and aspect_ratio. Your code then reads the fields directly instead of parsing prose. The API documentation shows the exact request shape.

Pattern 2: a chat reply plus a scene description

Companion apps and interactive fiction often show an illustration next to each message. The cleanest design is to ask the model for both in one call, as JSON, so the story and the picture description stay in sync.

curl https://api.uncensoredaichatbot.cc/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "response_format": {"type": "json_object"},
    "messages": [
      {"role": "system", "content": "Reply as JSON with two keys: reply (the in-character message) and scene (one sentence describing what a viewer would see). No other keys."},
      {"role": "user", "content": "I push open the door of the old observatory."}
    ]
  }'

Parse the returned JSON, show reply in the chat window, and queue scene for the image service. Because the image call is slow compared with a text call, show the text first and let the picture load in afterwards. Users forgive a late image far more readily than a late reply.

Two practical notes. First, keep the scene description free of anything you would not want rendered, since the image service has its own rules and you pay attention to those separately. Second, for stories involving adults, keep the same standard in the scene text as in the story: the minors rule applies to the text this API produces, and your image pipeline should enforce its own checks too.

Pattern 3: alt text, captions and tags

The least glamorous use is often the most reliable. If you already know what a picture contains, because you generated it from a known prompt or stored a description with it, the model can turn that description into a short caption, an alt attribute, a filename and a handful of tags. This is plain text work, it is fast, and it costs almost nothing.

Give the model the description and a strict length limit, for example "alt text under 120 characters, describe the image, no phrases like image of". Run it with a low temperature such as 0.2 so results are consistent across a batch. For hundreds of images, send requests in parallel, but stay under 8 concurrent requests on a full key (2 on a trial key) to avoid concurrency errors.

Teaching the bot to handle picture requests

Users will ask a text-only bot for pictures anyway. If you do not plan for it, the model may pretend it can draw, which is the worst outcome. Put the rule in the system message and give the bot something useful to say instead.

A short instruction does the job: "You cannot produce images. If the user asks for a picture, describe the scene in two or three vivid sentences and offer a one-line image prompt they can paste into an image tool." Users get a response that helps, and you avoid a support ticket from someone who waited for a drawing that never came.

If your app does have an image service attached, flip the instruction. Tell the model to end a reply with a marker line such as IMAGE: description whenever a picture would help, then strip that line before showing the text and send it to the service. Keep the marker format boring and consistent; a model follows a plain pattern more reliably than a clever one. Test it with a low temperature first, and only then raise it for the story text.

Finally, remember latency. A text reply can start streaming in a moment, while an image takes much longer. Never hold the text back to wait for the picture.

Cost of the text side

The price is $0.15 per 1M input tokens and $0.50 per 1M output tokens, from prepaid credit with no subscription. Prompt writing is cheap because both sides are short.

Worked example for 1,000 image prompts, each with about 300 input tokens (system message plus idea) and about 100 output tokens:

  • Input: 1,000 x 300 = 300,000 tokens, so 300,000 x $0.15 / 1M = $0.045.
  • Output: 1,000 x 100 = 100,000 tokens, so 100,000 x $0.50 / 1M = $0.05.
  • Total: $0.095, under ten cents for the whole batch.

Your image service will almost certainly cost far more than this per image, so check their current pricing when you plan a budget. The pricing page has this API's top-up tiers, and the API key page explains how to claim a $0.50 trial to test your prompt-writing step before paying anything.

When this is the wrong tool

Choose something else if your core feature is a model that generates or edits images from one account and one bill. This API will not grow that ability. Choose it when the conversation is the product, when you want a model that answers lawful adult requests without content refusals, and when you are fine wiring in a picture service for the visual part.

If that matches, the next step is a five-minute test: claim the trial, run the prompt-writer script above, and read the result. The uncensored LLM API page covers the model itself.

Questions and answers

Can this API generate images?

No. It is text only. There is no image, audio or video generation. You can use it to write prompts and descriptions for an image tool you run separately.

Can I send a photo to the chatbot and ask about it?

The documented interface is text messages. Plan around that, and convert images to text descriptions with another tool if you need the chatbot to discuss them.

How do I get consistent image prompts out of the model?

Use a strict system message that demands one paragraph and no preamble, set a low temperature and cap max_tokens. JSON mode is useful when you need separate fields.

Does a text-only bot cost much to run?

Short generations cost fractions of a cent. At $0.15 and $0.50 per 1M tokens, 1,000 image prompts of about 300 input and 100 output tokens come to roughly $0.095.

Your key is one form away

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

Start with trial credit

Email and password, key on screen right away.