Quickstart for Mimo users
Integrate our uncensored model into your existing stack by switching the base URL and API key. This quickstart covers the standard OpenAI-compatible endpoints for text generation, streaming, and structured output.
Prerequisites
Before writing code, ensure you have an active API key. Sign up on the Get API key page using Google or email; the key is displayed immediately. No phone number is required, and no credit card is needed for the $0.50 trial. Claim this credit with one click on your API key page.
You need a programming language environment that supports HTTP requests. The following examples use Python and Node.js, but any OpenAI-compatible SDK works. Your base URL is https://api.mimoapi.cc/v1. Authentication is handled via the Authorization header with the Bearer scheme. We serve one uncensored model with ID uncensored, optimized for high-context, refusal-free generation up to 100k tokens.
Basic Chat Completion
Send a standard chat completion request to test the integration. This endpoint returns the model's text response. Note that we do not offer embeddings, images, or audio—this is strictly a text API.
The following example demonstrates a simple curl request to generate a response.
curl https://api.mimoapi.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
Using the official OpenAI Python library is the most common approach. Point the client to our base URL and provide your API key. The model ID must be set to uncensored. This setup allows you to use familiar parameters like temperature and top_p.
from openai import OpenAI
client = OpenAI(base_url="https://api.mimoapi.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 SDK Integration
For JavaScript and TypeScript environments, configure the OpenAI client to use our base URL. This ensures your existing logic works without modification. The client will handle the HTTP transport to our servers.
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.mimoapi.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
For lower latency and better user experience, use streaming. The API returns chunks as they are generated. Token usage details are included in the final chunk. This is ideal for chat interfaces where you want to display text as it is produced.
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
Our API enforces strict limits to ensure stability. You are limited to 300 requests per minute and 8 concurrent requests per key. The maximum request body size is 8 MB. If you exceed these limits, you will receive a 429 status code. Authentication failures return a 401 error, while insufficient credit returns a 402. The model supports a 100,000-token context window (input plus output). There is no separate output cap, and you can set a lower max_tokens value if you want one. Errors and refusals do not consume your prepaid credit.
Questions and answers
What happens if I exceed my rate limit?
You will receive a 429 status code. You can retry after the window resets or upgrade your prepaid credit tier if available. We allow 8 concurrent requests per key, so ensure your code handles concurrency correctly.
Is my data used for training?
No. Prompts sent to our API are not used for training our model. We only require an email for your account, and we do not collect phone numbers.
How do I top up my credit?
We accept top-ups by crypto (USDT on TRC20, USDC on Base). Top-ups range from $20 to $500, with bonuses for larger amounts. Credit never expires, and you can top up anytime via the dashboard.
Your key is one form away
Create an account, copy the key, change the base URL. That is the whole setup.
Capabilities and limits
If your tool speaks the OpenAI API, these are the details that matter.
| Parameter | Details |
|---|---|
| API format | OpenAI-compatible: any OpenAI SDK or client works — change the base URL and the key |
| Base URL | https://api.mimoapi.cc/v1 |
| API key | Bearer token in the Authorization header |
| Model | uncensored |
| Methods | POST /v1/chat/completions · GET /v1/models |
| Context window | 100,000 tokens (prompt + completion together) |
| Other parameters | temperature, top_p, stop, seed and the two penalties are passed through |
| SSE streaming | Supported (stream: true), usage included at the end |
| Function calling | Supported: tools + tool_choice, tool_calls in the reply (streamed too), tool results as role: tool messages |
| Max output | up to the rest of the 100,000-token window; max_tokens optional (no separate cap) |
| Structured output | JSON object mode via response_format json_object |
| Concurrency | 8 requests at the same time per key |
| Rate limit | 300/min per key |
| Response headers | X-Request-Id, X-Balance-USD, X-RateLimit-Limit-Requests, X-RateLimit-Limit-Concurrency |
| Max body | up to 8 MB per request |
| Payment | crypto: USDT on TRON or USDC on Base, $20–$500, any whole sum |
| Token prices | input $0.15 / 1M tokens, output $0.50 / 1M tokens |
| How you pay | pay as you go from prepaid credit; nothing is charged for failed or refused requests |
| Subscription | no monthly fee; paid credit does not expire |
| Volume bonus | +5% from $50, +10% from $100, +15% from $200 |
| Trial credit | $0.50 of credit valid 7 days, no card needed · Trial key: 2 parallel requests, 60 req/min; full limits (8 and 300) after first top-up |
| Content | uncensored for adults; the only hard rule: no sexual content involving minors |
| Sign-in | sign in with Google or with e-mail + password |
| Key management | one active key per account; a new key replaces the old one |
HTTP errors
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 | no key, wrong key, or a key replaced by a newer one |
402 | no_credit | balance is empty — top up, requests resume at once |
403 | content_blocked | refused by the content policy |
404 | not_found | unknown endpoint |
413 | request_too_large | body over 8 MB |
429 | rate_limited · concurrency | over 300/min or 8 parallel — back off and retry |
503 | upstream_busy | temporary overload, retry shortly |