EN ▾
Get API key

Uncensored Text API

Unrestricted Image Generator: The Text API for Your AI Visual Pipeline

An open-weight, uncensored chat-completions API designed to power the prompt engineering and text refinement steps in your unrestricted image generation pipeline.

  • Post /v1/chat/completions
  • No content refusals
  • $0.15 per 1M input tokens

Try it in one request

curl https://api.unrestrictedimagegenerator.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'
per 1M input tokens
$0.15
Output tokens / 1M
$0.50
token context
100,000
trial credit
$0.50
requests per minute
300

What you get

OpenAI-Compatible Integration

Drop in the base_url https://api.unrestrictedimagegenerator.com/v1 and your API key. Use the official OpenAI SDKs or any compatible client to send requests to the uncensored model.

Streaming via SSE

Enable token-by-token streaming with Server-Sent Events. Token usage statistics are provided in the final chunk for accurate billing and progress tracking.

Function Calling

Define tools and set tool_choice to extract structured data from generated descriptions or control your image generation parameters programmatically.

JSON Mode

Set response_format to json_object to guarantee the model returns strictly valid JSON. Ideal for passing complex prompt structures to your image generator.

Large Context Window

Support up to 100,000 tokens for prompt and completion combined. Handle long scripts, detailed style guides, or extensive image descriptions in a single request.

Fine-Grained Control

Adjust temperature, top_p, stop sequences, seed, presence_penalty, and frequency_penalty to tune the creativity and consistency of your generated text.

How it works

Create Account

Sign up with Google or email to receive your API key instantly without phone verification.

Add Crypto Credit

Top up with USDT (TRC20) or USDC (Base) to start making requests.

Call the API

Send your prompt to the endpoint and receive text output for your pipeline.

What people build with it

Prompt Refinement

Use the uncensored model to rewrite or expand raw user inputs into detailed, high-quality prompts optimized for image generators. Ensure no unwanted content filters block your creative direction.

Script Generation

Generate complex text scripts or instructions that the image model will follow. Use JSON mode to structure the output for easy parsing by your application logic.

Data Extraction

Extract specific attributes from image descriptions or user notes using function calling. Convert unstructured text into structured data for your generation workflow.

Post-Processing

Clean up or format the text output generated by your image pipeline. Apply style guides or language corrections before displaying results to users.

Why Your Image Generator Needs Uncensored Text

Most image pipelines break at the text layer. Standard LLMs often refuse to generate content that is slightly edgy, adult, or controversial, even if your image generator handles it fine. This uncensored chat API ensures your prompt engineering step doesn't become a bottleneck. The model is tuned to answer without content refusals for lawful adult use, allowing you to pass through any creative direction your users want.

While the primary focus of the unrestricted image generator workflow is visual output, the text that drives it matters. If your text model blocks a prompt, your image never renders. We provide the text processing layer that stays out of your way, letting your pipeline run smoothly from prompt to pixel.

Developer-First Integration: SDKs & Compatibility

We speak OpenAI. The API endpoint is https://api.unrestrictedimagegenerator.com/v1 and follows the standard chat-completions format. You can use the official OpenAI Python or Node.js SDKs, or any other client that supports OpenAI-compatible endpoints. Simply update the base_url and provide your API key.

from openai import OpenAI

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

resp = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Summarise this thread without softening it."}],
)
print(resp.choices[0].message.content)

Unlike general-purpose models, we don't offer embeddings or image generation. We focus strictly on text in, text out. This specialization means we optimize for the specific needs of prompt engineering and text refinement in visual pipelines.

Key Features: Streaming, Tools, and JSON Mode

Build responsive applications with streaming via Server-Sent Events (SSE). You receive tokens as they are generated, improving the user experience. The final chunk includes token usage data for accurate billing.

  • Function Calling: Define tools to extract structured data or control your pipeline.
  • JSON Mode: Force the model to return valid JSON with response_format json_object.
  • Parameters: Control creativity with temperature, top_p, and frequency_penalty.

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.unrestrictedimagegenerator.com/v1", apiKey: process.env.API_KEY });

const resp = await client.chat.completions.create({
  model: "uncensored",
  messages: [{ role: "user", content: "Draft a villain monologue for my game." }],
});
console.log(resp.choices[0].message.content);

Use the context window api to handle long texts. You have up to 100,000 tokens for the entire request, with no separate output cap per request.

Pricing: Pay Only for Tokens Used

Transparent token pricing with no subscriptions. Input tokens cost $0.15 per 1M, and output tokens cost $0.50 per 1M. Errors and refusals are free. Your prepaid credit never expires, and you only pay for what you use.

Top-ups are crypto-only: USDT (TRC20) or USDC (Base). You can add any whole amount from $20 to $500. Bonus credit is available for larger top-ups: +5% from $50, +10% from $100, +15% from $200. No cards, no PayPal, no bank transfers.

curl https://api.unrestrictedimagegenerator.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "uncensored",
    "messages": [{"role": "user", "content": "Write a blunt product review of a cheap VPN."}]
  }'

New users (one per person) start with $0.50 in trial credit, valid for 7 days. Claim this credit with one click on your API key page. No card is needed to start testing the API.

Questions and answers

Is this an image generation model?

No. This is a text-only chat-completions API. It generates text in response to text prompts. It does not create images, audio, or video. It is designed to power the text layer of your image generation pipeline.

Do I need to change my code to use this?

Only the base_url and model_id. Set base_url to https://api.unrestrictedimagegenerator.com/v1 and model to 'uncensored'. If you use the OpenAI SDK, the rest of your code remains the same.

What happens if the model refuses a prompt?

Refusals are rare for lawful adult content, but the model may still refuse if it detects prohibited content. Errors and refusals are free, so you only pay for successful token generation.

How do I pay for the API?

We accept crypto only: USDT on the TRC20 network or USDC on the Base network. Top-ups range from $20 to $500. Credits are added to your account and never expire.

Is there a free tier?

Yes. New users get $0.50 of trial credit, one per person, valid for 7 days. Claim this credit with one click on your API key page. No credit card is required to sign up and start testing.

Your key is one form away

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

Get API key