DEVELOPER DOCUMENTATION

Integrate with one familiar API.

Use your API key, the base URL below and an exact model ID from the public directory. Endpoint and parameter support varies by model.

Base URL · https://nullapi.vip/v1

Authentication

Send your personal API key as a Bearer token. Keep it in a server-side secret store; do not expose it in browser code or public repositories.

Authorization: Bearer YOUR_API_KEY

List available models

The list is filtered by the model groups enabled for your key.

curl https://nullapi.vip/v1/models \
  -H "Authorization: Bearer $NULL_API_KEY"

Chat completion example

Replace the example model ID with one returned by /v1/models.

curl https://nullapi.vip/v1/chat/completions \
  -H "Authorization: Bearer $NULL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v4.1-flash",
    "messages": [{"role":"user","content":"Hello"}]
  }'

Common integration notes

Base URL

Set the client base URL to https://nullapi.vip/v1. Do not append a second /v1 if your SDK adds it automatically.

Model ID

Model IDs and availability are key-specific. Verify using GET /v1/models.

Compatibility

OpenAI-compatible chat requests use /v1/chat/completions. Other endpoints and media parameters vary by model.

Long-running requests

Prefer streaming where supported. Client timeouts do not override proxy or upstream response limits.

Do not retry a long-running generation blindly after a timeout. First check whether the task completed or a charge was recorded.