EN ▾

Uncensored text API for creative pipelines

Get API key

Quickstart for Acestep pipelines

Integrate the uncensored text API into your multimodal pipeline with this concise quickstart. Generate scripts, captions, and prompt engineering outputs using the standard OpenAI-compatible interface.

Prerequisites: Get Your API Key

Before making requests, you need a valid API key. Visit the Get API key page on acestep.cc. You can sign up using Continue with Google or by creating an email and password account. No phone number is required. Once registered, your API key is displayed immediately. Copy this key; you will use it to authenticate all subsequent requests. If you do not have credit, you will need to top up. We accept crypto payments only (USDT on TRC20 or USDC on Base) for amounts between $20 and $500. New accounts receive $0.50 of trial credit valid for 7 days, with no card needed to start. Keep your key secure, as it authenticates your usage against the rate limits and token consumption.

Installation

The API uses the standard OpenAI-compatible protocol. You can interact with it using the official OpenAI SDKs for your preferred language or any HTTP client. For Python, install the openai package. For Node.js, install openai. Ensure you are using a recent version of the SDK that supports custom base URLs. The base URL for our service is https://api.acestep.cc/v1. This allows you to reuse existing pipeline code that expects OpenAI endpoints, simply by swapping the base URL and API key. The model ID you must specify in your requests is uncensored. This model is an open-weight LLM tuned for minimal refusals on lawful adult, fictional, or controversial topics, making it ideal for creative pipelines where content filters might otherwise block valid creative output.

Basic Request: Generate Text

Send a POST request to /v1/chat/completions with your system prompt and user messages. The model will return generated text. Ensure you set the model parameter to uncensored. You can control creativity with temperature and top_p. The context window supports up to 100,000 tokens total (prompt + completion). If you do not specify max_tokens, the response can run to the end of the 100,000-token window. Errors and refusals do not consume credit, but successful token generation does. Use this endpoint for generating scripts, captions, or processing text data before passing it to other modalities like speech or image generation APIs.

Streaming Responses

For real-time updates, set stream: true in your request. The API returns Server-Sent Events (SSE). Each chunk contains partial text. Token usage details are provided in the final chunk of the stream. This is useful for applications that display text as it is generated, improving perceived latency for users. Ensure your client handles SSE correctly. The stream allows you to process tokens as they arrive, which is beneficial for long-form content generation in your pipeline. Remember that streaming does not change the pricing or token limits; you are still charged for the total tokens generated.

Function Calling

The API supports function calling, allowing the model to output structured data based on your defined tools. Define your functions in the tools parameter. Set tool_choice to auto or a specific function name. The model will respond with a function call object if appropriate. This is valuable for extracting structured data from text or preparing inputs for downstream API calls. You can also enforce JSON output by setting response_format to {"type": "json_object"}. This ensures the model returns valid JSON, which is critical for reliable integration into your automated pipeline. Use these features to enhance the reliability of your text processing steps.

Pricing and Limits

Pricing is $0.15 per 1M input tokens and $0.50 per 1M output tokens. Credit is prepaid and never expires. Errors are free. Rate limits are 300 requests per minute per key and 8 concurrent requests at the same time per key. The maximum request body size is 8 MB. If you exceed the rate limit, you receive a 429 error. A 401 error indicates an invalid or expired key. A 402 error means you have insufficient credit. Refunds are not issued for credit; disputes are handled via the Support page. One active key is allowed per account; generating a new key replaces the old one. Keep these limits in mind when designing your pipeline's retry logic.

cURL

curl https://api.acestep.cc/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."}]
  }'

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.acestep.cc/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)

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.acestep.cc/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);

Streaming

stream = client.chat.completions.create(
    model="uncensored",
    messages=[{"role": "user", "content": "Tell the story in second person."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)

Specs at a glance

Use this table to decide whether the API fits your project before you buy credit.

FeatureSupport
API formatOpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key
Modeluncensored
API keyAuthorization: Bearer YOUR_KEY
EndpointsPOST /v1/chat/completions · GET /v1/models
Base URLhttps://api.acestep.cc/v1
Completion lengthprompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Context window100,000 tokens, input and output combined
StreamingSupported (stream: true), usage included at the end
JSON modeJSON object mode via response_format json_object
Sampling parameterstemperature, top_p, stop, seed and the two penalties are passed through
Max body8 MB request body
Parallel requests8 requests at the same time per key
Requests per minute300/min per key
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
Token pricesinput $0.15 / 1M tokens, output $0.50 / 1M tokens
Paymentcrypto: USDT on TRON or USDC on Base, $20–$500, any whole sum
Credit expiryno monthly fee; paid credit does not expire
Volume bonus+5% from $50, +10% from $100, +15% from $200
Trial credit$0.50 for 7 days, no card · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up
How you paypay as you go from prepaid credit; nothing is charged for failed or refused requests
AccountGoogle or e-mail and password
Keysone key per account, regenerate any time (the old one stops working)
Contentuncensored for adults; the only hard rule: no sexual content involving minors

Error codes

Errors come back as JSON with a stable type; failed and refused requests are not billed.

CodeTypeMeaning
400bad_requestmalformed request or too long for the context window
401missing_key · invalid_key · key_revokedcheck the Authorization header or use your current key
402no_creditbalance is empty — top up, requests resume at once
403content_blockedsexual content involving minors — refused, not billed
404not_foundunknown endpoint
413request_too_largerequest body larger than 8 MB
429rate_limited · concurrencyslow down: rate or parallel limit reached
503upstream_busymodel busy — retry in a few seconds

Questions and answers

Does the uncensored model block all sexual content?

No, the model is tuned to minimize refusals for lawful adult, fictional, and controversial topics. However, a hard content limit always applies: requests containing sexual content involving minors are refused. This is the only strict block enforced by the model.

Can I use this API for image or video generation?

No. This is a text-only chat-completions API. It does not generate images, audio, or video. It is designed to power the text generation steps in your pipeline, such as writing prompts for image generators or scripts for video tools. For those modalities, you should use their respective APIs.

How do I top up my credit?

Top-ups are accepted by crypto (USDT on TRC20, USDC on Base). You can top up any whole amount from $20 to $500. Credits are charged based on real token usage. Trial credit is also available for new accounts, with no card needed.

Your key is one form away

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