ByteDance: Seedance 2.5 (Less Restriction)
reapi.video-gen.seedance-2-5.unrestrictedLess Restriction: the same Seedance 2.5 model with content_filter off, so a photo of a real person is accepted as the subject reference and a voice clip as the speech reference; the default row refuses real faces. Same route and price; illegal content is still refused.
- 价格
- $13.87/success按目录价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- 2026年9月14日实测可用
POSThttps://toolswitch.dev/v1/tools/reapi.video-gen.seedance-2-5.unrestrictedBeta- 可用平台额度调用
- 异步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 请求体(JSON) | ||||
seed | 整数 | 可选 | ||
size | 字符串 | 可选 | When image_with_roles uses role first_frame or last_frame, size must be adaptive — not a fixed ratio such as 1:1. | 9:16 |
model | 字符串 | 必填 | doubao-seedance-2.5-face | |
prompt | 字符串 | 必填 | Up to 20,000 characters; refer to references as @image1, @audio1. | The person in @image1 talks to the camera in a handheld selfie video. |
duration | 整数 | 可选 | Seconds of output, 4-30, or -1 (auto) which the provider REQUIRES when the prompt edits a @video reference: the output then follows the source clip. -1 reserves 30 seconds at the requested resolution; every task settles at the credits reAPI reports. | 5 |
audio_urls | 数组 | 可选 | Up to 10 public audio URLs; a voice reference drives the generated speech. | |
image_urls | 数组 | 可选 | Up to 30 public image URLs; a photo of a person is accepted as the subject reference. Mutually exclusive with image_with_roles — send one or the other, never both; combining them yields provider HTTP 400 code 20003. Each URL must answer a plain GET with the raw image bytes and an image/* content-type (signed cloud-storage or CDN links work; file-page hosts such as tmpfiles.org return HTML, and the task then fails unbilled with the vendor's generic upstream error). `treg host <file>` prints a URL that satisfies this. | ["https://picsum.photos/seed/treg-aigc/720/1280"] |
resolution | 字符串 | 可选 | 480p | |
content_filter | 布尔 | 必填 | Send false for the relaxed route. This row exists so the relaxed route is discoverable beside PiAPI's less-restriction task. | false |
generate_audio | 布尔 | 可选 | ||
image_with_roles | 数组 | 可选 | Objects {url, role} with role first_frame, last_frame or reference_image. Mutually exclusive with image_urls — send one or the other, never both; combining them yields provider HTTP 400 code 20003. When using role first_frame or last_frame, size must be adaptive (not a fixed ratio such as 1:1). | |
- 请求体(JSON)
seed整数可选size字符串可选When image_with_roles uses role first_frame or last_frame, size must be adaptive — not a fixed ratio such as 1:1.
示例:
9:16model字符串必填示例:
doubao-seedance-2.5-faceprompt字符串必填Up to 20,000 characters; refer to references as @image1, @audio1.
示例:
The person in @image1 talks to the camera in a handheld selfie video.duration整数可选Seconds of output, 4-30, or -1 (auto) which the provider REQUIRES when the prompt edits a @video reference: the output then follows the source clip. -1 reserves 30 seconds at the requested resolution; every task settles at the credits reAPI reports.
示例:
5audio_urls数组可选Up to 10 public audio URLs; a voice reference drives the generated speech.
image_urls数组可选Up to 30 public image URLs; a photo of a person is accepted as the subject reference. Mutually exclusive with image_with_roles — send one or the other, never both; combining them yields provider HTTP 400 code 20003. Each URL must answer a plain GET with the raw image bytes and an image/* content-type (signed cloud-storage or CDN links work; file-page hosts such as tmpfiles.org return HTML, and the task then fails unbilled with the vendor's generic upstream error). `treg host <file>` prints a URL that satisfies this.
示例:
["https://picsum.photos/seed/treg-aigc/720/1280"]resolution字符串可选示例:
480pcontent_filter布尔必填Send false for the relaxed route. This row exists so the relaxed route is discoverable beside PiAPI's less-restriction task.
示例:
falsegenerate_audio布尔可选image_with_roles数组可选Objects {url, role} with role first_frame, last_frame or reference_image. Mutually exclusive with image_urls — send one or the other, never both; combining them yields provider HTTP 400 code 20003. When using role first_frame or last_frame, size must be adaptive (not a fixed ratio such as 1:1).
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X POST 'https://toolswitch.dev/v1/tools/reapi.video-gen.seedance-2-5.unrestricted' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"size":"9:16","model":"doubao-seedance-2.5-face","prompt":"The subject in @image1 slowly turns toward the camera.","duration":5,"image_urls":["https://picsum.photos/seed/treg-aigc/720/1280"],"resolution":"480p","content_filter":false}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/reapi.video-gen.seedance-2-5.unrestricted",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"size\":\"9:16\",\"model\":\"doubao-seedance-2.5-face\",\"prompt\":\"The subject in @image1 slowly turns toward the camera.\",\"duration\":5,\"image_urls\":[\"https://picsum.photos/seed/treg-aigc/720/1280\"],\"resolution\":\"480p\",\"content_filter\":false}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/reapi.video-gen.seedance-2-5.unrestricted", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"size\":\"9:16\",\"model\":\"doubao-seedance-2.5-face\",\"prompt\":\"The subject in @image1 slowly turns toward the camera.\",\"duration\":5,\"image_urls\":[\"https://picsum.photos/seed/treg-aigc/720/1280\"],\"resolution\":\"480p\",\"content_filter\":false}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $13.87/success 计费,已含服务费。