Skip to main content
VoidAI is fully compatible with the OpenAI SDK. You can use all the features you’re familiar with by simply changing the base URL and API key.

Installation

Configuration

The only changes needed are:
  1. Set base_url / baseURL to https://api.voidai.app/v1
  2. Use your VoidAI API key instead of OpenAI’s

Supported Features

Chat Completions

Full support for chat completions including streaming, function calling, and tool use.

Function Calling / Tools

Image Generation

Audio Transcription

Text-to-Speech

Embeddings

Using Different Providers

The main benefit of VoidAI is accessing multiple providers through one SDK. Simply change the model name:
All providers use the same OpenAI-compatible request/response format. No code changes needed beyond the model name.

Environment Variables

For production, use environment variables: