EN ▾
Get API key

Uncensored OpenAI-compatible API for developers.

Quickstart for Vibevoice pipelines

Get raw, uncensored text output from VibeVoice in seconds. This quickstart shows how to integrate our openai compatible api into your pipeline using standard SDKs.

Prerequisites

Before integrating, ensure you have an active account. Sign up via Google or email on the Get API key page to receive your unique key immediately. You need no credit card for the initial $0.50 trial. Claim this credit with one click on your API key page. Our uncensored llm serves the model id "uncensored" via a standard endpoint. The base URL is https://api.vibevoice.top/v1. This setup works with any OpenAI SDK, making it a drop-in replacement for many existing pipelines.

Authentication

Pass your API key in the Authorization header. The format must be "Bearer YOUR_API_KEY". If the key is missing or invalid, the API returns a 401 error. Since we focus on text processing, ensure your pipeline sends only text data. The key is tied to one account; generating a new key replaces the old one instantly. This simplicity allows rapid iteration in your development environment.

Sending a Request

Make a POST request to /v1/chat/completions. Include the model id, your messages, and any parameters. Here is a basic example using cURL:

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

This request sends a simple instruction to the model. The response contains the generated text. You can adjust parameters like temperature for creativity or set strict limits on output length. This direct approach is ideal for generating scripts, captions, or prompt variations for other tools.

Python SDK Integration

Use the official OpenAI Python library. Configure the base URL to point to our service. Pass your API key as the api_key. This allows you to use familiar methods like client.chat.completions.create(). It is an openai compatible api, so your existing code structure likely requires minimal changes. This method is perfect for backend processing or data extraction tasks.

from openai import OpenAI

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

Remember to handle exceptions gracefully. Network errors or rate limits can interrupt your pipeline. Logging the response helps in debugging why a specific prompt might have been refused or generated unexpected output.

Node SDK Integration

For JavaScript environments, use the openai npm package. Set the apiKey and baseURL properties in the configuration object. This ensures requests go to the correct endpoint. The Node SDK supports the same parameters as the Python version. It is ideal for web servers or edge functions that need to generate text on demand.

import OpenAI from "openai";

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

Ensure you manage the lifecycle of the client object to avoid resource leaks. This integration is robust for handling asynchronous text generation tasks in modern web applications.

Streaming Responses

Enable streaming by setting stream to true in your request. The API returns data in chunks as they are generated. This is useful for real-time displays or progressive text rendering. The last chunk includes the full token usage statistics. Streaming reduces perceived latency for end-users.

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)

Handle the stream correctly to ensure all data is processed. If the connection drops, you may miss the final usage data. This feature is valuable for applications that need to display text as it is being written.

Technical specifications

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

ItemValue
CompatibilityOpenAI Chat Completions schema; official openai SDKs work unchanged
AuthenticationAuthorization: Bearer YOUR_KEY
MethodsPOST /v1/chat/completions · GET /v1/models
Modeluncensored
Base URLhttps://api.vibevoice.top/v1
JSON modeJSON object mode via response_format json_object
Function callingYes — tools, tool_choice; replies carry tool_calls, also when streaming; send results back as role: tool
Max context100,000 tokens (prompt + completion together)
Other parameterstemperature, top_p, stop, seed and the two penalties are passed through
Max outputup to the rest of the 100,000-token window; max_tokens optional (no separate cap)
StreamingYes — server-sent events; the last chunk carries token usage
Rate limit300/min per key
Request sizeup to 8 MB per request
Parallel requests8 requests at the same time per key
Response headersX-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency
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
Top-upUSDT (TRC20) or USDC (Base), any whole amount from $20 to $500
Volume bonus+5% on $50+, +10% on $100+, +15% on $200+
Subscriptionno monthly fee; paid credit does not expire
Token prices$0.15 per 1M input tokens · $0.50 per 1M output tokens
Billingpay as you go from prepaid credit; nothing is charged for failed or refused requests
Contentadult content allowed; sexual content involving minors is refused
Keysone key per account, regenerate any time (the old one stops working)
Accountsign in with Google or with e-mail + password

Errors and what to do

The type field is stable, the message is for humans. Errors cost nothing.

HTTPTypeWhat to do
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_creditout of credit; add credit and retry
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_busytemporary overload, retry shortly

Questions and answers

What are the rate limits?

You are limited to 300 requests per minute per key and 8 concurrent requests. The request body must not exceed 8 MB. Exceeding these limits results in a 429 error.

How does pricing work?

You pay $0.15 per 1M input tokens and $0.50 per 1M output tokens. Credit is topped up via crypto (USDT, USDC) and never expires. Errors and refusals are free.

What is the context window?

The total context window is 100,000 tokens for prompt and completion combined. There is no separate output cap, and if max_tokens is not specified, the response can run to the end of the window.

Your key is one form away

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

Get API key