进阶 docs.leonardo.ai 2026-11-22 15:11:20 · 0 阅读
第52章 Leonardo.AI 使用 Seedance 2.0 Mini 模型生成视频指南
Seedance 2.0 Mini
本指南介绍如何通过 Leonardo.AI REST API 使用 Seedance 2.0 Mini 模型生成视频。
请求示例
curl --request POST \
--url https://cloud.leonardo.ai/api/rest/v2/generations \
--header 'accept: application/json' \
--header 'authorization: Bearer ' \
--header 'content-type: application/json' \
--data '
{
"model": "seedance-2.0-mini",
"public": false,
"parameters": {
"prompt": "A koala surfs a wave at sunset, cinematic",
"quantity": 1,
"duration": 8,
"width": 1280,
"height": 720,
"motion_has_audio": true,
"guidances": {
"start_frame": [
{
"image": {
"id": "",
"type": "UPLOADED"
}
}
]
}
}
}
'
API 请求端点、请求头与参数 端点 https://cloud.leonardo.ai/api/rest/v2/generations 请求头 --header "accept: application/json" \ --header "authorization: Bearer