BeLive Token Hub
API Reference

API Reference

BeLive Studio API overview — base URL, authentication, error codes and compatibility.

BeLive Studio is a unified LLM API gateway. All endpoints follow the OpenAI-compatible format, with native-format compatibility for Claude and Gemini.

Full API docs

This section covers the core endpoints. Use the current console endpoint definitions for the complete list, field details, and online debugging.

See Limits and Quotas for gateway request-body and multimodal file limits.

Base URL

https://api.tokenhub.belivestudios.com

Authentication

All requests carry the API key in an HTTP header:

Authorization: Bearer sk-your-belive-studios-key

API keys are created in "API Tokens" on the BeLive Studio Console, with optional model, IP and quota restrictions.

Quick Test

curl https://api.tokenhub.belivestudios.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-belive-studios-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.6-sol",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Endpoints at a Glance

CategoryEndpointDescription
ChatPOST /v1/chat/completionsOpenAI-compatible chat with streaming, tool calls and multimodality
ChatPOST /v1/messagesClaude (Anthropic) native Messages endpoint
ChatPOST /v1beta/models/{model}:generateContentGemini (Google) native non-streaming generation
ChatPOST /v1beta/models/{model}:streamGenerateContentGemini native streaming generation
ImagePOST /v1/images/generationsGPT Image text-to-image, returning Base64 image data
ImagePOST /v1/images/editsEdit or extend images with GPT Image and a reference image
ImagePOST /v1/images/generationsGPT Image common endpoint: generate or edit depending on image
ImagePOST /v1/images/generationsSeedream text-to-image and image-to-image
ImagePOST /v1/models/{model}:generateContentNative Gemini image generation and editing
ImagePOST /v1/images/generationsOpenAI-compatible Gemini image endpoint, returning an image URL
VideoPOST /api/v3/contents/generations/tasksCreate a Seedance video generation task
VideoGET /api/v3/contents/generations/tasks/{task_id}Query a Seedance task status and result
VideoMiniMax H3Create and query MiniMax H3 / H3 Max video generation tasks
VideoKling 3.0 TurboText-to-video: POST /text-to-video/kling-3.0-turbo; image-to-video: POST /image-to-video/kling-3.0-turbo
VideoKling 3.0 / 3.0 OmniText: POST /text-to-video/kling-3.0; image: POST /image-to-video/kling-3.0; Omni: POST /omni-video/kling-3.0-omni; motion control: POST /motion-control/kling-3.0
VideoKling O1POST /omni-video/kling-o1 for text, image and video inputs
VideoGET /tasksQuery Kling asynchronous tasks by task ID
VideoPOST /tasksPaginate Kling asynchronous tasks by time, status or product type
ManagementGET /v1/modelsList models callable by the current token
ManagementGET /v1/dashboard/billing/subscriptionQuery token balance and usage

Error Codes

HTTP statusMeaning
400Bad request (misspelled model, missing params, etc.)
401Invalid or missing API key
403Token lacks permission (model not authorized, IP restricted, quota exhausted)
404Wrong path (check the /v1 prefix)
429Rate limited
500 / 502 / 503Upstream or gateway error — retryable

Error responses are JSON with error.message, error.type and error.code.

On this page