Happy Horse 1.0 视频生成
面向产品展示与概念镜头的文生或图生短视频。
面向产品展示、概念镜头和参考图锚定运动的文生或图生短视频。
提供方
MiniMax模型 ID
happyhorse-1.0请求端点
POST /v1/generations模型说明
- 该线路不生成原生音频。
请求参数
| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
model | string | 是 | 稳定的 PixMind 模型 ID,请使用 `happyhorse-1.0`。 可选值: |
prompt | string | 是 | 用于生成或编辑的自然语言指令。 |
resolution | string | 否 | 输出视频分辨率,该字段会影响每秒价格。 可选值: 默认值: |
duration | integer | 否 | 期望生成的视频时长,单位为秒。 可选值: 默认值: |
aspect_ratio | string | 否 | 期望输出画面比例。 可选值: 默认值: |
image_url | string (URI) | 否 | 图生视频使用的起始图片。 |
callback_url | string (URI) | 否 | 接收任务终态事件的 HTTPS 地址;不填写时仍可使用轮询。 |
请求示例
curl https://aihub-admin.aimix.pro/v1/generations \
-H "Authorization: Bearer $PIXMIND_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "happyhorse-1.0",
"prompt": "A controlled product turntable shot with soft cinematic camera motion",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "1:1",
"image_url": "https://example.com/product.jpg"
}'const response = await fetch("https://aihub-admin.aimix.pro/v1/generations", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.PIXMIND_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "happyhorse-1.0",
"prompt": "A controlled product turntable shot with soft cinematic camera motion",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "1:1",
"image_url": "https://example.com/product.jpg"
})
});
const task = await response.json();任务受理响应
生成任务为异步处理。请保存响应中的 id,并轮询 GET /v1/generations/{id},直到任务进入终态。
{
"id": "img_01JXYZ...",
"model": "happyhorse-1.0",
"status": "processing"
}API 定价
| 配置 | 价格 |
|---|---|
| 720p | $0.176 / second |
| 1080p | $0.256 / second |
API 使用 apiPlatform 角色独立计费,与 PixMind Studio 积分分开;任务受理响应中的价格快照是最终计费依据。
PixVerse V5 视频生成
适合社媒短片与产品动态的快速文生或图生短视频。
Create a chat completion POST
Creates a model response for the given conversation. OpenAI-compatible — works with the OpenAI SDK by setting `baseURL` to `https://aihub-admin.aimix.pro/api-platform/v1`. Set `stream: true` to receive a Server-Sent Events stream of `chat.completion.chunk` objects terminated by `data: [DONE]`.