AC Woodcut
Advanced Computing の AC Woodcut を、1 つの API キーと前払い料金で Advanced Computing API から呼び出せます。
- 入力
- テキスト
- 画像
- プロバイダー
- Advanced Computing
- 出力
- 画像
- 入力
- テキスト · 画像
AC Woodcut is billed by the size of the image it delivers, plus the reference image you send.
- Output: $0.02 per megapixel (MP) of the delivered image (width × height).
- Reference image (
referencemode): $0.02 for the one image you send to restyle. It is always billed.
Approximate cost of one image, before the reference image:
| Resolution | 1:1 | 4:3 or 3:4 | 16:9 or 9:16 |
|---|---|---|---|
| 1K | 1024 × 1024 (1.05 MP) ≈ $0.021 | 1024 × 768 (0.79 MP) ≈ $0.016 | 1024 × 576 (0.59 MP) ≈ $0.012 |
| 2K | 2048 × 2048 (4.19 MP) ≈ $0.084 | 2048 × 1536 (3.15 MP) ≈ $0.063 | 2048 × 1152 (2.36 MP) ≈ $0.047 |
The estimate shown when you submit uses these sizes; the final charge is for the image actually delivered. Failed generations, and images blocked by the safety check, are not charged.
実際の請求額は料金ページの価格に従います。 料金を見る
ほかの Advanced Computing モデルと同じ API とキーで使えます。リクエストをコピーし、キーを入れて送信してください。
input フィールド
mode フィールドは必須です。生成方法を指定し、モードごとに固有のフィールドがあります。_url または _urls で終わるフィールドは入力素材です。
| フィールド | 型 | デフォルト | 説明 |
|---|---|---|---|
mode必須 | string | — | How to generate. Each mode takes its own fields. One of: text |
prompt必須 | string | — | What the picture shows. The model sets the style, so describe the subject and scene, not the style. Text in the picture may come out garbled. 1 to 2000 characters |
negative_prompt任意 | string | — | What the output should avoid. Up to 2000 characters |
resolution必須 | string | — | Resolution of the output. One of: 1K, 2K |
aspect_ratio必須 | string | — | Width to height ratio of the output. One of: 1:1, 4:3, 3:4, 16:9, 9:16 |
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 the picture shows. The model sets the style, so describe the subject and scene, not the style. Text in the picture may come out garbled.
1 to 2000 characters
negative_prompt任意string
What the output should avoid.
Up to 2000 characters
resolution必須string
Resolution of the output.
One of: 1K, 2K
aspect_ratio必須string
Width to height ratio of the output.
One of: 1:1, 4:3, 3:4, 16:9, 9:16
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-woodcut",
"input": {
"mode": "text",
"prompt": "A knight on horseback before a hilltop castle",
"resolution": "1K",
"aspect_ratio": "4:3"
}
}'自分のパラメータでモデルを試せます。各生成は表示価格で残高から差し引かれます。