AC Cast
Advanced Computing の AC Cast を、1 つの API キーと前払い料金で Advanced Computing API から呼び出せます。
- 入力
- テキスト
- 画像
- プロバイダー
- 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"
}
}'自分のパラメータでモデルを試せます。各生成は表示価格で残高から差し引かれます。