Quickstart for Whisper pipelines
Connect your multimodal pipeline to an uncensored text-completion API using standard OpenAI-compatible SDKs. Generate scripts, captions, or post-processing text with a single endpoint and transparent token pricing.
Base URL and Authentication
Our API is hosted at https://api.whisperapi.cc/v1. It is fully compatible with the official OpenAI SDKs and any client that supports the base_url parameter. To authenticate, pass your API key in the Authorization header as a Bearer token.
You can generate your key instantly via the dashboard using Google or an email password. The key is displayed immediately after creation. Unlike general aggregators, we do not route between multiple vendors; this endpoint serves a single uncensored model optimized for creative and functional text tasks.
If you are integrating with tools like the Runway API or the whisper api, use this endpoint for prompt engineering, script generation, or caption refinement.
First Request
Send a standard chat.completions request to generate text. The model ID is uncensored. This model answers without content refusals for lawful adult, fictional, or controversial topics, making it ideal for creative pipelines.
- Context window: 100,000 tokens (prompt + completion).
- Max output: up to the end of the 100,000-token window.
- Features: Streaming, function calling, and JSON mode.
Use the following cURL example to verify connectivity and basic text generation.
curl https://api.whisperapi.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 SDK Integration
For Python developers, configure the OpenAI client to point to our base URL. This allows you to use familiar methods like client.chat.completions.create() while leveraging our uncensored model.
Install the standard openai package. Set the API key and base URL in your initialization. This approach works for any OpenAI-compatible client, ensuring you can swap endpoints without rewriting your logic. This is particularly useful when chaining text responses after using a speech to text api or the elevenlabs api.
from openai import OpenAI
client = OpenAI(base_url="https://api.whisperapi.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 SDK Integration
In JavaScript or TypeScript environments, use the official openai npm package. Initialize the client with the baseURL set to https://api.whisperapi.cc/v1.
This setup allows you to integrate text generation directly into your Node.js applications. Whether you are processing OCR results or preparing prompts for the sora 2 api, this method ensures consistent data structures. The response format matches the OpenAI standard, making it easy to parse JSON or text streams.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.whisperapi.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 Responses
Enable streaming by setting stream: true in your request. The API returns Server-Sent Events (SSE) for real-time token delivery. This is critical for user-facing applications where latency matters, such as live captioning or interactive script editing.
The final chunk contains the total token usage for the request, allowing you to track costs accurately. Streaming works seamlessly with the uncensored model, providing continuous text output without waiting for the full completion. This is ideal for pipelines involving the flux api or text to speech api where prompt refinement happens in real-time.
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)
Limits, Errors, and Context
Rate Limits: 300 requests per minute and 8 concurrent requests per key. Request body limit is 8 MB.
Errors: A 401 status indicates an invalid or missing API key. A 402 status means your prepaid credit is exhausted. A 429 status indicates you have exceeded the rate limit.
Context: The model supports a 100,000-token context window. There is no separate output cap. Note that we do not offer embeddings or fine-tuning. If you need model routing or SLA guarantees, this independent text API may not be the right fit. Credit never expires, and errors are free.
Questions and answers
Does this API support image or video generation?
No. This is a text-only chat-completions API. It serves the text layer of pipelines that use tools like the <a href="/">whisper api</a> or <a href="/">runway api</a>. We do not generate audio, images, or video.
How do I pay for usage?
We accept top-ups by crypto (USDT on TRC20, USDC on Base). Payments range from $20 to $500. Prepaid credit never expires.
Is the model uncensored?
Yes, the model does not refuse lawful adult, fictional, or controversial topics. However, we maintain a hard limit against sexual content involving minors, which is always refused.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Under the hood: specs
One table with every limit, feature and price that applies to your key.
| Feature | Support |
|---|---|
| Compatibility | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Authentication | Authorization: Bearer YOUR_KEY |
| Model | uncensored |
| Base URL | https://api.whisperapi.cc/v1 |
| Endpoints | POST /v1/chat/completions · GET /v1/models |
| Max output | prompt + completion fit within 100,000 tokens; max_tokens optional, no separate output cap |
| Other parameters | temperature, top_p, stop, seed, presence_penalty, frequency_penalty |
| Structured output | response_format: {"type": "json_object"} |
| Function calling | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Context window | 100,000 tokens (prompt + completion together) |
| SSE streaming | Yes — server-sent events; the last chunk carries token usage |
| Request size | up to 8 MB per request |
| Concurrency | up to 8 in parallel per key |
| Rate limit | 300 requests per minute per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Top-up | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Price | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| Subscription | paid credit never expires, no subscription |
| Bonus credit | +5% on $50+, +10% on $100+, +15% on $200+ |
| Free trial | $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 pay | prepaid credit, charged by real token usage; errors and refusals are free |
| Keys | one key per account, regenerate any time (the old one stops working) |
| Sign-in | Google or e-mail and password |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
Error codes
Every error is JSON with a type you can switch on. You are never charged for an error.
| HTTP | Type | What to do |
|---|---|---|
400 | bad_request | invalid JSON, empty messages, bad parameter, or a prompt longer than the window — fix and resend |
401 | missing_key · invalid_key · key_revoked | check the Authorization header or use your current key |
402 | no_credit | out of credit; add credit and retry |
403 | content_blocked | sexual content involving minors — refused, not billed |
404 | not_found | only /v1/chat/completions and /v1/models exist |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | slow down: rate or parallel limit reached |
503 | upstream_busy | temporary overload, retry shortly |