AC Cast
通过 Advanced Computing API 调用 Advanced Computing 的 AC Cast,一个 API key,预付费计价。
- 输入
- 文本
- 图像
- 厂商
- Advanced Computing
- 输出
- 视频
- 输入
- 文本 · 图像
AC Cast is billed per second of delivered video, at a rate set by the resolution you request.
| Resolution | Per second | A 5-second video |
|---|---|---|
| 480p | $0.04 | $0.20 |
| 1080p | $0.20 | $1.00 |
- Seconds are measured from the delivered video, to the millisecond, so a clip that comes back a little longer or shorter than 5 seconds costs a little more or less.
- Aspect ratio and the first-frame image don't change the price.
- A failed generation costs nothing.
实际扣费以定价页为准。 查看定价
与其他 Advanced Computing 模型共用同一套 API 和密钥。复制请求,填入你的密钥即可发送。
input 字段
mode 字段必填:它指定生成方式,每种模式有各自的字段。以 _url 或 _urls 结尾的字段是输入素材。
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
mode必填 | string | — | How to generate. Each mode takes its own fields. One of: text |
prompt必填 | string | — | What to generate, in natural language. 1 to 2000 characters |
negative_prompt可选 | string | — | What the output should avoid. Up to 2000 characters |
duration可选 | integer | 5 | Length of the output video, in seconds. Exactly 5 |
resolution可选 | string | 480p | Resolution of the output. One of: 480p, 1080p |
aspect_ratio可选 | string | 16:9 | Width to height ratio of the output. One of: 16:9, 9:16, 1:1 |
seed可选 | integer | — | Fixes the random seed, so the same input repeats its output. 0 to 2147483647 |
mode必填string
How to generate. Each mode takes its own fields.
One of: text
prompt必填string
What to generate, in natural language.
1 to 2000 characters
negative_prompt可选string
What the output should avoid.
Up to 2000 characters
duration可选integer = 5
Length of the output video, in seconds.
Exactly 5
resolution可选string = 480p
Resolution of the output.
One of: 480p, 1080p
aspect_ratio可选string = 16:9
Width to height ratio of the output.
One of: 16:9, 9:16, 1:1
seed可选integer
Fixes the random seed, so the same input repeats its output.
0 to 2147483647
curl https://advanced-computing.com/api/v1/generations \
-H "Authorization: Bearer $AC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ac-cast",
"input": {
"mode": "text",
"prompt": "A paper boat drifts down a rain-filled gutter",
"resolution": "1080p",
"aspect_ratio": "16:9"
}
}'用你自己的参数试用这个模型。每次生成按标价从余额扣费。