ByteDance Doubao — Chinese LLM family tuned for the Volcano Engine cloud and ByteDance ecosystem.
Key strengths
- Chinese performance
- Volcano Engine native
- Good latency
- Multi-size tiers
Use cases
- Chinese products
- Social / content
- E-commerce
- Internal tools
ByteDance's bytedance/doubao-seaweed is a high-fidelity video generation model. It supports text-to-video and image-to-video workflows with configurable duration, aspect ratio, and resolution, plus first-frame and last-frame control for guided scene composition.
Generates cinematic clips with consistent motion, camera control, and optional native audio. Billed per second of generated content.
bytedance/doubao-seaweed is fully OpenAI-compatible — drop in your existing OpenAI Python or Node SDK and switch `baseURL` to `https://api.tokenlx.ai`. TokenLX transparently routes your requests to the optimal provider endpoint while preserving streaming, function-calling, and structured-output semantics.
Performance
Compare different providers across TokenLX · All locations.
Effective Pricing
Actual cost per million tokens across providers over the past 7 days.
Recent activity
Total usage per day on TokenLX (last 30 days).
Sample code & API
TokenLX normalizes requests and responses across providers. Use any OpenAI SDK or our native SDK.
import requests, time
headers = {"Authorization": "Bearer sk-tokenlx-...", "Content-Type": "application/json"}
resp = requests.post(
"https://api.tokenlx.ai/v1/aigc/video/tasks",
headers=headers,
json={
"model": "doubao-seaweed",
"prompt": "A cat walking through a sunlit garden",
"duration": 5,
},
)
task = resp.json()
task_id = task.get("taskId") or task.get("task_id") or task.get("id")
# 轮询结果
while True:
result = requests.get(
f"https://api.tokenlx.ai/v1/aigc/video/tasks/{'{'}task_id{'}'}?model=doubao-seaweed",
headers=headers,
).json()
print("status:", result.get("status"))
if result.get("status") in ("completed", "succeeded", "done"):
print(result)
break
time.sleep(10)Replace sk-aihubrouter-… with your key from the dashboard.
Parameter Reference
POST /v1/aigc/video/tasksGET /v1/aigc/video/tasks/{taskId}?model=doubao-seaweedResponse is raw upstream JSON passthrough — fields vary by channel.
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model name |
| prompt | string | Yes | Video description prompt |
| duration | int | No | Duration in seconds |
| aspectRatio | string | No | Aspect ratio |
| resolution | string | No | Output resolution |
modelstringYespromptstringYesdurationintNoaspectRatiostringNoresolutionstringNo