Ltx-Video-v095-I2V(图片生成视频)
POST
/302/submit/ltx-video-v095-i2v开源视频模型,特点是生成速度快
注意:图片要3:2比例,不然会被拉伸
相关链接:https://github.com/Lightricks/LTX-Video
价格:0.1 PTC/次
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
prompt
string
提示词
image_url
string
首帧图片
num_inference_steps
integer
1-50
seed
integer
可选
示例1
{
"prompt": "",
"num_inference_steps": 40,
"image_url": ""
}
示例代码
返回响应
成功(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": ""
}
最后修改时间: 6 天前