Mochi-1-Preview(生成视频)
POST
/siliconflow/v1/video/submitMochi 1 是一个开源的视频生成模型,基于新颖的AsymmDiT架构构建。该模型具有 100 亿参数规模。模型采用非对称编码器-解码器结构,能够将视频压缩至原始大小的 128 倍,具有 8x8 空间压缩和 6 倍时间压缩的特点。在初步评估中,该模型展现出高保真的运动效果和强大的提示遵循能力
价格:0.4 PTC/次
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Body 参数application/json
model
string
必需
genmo/mochi-1-preview
prompt
string
prompt
guidance_scale
number
必需
default:
4.5
Guidance scale as defined in Classifier-Free Diffusion Guidance. guidance_scale is defined as w of equation 2. of Imagen Paper. Guidance scale is enabled by setting guidance_scale > 1. Higher guidance scale encourages to generate images that are closely linked to the text prompt, usually at the expense of lower image quality.
Required range: 0 < x < 24
seed
integer
可选
示例1
{
"model": "genmo/mochi-1-preview",
"prompt": "fiy pig",
"seed": 123
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
requestId
string
必需
示例
{
"requestId": "<string>"
}
最后修改时间: 2 个月前