ByteDance: Seedance 2.5 (Less Restriction)
piapi.video-gen.seedance-2-5.less-restrictionLess Restriction: the same Seedance 2.5 model on PiAPI's relaxed filter, where a real person's face may drive the video; the default row refuses real faces. Face images must first pass the connected account's Private Asset Library review; other references are used as-is. 10% dearer than the default row.
- 价格
- $26.41/success按目录价
- 成功率
- 99.2%近 30 天 · 179 次
- 延迟 p50
- 15 秒p95 31 秒
- 最后验证
- 2026年9月14日实测可用
POSThttps://toolswitch.dev/v1/tools/piapi.video-gen.seedance-2-5.less-restrictionBeta- 可用平台额度调用
- 异步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
input | 对象 | 必填 | {"prompt":"The subject in @image1 slowly turns toward the camera.","duration":5,"image_urls":["https://picsum.photos/see | |
model | 字符串 | 必填 | seedance | |
task_type | 字符串 | 必填 | seedance-2.5-less-restriction | |
- 请求体(JSON)
input对象必填示例:
{"prompt":"The subject in @image1 slowly turns toward the camera.","duration":5,"image_urls":["https://picsum.photos/seemodel字符串必填示例:
seedancetask_type字符串必填示例:
seedance-2.5-less-restriction
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
Beta
curl -X POST 'https://toolswitch.dev/v1/tools/piapi.video-gen.seedance-2-5.less-restriction' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"input":{"prompt":"The subject in @image1 slowly turns toward the camera.","duration":5,"image_urls":["https://picsum.photos/seed/treg-aigc/720/1280"],"resolution":"480p","aspect_ratio":"9:16"},"model":"seedance","task_type":"seedance-2.5-less-restriction"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/piapi.video-gen.seedance-2-5.less-restriction",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"input\":{\"prompt\":\"The subject in @image1 slowly turns toward the camera.\",\"duration\":5,\"image_urls\":[\"https://picsum.photos/seed/treg-aigc/720/1280\"],\"resolution\":\"480p\",\"aspect_ratio\":\"9:16\"},\"model\":\"seedance\",\"task_type\":\"seedance-2.5-less-restriction\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/piapi.video-gen.seedance-2-5.less-restriction", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"input\":{\"prompt\":\"The subject in @image1 slowly turns toward the camera.\",\"duration\":5,\"image_urls\":[\"https://picsum.photos/seed/treg-aigc/720/1280\"],\"resolution\":\"480p\",\"aspect_ratio\":\"9:16\"},\"model\":\"seedance\",\"task_type\":\"seedance-2.5-less-restriction\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $26.41/success 计费,已含服务费。