# VoidAI > Integrate with the VoidAI API: authentication, model capabilities, credits, chat completions, Responses, Messages, images, audio, and embeddings. - [VoidAI API Documentation](https://docs.voidai.app/index.md): Connect to VoidAI with OpenAI-compatible chat, Responses, and Anthropic Messages APIs. Find authentication, models, pricing, and endpoint references. - [VoidAI API Quickstart](https://docs.voidai.app/quickstart.md): Create a VoidAI API key, configure the API base URL, and send an OpenAI-compatible chat request with Python, JavaScript, or cURL. - [VoidAI API Authentication](https://docs.voidai.app/authentication.md): Authenticate VoidAI requests with a Bearer API key or x-api-key header, understand public model endpoints, and protect server-side credentials. - [Use the OpenAI SDK with VoidAI](https://docs.voidai.app/guides/openai-sdk.md): Configure OpenAI Python and JavaScript clients for VoidAI chat completions and streaming, with model-specific compatibility guidance. - [Use OpenCode with VoidAI](https://docs.voidai.app/guides/opencode.md): Configure OpenCode V2 with a custom VoidAI Chat Completions provider, environment-variable credentials, eligible models, and tool-calling requirements. - [Tool Calling with the VoidAI API](https://docs.voidai.app/guides/tool-calling.md): Build a bounded Chat Completions tool loop with VoidAI: validate arguments, handle multiple tool calls, and return each result with its tool_call_id. - [Handle VoidAI API Errors](https://docs.voidai.app/guides/errors.md): Diagnose authentication, eligibility, validation, rate-limit, and provider errors from VoidAI API responses. - [VoidAI Credits, Pricing, and Cache Billing](https://docs.voidai.app/guides/credits.md): Understand VoidAI input and output rates, cache reads and writes, image billing, discounts, and account credit usage. - [Create Chat Completion](https://docs.voidai.app/api-reference/chat/completions.md): Send OpenAI-compatible chat requests to VoidAI, including streaming, tool calls, and model-supported multimodal inputs. - [Create a Response](https://docs.voidai.app/api-reference/responses/create.md): Use the VoidAI Responses API for supported model input, tools, conversation context, and named streaming events. - [Compact Response Context](https://docs.voidai.app/api-reference/responses/compact.md): Compact conversation context through the VoidAI Responses API, with native or summarization fallback behavior and billing. - [Create an Anthropic-Compatible Message](https://docs.voidai.app/api-reference/messages/create.md): Use the VoidAI Messages endpoint with model-specific access, streaming, token limits, and Claude usage disclosures. - [Count Message Input Tokens](https://docs.voidai.app/api-reference/messages/count-tokens.md): Count input tokens for an Anthropic-format VoidAI request, including estimation behavior and access requirements. - [Generate Images with VoidAI](https://docs.voidai.app/api-reference/images/generations.md): Generate images using supported VoidAI models, with current image count, size, quality, format, and GPT Image constraints. - [Edit Images with VoidAI](https://docs.voidai.app/api-reference/images/edits.md): Edit images with multipart uploads, image arrays, masks, current GPT Image restrictions, and model-dependent limits. - [Create Speech](https://docs.voidai.app/api-reference/audio/speech.md): Generate speech through VoidAI with supported text-to-speech models, voices, speed controls, and binary audio responses. - [Create Transcription](https://docs.voidai.app/api-reference/audio/transcriptions.md): Transcribe an audio file with VoidAI, including multipart upload limits and supported response-format parameters. - [Create Translation](https://docs.voidai.app/api-reference/audio/translations.md): Submit audio to the VoidAI translation endpoint with multipart upload limits and supported parameters. - [Create Video: Current Availability](https://docs.voidai.app/api-reference/video/create.md): Current availability of VoidAI video create requests and supported alternatives. - [List Video: Current Availability](https://docs.voidai.app/api-reference/video/list.md): Current availability of VoidAI video list requests and supported alternatives. - [Get Video: Current Availability](https://docs.voidai.app/api-reference/video/get.md): Current availability of VoidAI video get requests and supported alternatives. - [Download Video: Current Availability](https://docs.voidai.app/api-reference/video/download.md): Current availability of VoidAI video download requests and supported alternatives. - [Delete Video: Current Availability](https://docs.voidai.app/api-reference/video/delete.md): Current availability of VoidAI video delete requests and supported alternatives. - [Create Embeddings](https://docs.voidai.app/api-reference/embeddings/create.md): Create text embeddings with VoidAI using a string or array of strings and a supported embedding model. - [Moderation Endpoint Availability](https://docs.voidai.app/api-reference/moderations/create.md): Current availability of the VoidAI moderation endpoint for public API integrations. - [List VoidAI Models](https://docs.voidai.app/api-reference/models/list.md): Read the public VoidAI model catalog, supported endpoints, capability flags, pricing fields, and account eligibility limitations. - [Get Model Details](https://docs.voidai.app/api-reference/models/get.md): Look up a VoidAI model by exact ID and inspect endpoint support, pricing, and capability metadata. - [Get My Discounts](https://docs.voidai.app/api-reference/discounts/my-discounts.md): Read active VoidAI model discounts, discounted input and output rates, expiry, and remaining time for your account. - [Get Discount-Eligible Models](https://docs.voidai.app/api-reference/discounts/eligible-models.md): List models eligible for VoidAI account discounts without assuming inference access or an active discount. - [Get Account Credits](https://docs.voidai.app/api-reference/credits/get.md): Read the authenticated VoidAI account credit balance, recorded spend, vault balance, and reset metadata limitations. - [Get Request Usage](https://docs.voidai.app/api-reference/usage/get.md): Look up a VoidAI request by completion ID or request UUID and inspect recorded tokens, credits, status, and latency. ## OpenAPI Specs - [openapi](/api-reference/openapi.json) ## Optional - [VoidAI website](https://voidai.app) - [Discord](https://discord.gg/pQab7kukfu) - [GitHub](https://github.com/voidai-team) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.