Step 1: Get Your API Key
Sign up at voidai.app and create an API key from your dashboard. Your API key will look like this:
sk-voidai-xxxxxxxxxxxxxxxxxxxx
Keep your API key secure and never share it publicly. If your key is compromised, regenerate it immediately from your dashboard.
Step 2: Install the SDK
VoidAI is fully compatible with the OpenAI SDK. Install it for your preferred language:
Step 3: Make Your First Request
from openai import OpenAI
# Initialize the client with VoidAI
client = OpenAI(
api_key="sk-voidai-your_key_here",
base_url="https://api.voidai.app/v1"
)
# Create a chat completion
response = client.chat.completions.create(
model="gpt-5.1",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "What is the capital of France?"}
]
)
print(response.choices[0].message.content)
Step 4: Try Different Models
VoidAI gives you access to models from multiple providers. Simply change the model name:
# OpenAI models
response = client.chat.completions.create(model="gpt-5.1", messages=[...])
# Anthropic models
response = client.chat.completions.create(model="claude-sonnet-4-5-20250929", messages=[...])
# Google models
response = client.chat.completions.create(model="gemini-3-pro-preview", messages=[...])
# VoidAI/Lumina models
response = client.chat.completions.create(model="lumina", messages=[...])
Use the Models endpoint to see all available models and their capabilities.
Next Steps