curl --location --request POST \
  'https://suanwuyou.com.cn/v1/videos' \
  --header "Authorization: Bearer $SUANWYOU_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "model": "happyhorse-1.1-r2v",
    "input": {
      "prompt": "[Image 1]中的人物拿起[Image 2]中的折扇,镜头缓慢推近。",
      "media": [
        {
          "type": "reference_image",
          "url": "https://example.com/person.jpg"
        },
        {
          "type": "reference_image",
          "url": "https://example.com/fan.jpg"
        }
      ]
    },
    "parameters": {
      "resolution": "720P",
      "ratio": "16:9",
      "duration": 5
    }
  }'
参考图按照 media 数组顺序对应提示词中的 [Image 1]、[Image 2]。官方模型支持 1 至 9 张参考图。 参考:阿里云百炼 HappyHorse 参考生视频官方文档