API 快速开始 / 人类 + AGENT 就绪
先把集成搭好,再创建 Key。
用这份快速开始准备代码、校验 payload、了解计费模型。正式调用需要一个由人类创建的 provider API Key。
状态正式调用前核实
Expected Provider-mediated access
Seedance 2.5 API availability should be verified with the provider before production use. Build behind a configurable model parameter.
代码CURL + NODE
curl https://api.evolink.ai/v1/videos/generations \
-H "Authorization: Bearer $EVOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance-2.5-reference-to-video",
"prompt": "A clean product shot, slow dolly in, soft daylight",
"duration": 5,
"quality": "720p",
"generate_audio": true
}' const resp = await fetch("https://api.evolink.ai/v1/videos/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.EVOLINK_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: process.env.SEEDANCE_MODEL || "seedance-2.5-reference-to-video",
prompt,
duration: 5,
quality: "720p",
generate_audio: true,
}),
});
// Returns a job id; poll GET /v1/task-detail?id=<id> until status is completed.
const job = await resp.json(); 参数请求体
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| model | string | 必填 | Seedance 2.5 模型 ID(pre-release)。保持可配置。 |
| prompt | string | 必填 | 镜头描述:主体、运动、风格、约束。 |
| duration | integer | 可选 | 4–30 秒,默认 5。先用短时长测试。 |
| quality | string | 可选 | 480p 或 720p(默认 720p)。1080p/4K 视为待定。 |
| generate_audio | boolean | 可选 | 默认 true。原生音频,不额外收费。 |
| content_filter | boolean | 可选 | 默认 true(免费);false 应用 1.1 倍费用。 |
| image_urls / video_urls / audio_urls | array | 可选 | 参考素材:最多 30 / 10 / 10 个 URL。可选。 |
| callback_url | url | 可选 | 异步完成的 HTTPS 回调。也可以用轮询。 |
机器可读 schema: /openapi.json / Agent 指南: /agent.md
交接最后一步