Ltx-Video(文字生成视频)
POST
/302/submit/ltx-video开源视频模型,特点是生成速度极快
注意:提示词越详细越好,不然效果很差
相关链接:https://github.com/Lightricks/LTX-Video
价格:0.05 PTC/次
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
prompt
string
提示词
negative_prompt
string
可选
num_inference_steps
integer
1-50
guidance_scale
number
2-10
seed
integer
可选
示例1
{
"prompt": "The camera pans over a snow-covered mountain range, revealing a vast expanse of snow-capped peaks and valleys.The mountains are covered in a thick layer of snow, with some areas appearing almost white while others have a slightly darker, almost grayish hue. The peaks are jagged and irregular, with some rising sharply into the sky while others are more rounded. The valleys are deep and narrow, with steep slopes that are also covered in snow. The trees in the foreground are mostly bare, with only a few leaves remaining on their branches. The sky is overcast, with thick clouds obscuring the sun. The overall impression is one of peace and tranquility, with the snow-covered mountains standing as a testament to the power and beauty of nature.",
"negative_prompt": "low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly",
"num_inference_steps": 30,
"guidance_scale": 3
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
video
object
必需
url
string
必需
content_type
string
必需
file_size
integer
必需
seed
integer
必需
status
string
必需
request_id
string
必需
示例
{
"video": {
"url": "https://file.302ai.cn/gpt/imgs/20250116/42a87c91fccb47b79080422828ff25f4.mp4",
"content_type": "application/octet-stream",
"file_size": 9736753
},
"seed": 1666758463,
"status": "COMPLETED",
"request_id": ""
}
最后修改时间: 4 个月前