稳定生产路由
4 specialized modes in one model
LTX-2 已通过 API in One 接入真实生产路由 /api/v1/videos/generations,后端节点为 node50。一个 API Key 即可调用并按成功请求计费。
以下能力来自当前已接入的模型配置和后端路由,不展示未上线 API。
4 specialized modes in one model
Lipsync from audio input
Video control with pose/depth/canny
Up to 1080p and 20 seconds
浏览器端只调用同源 API,服务端 BFF 再转发到对应 Worker。
promptstringText description (required for text-to-video and image-to-video)
可选typestringMode: "text-to-video", "image-to-video", "lipsync", or "control"
可选imagestringImage URL for image-to-video mode
可选audiostringAudio URL for lipsync mode
可选audio_durationnumberAudio duration in seconds for lipsync (5–20)
可选videostringVideo URL for control mode
可选video_durationnumberVideo duration for control mode (5–20)
可选modestringControl mode: "pose", "depth", or "canny"
可选audio_modestringAudio mode for control: "preserve", "generate", or "none"
可选resolutionstringOutput resolution: "480p", "720p", or "1080p"
可选 · 默认 720paspect_ratiostringAspect ratio: "16:9" or "9:16" (text-to-video only)
可选 · 默认 16:9durationnumberVideo duration in seconds (5–20)
可选 · 默认 5seednumberRandom seed for reproducibility (-1 for random)
可选 · 默认 -1{
"endpoint": "/api/v1/videos/generations",
"headers": {
"Authorization": "Bearer <API_KEY>",
"Content-Type": "application/json"
},
"body": {
"model": "ltx-2",
"prompt": "A cat playing piano in a jazz bar, cinematic lighting",
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 5
}
}图像、视频、音频和工具任务创建后,使用真实任务端点查询结果。
GET/api/v1/tasks/{task_id}查询生成任务状态和结果。20–512 credits per video (~$0.20–$5.12)
这些场景可通过当前模型和对应后端节点实现。
Generate high-quality videos from text prompts
Animate images into video with image-to-video mode
Create lipsync videos by combining audio with AI video
Apply pose/depth/edge control to existing video
Credits depend on mode, resolution, and duration. Text/image-to-video: 20–76 credits. Lipsync: 32–256 credits. Control: 64–512 credits.
Four modes: text-to-video, image-to-video, lipsync (audio+video), and control (pose/depth/canny). Specify with the "type" parameter.
480p, 720p, and 1080p. Higher resolutions cost more credits.