视频MiniMax新增

Hailuo 02 Pro

具有结尾帧控制的高级Hailuo 02

model: "hailuo-02-pro"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "hailuo-02-pro",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.480
图像生成视频image_url
请求示例
{
  "model": "hailuo-02-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.480
首尾帧image_urlend_image_url
请求示例
{
  "model": "hailuo-02-pro",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg",
    "end_image_url": "https://example.com/image-2.jpg"
  }
}
$0.480

输入

必需

Prompt

可选

Provide an image to animate, or leave empty for text-to-video. A public https URL, or an upload URL from POST /v1/uploads.

可选

Image for the final frame of the video. A public https URL, or an upload URL from POST /v1/uploads.

高级选项 (1)

主要控件之外的提供商设置。保持为空可使用模型的默认值。

可选

Let the model rewrite the prompt for better results.

结果

示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "hailuo-02-pro",
  "input": {
    "prompt": "A young monk in saffron robes sprinting across a rope bridge between floating monastery platforms, chasing a white paper airplane that bobs and tilts ahead of him on the wind, a limitless cloud sea churning below; camera tilts slowly upward from the bridge planks past his leaping figure to the soaring pagoda spires above dissolving into pale sky, stylised anime illustration, soft pastel atmosphere."
  }
}'