# NoMask > OpenAI-compatible chat and image APIs. Explore NoMask models, SDK guides, coding tools, and an interactive API reference. - [NoMask API](https://docs.nomask.ai/introduction.md): Build with OpenAI-compatible chat completions, image generation, and your choice of NoMask models. - [Billing & Funding](https://docs.nomask.ai/billing.md): Prepaid USD balance: how charges are computed, and how to top up. - [Privacy](https://docs.nomask.ai/privacy.md): What NoMask stores about API traffic, and what it never stores. - [Quickstart](https://docs.nomask.ai/quickstart.md): Create a NoMask API key and make your first OpenAI-compatible request. - [API Keys & Authentication](https://docs.nomask.ai/authentication.md): Create a NoMask API key, connect your application, and control access and spending. - [Migrate from OpenAI](https://docs.nomask.ai/openai-compatibility.md): Connect your existing OpenAI SDK or framework to NoMask with a new base URL, API key, and model. - [Streaming](https://docs.nomask.ai/streaming.md): Server-sent events with standard chat.completion.chunk objects. - [Reasoning](https://docs.nomask.ai/reasoning.md): Control thinking depth and read the model’s reasoning tokens. - [Function Calling](https://docs.nomask.ai/function-calling.md): Let models call your functions: define tools, receive tool calls, return results. - [Vision](https://docs.nomask.ai/vision.md): Send images to vision-capable models in the OpenAI content-parts format. - [Video Inputs](https://docs.nomask.ai/video-inputs.md): Send videos to supported models and check their duration, size and format limits. - [NoMask System Prompt](https://docs.nomask.ai/system-prompt.md): Optionally prepend the same per-model persona used in the NoMask chat app. - [Prompt Caching](https://docs.nomask.ai/prompt-caching.md): Reuse eligible prompt input, understand cache discounts, and measure confirmed savings. - [Image Generation](https://docs.nomask.ai/image-generation.md): Generate and edit images with inline base64 results and per-model pricing. - [Idempotency](https://docs.nomask.ai/idempotency.md): Retry non-streaming requests safely without being billed twice. - [Support](https://docs.nomask.ai/support.md): Where to get help: AI assistant, email, and what to include in reports. - [Codex](https://docs.nomask.ai/integration-codex.md): Configure Codex through a local Responses adapter with NoMask text models. - [Claude Code](https://docs.nomask.ai/integration-claude-code.md): Connect Claude Code through a local Messages adapter. - [Roo Code](https://docs.nomask.ai/integration-roo-code.md): Configure an existing Roo Code installation with NoMask. - [Command Code](https://docs.nomask.ai/integration-command-code.md): Use Command Code with a NoMask API key and Chat Completions. - [Cline](https://docs.nomask.ai/integration-cline.md): Set up NoMask in the Cline editor extension. - [Kilo Code](https://docs.nomask.ai/integration-kilo-code.md): Configure NoMask in Kilo Code with a custom connection. - [OpenCode](https://docs.nomask.ai/integration-opencode.md): Use NoMask with OpenCode configuration files. - [Aider](https://docs.nomask.ai/integration-aider.md): Connect Aider to NoMask from your terminal. - [Create a chat completion](https://docs.nomask.ai/api-reference/chat-completions.md): Generate text using the OpenAI Chat Completions format. Set stream=true for SSE. Model-specific capabilities govern tools, vision, video and reasoning. Select a current text model ID. This API does not support Responses, structured JSON output, file uploads or built-in web access. Paid requests debi… - [Chat Completions](https://docs.nomask.ai/chat-completions.md): POST /chat/completions: every parameter, the full response shape, and examples. - [Generate an image](https://docs.nomask.ai/api-reference/image-generations.md): Generate one image from a prompt, optionally with references supported by the model. Use a current image model ID and its advertised prompt, reference-count, resolution and aspect-ratio limits. Accepts JSON base64 data URLs or multipart PNG/JPEG/WebP files. Remote image URLs, masks, quality controls… - [Edit an image](https://docs.nomask.ai/api-reference/image-edits.md): Edit with one or more reference images. Use a current image model ID and its advertised prompt, reference-count, resolution and aspect-ratio limits. Accepts JSON base64 data URLs or multipart PNG/JPEG/WebP files. Remote image URLs, masks, quality controls and streaming are unsupported. Reference byt… - [List models](https://docs.nomask.ai/api-reference/list-models.md): List text and image models available to the calling account. Copy each public id into requests. Capabilities, pricing and rate limits are dynamic; read the current model data rather than assuming one profile applies to every model. - [Retrieve a model](https://docs.nomask.ai/api-reference/get-model.md): Read the current capabilities, pricing, limits and rate-limit profile for one available model. - [Get balance](https://docs.nomask.ai/api-reference/balance.md): Read your current prepaid USD balance, shared across API keys. - [List usage](https://docs.nomask.ai/api-reference/usage.md): List settled account usage newest first, across all keys. Records contain billing metadata, never prompts or generated content. - [Get API key details](https://docs.nomask.ai/api-reference/me.md): Inspect the calling key's masked value, expiry, monthly spending limit and month-to-date spend. rate_limits is the default text profile; each model's rate_limit can differ. - [Account Endpoints](https://docs.nomask.ai/endpoints.md): Read your balance, history and limits programmatically. - [Errors](https://docs.nomask.ai/errors.md): The error envelope and every error code the API returns. - [Rate Limits](https://docs.nomask.ai/rate-limits.md): Available model tiers, request and token allowances, headers and retries. ## OpenAPI Specs - [openapi](/openapi.json) ## Optional - [Models](https://nomask.ai/models) - [API Reference](https://docs.nomask.ai/api-reference/chat-completions) - [Coding Tools](https://docs.nomask.ai/integration-codex) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.