Documentation

Learn how to integrate Orbit into your workflow. One API key, every model.

Getting Started

Get up and running with Orbit in 3 steps.

1. Create an account

Sign up at orbit.hyfysoft.com and complete email verification. Your account comes with free tier access to DeepSeek V3.2.

2. Create an API key

Go to the API Keys page in your dashboard and click "Create Key". Copy the key — it will only be shown once. Your key starts with sk_orbit_.

3. Start making requests

Use your key with any OpenAI-compatible client. Orbit supports the OpenAI Chat Completions API, Images API, and a custom Videos API.

OpenAI SDK

Any OpenAI-compatible SDK works with Orbit. Just change the base_url:

Python

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orbit.hyfysoft.com/v1",
    api_key="sk_orbit_live_..."
)

# Access any Chinese LLM through OpenAI SDK
response = client.chat.completions.create(
    model="deepseek-v3.2",  # or qwen-max, glm-5, kimi-k2.5, ...
    messages=[{"role": "user", "content": "Hello"}]
)

TypeScript

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.orbit.hyfysoft.com/v1",
  apiKey: "sk_orbit_live_...",
});

const response = await client.chat.completions.create({
  model: "deepseek-v3.2",
  messages: [{ role: "user", content: "Hello" }],
});

cURL

curl https://api.orbit.hyfysoft.com/v1/chat/completions \
  -H "Authorization: Bearer sk_orbit_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v3.2",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Anthropic Messages API

Orbit also supports the Anthropic Messages API format. Use the Anthropic SDK with your Orbit API key — requests are automatically translated and routed to the best available model.

Endpoint

POST /v1/messages

Python (Anthropic SDK)

import anthropic

client = anthropic.Anthropic(
    base_url="https://api.orbit.hyfysoft.com/v1",
    api_key="sk_orbit_live_..."
)

message = client.messages.create(
    model="qwen3.5-plus",
    max_tokens=1024,
    messages=[
        {"role": "user", "content": "Hello, how are you?"}
    ]
)
print(message.content[0].text)

cURL

curl https://api.orbit.hyfysoft.com/v1/messages \
  -H "x-api-key: sk_orbit_live_..." \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3.5-plus",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Authentication

Both x-api-key and Authorization: Bearer headers are supported. Use your Orbit API key for either method.

Image Generation API

Generate images using Chinese providers. Compatible with OpenAI DALL-E API format.

Endpoint

POST /v1/images/generations

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orbit.hyfysoft.com/v1",
    api_key="sk_orbit_live_..."
)

response = client.images.generate(
    model="wanx",  # or cogview-4, minimax-image, step-image
    prompt="A serene mountain landscape at sunset",
    n=1,
    size="1024x1024"
)
print(response.data[0].url)

Available Image Models

ModelProviderPrice / image
wanxQwen / 通义万相$0.04
cogview-4Zhipu / 智谱$0.06
minimax-imageMiniMax$0.05
step-imageStepfun / 阶跃$0.04

Video Generation API

Generate videos using Chinese providers. Async task-based API — submit a task, then poll for completion.

Endpoints

POST /v1/videos/generations    # Submit generation task
GET  /v1/videos/{task_id}      # Query task status

Python

import requests
import time

# Submit video generation task
response = requests.post(
    "https://api.orbit.hyfysoft.com/v1/videos/generations",
    headers={"Authorization": "Bearer sk_orbit_live_..."},
    json={
        "model": "cogvideox",  # or seedance-2, minimax-video
        "prompt": "A cat playing piano in a cozy room",
        "duration": 5,
        "resolution": "1080p"
    }
)
task = response.json()
task_id = task["id"]
print(f"Task submitted: {task_id}")

# Poll for completion
while True:
    status = requests.get(
        f"https://api.orbit.hyfysoft.com/v1/videos/{task_id}",
        headers={"Authorization": "Bearer sk_orbit_live_..."}
    ).json()
    if status["status"] == "completed":
        print(f"Video URL: {status['url']}")
        break
    time.sleep(5)

Available Video Models

ModelProviderPrice / sec
cogvideoxZhipu / 智谱$0.12
seedance-2ByteDance / 字节$0.08
minimax-videoMiniMax$0.10

Audio API

Generate speech and music from text. Supports TTS voice synthesis and AI music creation with vocals and instruments.

Endpoint

POST /v1/audio/speech

Python

import requests

response = requests.post(
    "https://api.orbit.hyfysoft.com/v1/audio/speech",
    headers={"Authorization": "Bearer sk_orbit_live_..."},
    json={
        "model": "cosyvoice-v2",  # or minimax-speech, step-tts
        "input": "Hello, welcome to Orbit.",
        "voice": "alloy"
    }
)
with open("speech.mp3", "wb") as f:
    f.write(response.content)

cURL

curl https://api.orbit.hyfysoft.com/v1/audio/speech \
  -H "Authorization: Bearer sk_orbit_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "cosyvoice-v2",
    "input": "Hello, welcome to Orbit.",
    "voice": "alloy"
  }' \
  --output speech.mp3

Available Audio Models

ModelProviderPrice / sec
cosyvoice-v2Qwen / 通义$0.02
minimax-speechMiniMax$0.03
step-ttsStepfun / 阶跃$0.02
suno-v4Suno$0.05
minimax-musicMiniMax$0.04
udio-v2Udio$0.05

Available Models

Orbit provides access to 21 models across 7 Chinese providers — covering text, image, and video generation. See the Models page for the full list.

Text Models (LLM)

ModelProviderInput / 1MOutput / 1M
deepseek-v3.2DeepSeek$0.28$0.42
deepseek-r2DeepSeek$0.55$2.19
qwen-maxQwen$1.6$6.4
qwen-plusQwen$0.5$1.5
qwen-turboQwen$0.2$0.6
kimi-k2.5Moonshot$0.6$2.5
minimax-m2.5MiniMax$0.3$1.2
glm-5Zhipu$1$3.2
glm-4.7Zhipu$0.6$2.2
doubao-seed-2-proByteDance$0.47$2.37
step-3Stepfun$0.5$1.8

Available Models

Pricing

You pay the provider's price plus a small platform fee. No hidden markups.

Basic

Basic: provider price + 8% platform fee. Pay-as-you-go, no minimum.

Pro

Pro (monthly): provider price, zero platform fee. ¥199/month subscription.

FAQ