AI 服务/视频生成
视频生成模型
接口说明:获取当前账号可用的视频生成模型及参数范围,包括模型名称、分辨率、画面比例、时长和价格信息,以用于生成视频接口完成参数选择和请求参数校验。
GET
/
api
/
ai
/
models
/
video
/
generation
视频生成模型
curl --request GET \
--url https://aitoearn.cn/api/ai/models/video/generation{
"code": 0,
"message": "请求成功",
"data": [
{
"name": "string",
"description": "string",
"tags": [],
"creditsScope": "general",
"modes": [
"text2video"
],
"resolutions": [
"string"
],
"durations": [
1
],
"maxInputImages": 1,
"aspectRatios": [
"string"
],
"defaults": {
"resolution": "string",
"aspectRatio": "string",
"duration": 1
},
"pricing": [
{
"price": 1,
"resolution": "string",
"aspectRatio": "string",
"mode": "string",
"duration": 1,
"discount": "string",
"originPrice": 1
}
],
"summary": "string"
}
]
}响应
200 - application/json
请求已被服务处理。业务是否成功以响应体 code === 0 为准。
业务状态码。0 表示成功,非 0 表示业务错误。
响应消息。
Hide child attributes
Hide child attributes
模型名称
模型描述
列表
积分范围
可用选项:
general, sale 支持模式列表
可用选项:
text2video, image2video, flf2video, lf2video, multi-image2video, multi-ref, video2video 支持的尺寸
支持的时长
最大输入图片数
支持的宽高比列表
模型摘要
主要标签
多模态输入约束
Hide child attributes
Hide child attributes
图片输入约束
Hide child attributes
Hide child attributes
最大输入数量
支持的文件格式
最小时长(秒)
单个文件最大时长(秒)
总最大时长(秒)
单个文件最大大小(MB)
最小宽高比
最大宽高比
最小宽度
最大宽度
最小像素数
最大像素数
最小帧率
最大帧率
视频输入约束
Hide child attributes
Hide child attributes
最大输入数量
支持的文件格式
最小时长(秒)
单个文件最大时长(秒)
总最大时长(秒)
单个文件最大大小(MB)
最小宽高比
最大宽高比
最小宽度
最大宽度
最小像素数
最大像素数
最小帧率
最大帧率
音频输入约束
Hide child attributes
Hide child attributes
最大输入数量
支持的文件格式
最小时长(秒)
单个文件最大时长(秒)
总最大时长(秒)
单个文件最大大小(MB)
最小宽高比
最大宽高比
最小宽度
最大宽度
最小像素数
最大像素数
最小帧率
最大帧率
请求 ID。
错误响应时间戳,Unix 毫秒。
⌘I
视频生成模型
curl --request GET \
--url https://aitoearn.cn/api/ai/models/video/generation{
"code": 0,
"message": "请求成功",
"data": [
{
"name": "string",
"description": "string",
"tags": [],
"creditsScope": "general",
"modes": [
"text2video"
],
"resolutions": [
"string"
],
"durations": [
1
],
"maxInputImages": 1,
"aspectRatios": [
"string"
],
"defaults": {
"resolution": "string",
"aspectRatio": "string",
"duration": 1
},
"pricing": [
{
"price": 1,
"resolution": "string",
"aspectRatio": "string",
"mode": "string",
"duration": 1,
"discount": "string",
"originPrice": 1
}
],
"summary": "string"
}
]
}
