视频Alibaba新增

Happy Horse 1.1

从文本、画面或参考图像生成最长15秒的1080p视频

model: "happy-horse-1-1"

API 文档代理文档

模式

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

模式选择方式典型价格
文本生成视频prompt
请求示例
{
  "model": "happy-horse-1-1",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.900
图像生成视频image_url
请求示例
{
  "model": "happy-horse-1-1",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.900
参考生成视频reference_images
请求示例
{
  "model": "happy-horse-1-1",
  "input": {
    "prompt": "a lighthouse at dusk",
    "reference_images": [
      "https://example.com/image.jpg",
      "https://example.com/image-2.jpg"
    ]
  }
}
$0.900

输入

必需

Describe the scene, motion, and style for your video

可选

First frame to animate (image-to-video). Leave it out for text-to-video.

可选

Reference images (https URLs). Two or more images in total (with image_url) make a reference video: the subjects and style are carried into a new scene rather than animated from the first frame.

可选
5

Duration (seconds)

可选

Resolution

可选

Aspect Ratio

结果

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "happy-horse-1-1",
  "input": {}
}'