Text-to-video or image-to-video model. Generates short video clips with configurable duration and resolution.
Key strengths
- Text + image input
- Multiple resolutions
- Duration control
- Motion coherence
Text-to-video or image-to-video model. Generates short video clips with configurable duration and resolution.
Vidu's vidu/vidu-t1 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.
vidu/vidu-t1 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.
Compare different providers across TokenLX · All locations.
Pricing is shown by the model billing method, using per-call or per-second prices and resolution tiers.
Total usage per day on TokenLX (last 30 days).
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": "vidu-t1",
"prompt": "一只蝴蝶停在花瓣上缓缓展翅",
"duration": 5,
"aspectRatio": "16:9",
},
)
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=vidu-t1",
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.
POST /v1/aigc/video/tasksGET /v1/aigc/video/tasks/{taskId}?model=vidu-t1Response is raw upstream JSON passthrough — fields vary by channel.
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model name |
| prompt | string | Yes | Video description prompt |
| aspectRatio | string | No | Aspect ratio 16:99:161:1 |
| resolution | string | No | Output resolution 540p720p1080p |
modelstringYespromptstringYesaspectRatiostringNo16:99:161:1resolutionstringNo540p720p| viduExtraJson | object | No | Extra JSON for Vidu-specific options (e.g. enhance, fps) |
| referenceImageUrls | array | Image-to-video | Reference image URLs. Aspect ratio: 1:4~4:1. Note: aspect ratio is inherited from image in I2V mode (aspectRatio param not accepted) |
| videoInputMode | string | No | Input mode. Auto-inferred if omitted: 1 image → first_frame, 2 → first_last_frame, ≥3 → reference first_framefirst_last_framereference |
1080pviduExtraJsonobjectNoreferenceImageUrlsarrayImage-to-videovideoInputModestringNofirst_framefirst_last_framereference