コードから呼び出す
タスクを送信して ID を取得します。結果をポーリングするか、Webhook URL を指定して完了したタスクを受け取ります。
curl 'https://api.kerox.ai/v1/tasks' \
-H "Authorization: Bearer $KEROX_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"model": "bytedance/seedream-4.0",
"input": {
"prompt": "editorial portrait of a ceramicist in morning sunlight, 35mm film",
"resolution": "2K",
"aspect_ratio": "1:1"
}
}'レスポンス例
{
"id": "task_01JD8X9B4Q2M7T8N3K5P6R1S0V",
"object": "task",
"model": "bytedance/seedream-4.0",
"status": "processing"
}送信できる項目
デフォルトは統一名称で、モデル間で共通して使えます。ネイティブ名称は ByteDance API に合わせており、使用する場合は "format": "native" を送信してください。
| パラメータ | 種別 | 必須 | デフォルト | 値 | 説明 |
|---|---|---|---|---|---|
prompt | string | 必須 | — | — | Prompt |
images | string | string[] | — | — | — | Reference images |
aspect_ratio | string | — | "auto" | auto, 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 16:9, 21:9, 9:16, 9:21 | Aspect ratio |
resolution | string | — | "2K" | 1K, 2K, 4K | Resolution |
size | string | — | — | — | Exact size |
n | integer | — | — | 1–15 | Number of outputs |
sequential_image_generation | string | — | "disabled" | auto, disabled | Image set mode |
sequential_image_generation_options | object | — | — | — | Image set options |
料金
画像1枚
$0.0270
$0.0300公式価格より10%オフ
よくある利用例
| 出力 | 公式価格 | Kerox | 節約分 |
|---|---|---|---|
| 画像1枚 | $0.0270 | 10% | |
| $10の利用目安 | 370枚の画像 | ||
| ティア | 公式価格 | Kerox |
|---|---|---|
| 1枚あたり | $0.0270 |
タスク送信前の見積もりには、POST /v1/estimateをご利用ください。
Seedream 4.0で作成

A single espresso in a handmade speckled ceramic cup on a dark walnut counter, a thin curl of steam rising through a shaft of morning light, dark cafe interior softly out of focus behind, centered composition, moody editorial photograph, 85mm lens, natural color

A kraft paper coffee bag standing on a concrete counter. Its cream label is printed with "MORNING BLEND" in bold condensed black capitals and beneath it "Whole bean · Medium roast · 250 g" in small type. A few roasted coffee beans scattered beside it, soft side light, plain warm grey background, centered composition, clean product photograph

Rolling sand dunes at blue hour, one sharp ridge line curving through the center of the frame, a soft peach glow along the horizon under a deep indigo sky. Minimalist wide landscape photograph, quiet and still, fine sand texture
Seedream 4.0 について
Seedream 4.0は、ByteDanceが開発した画像生成モデルです。
よくある質問
Seedream 4.0の料金はいくらですか?
KeroxでのSeedream 4.0の料金は$0.0270/枚からです(公式価格より10%オフ)。生成ごとに課金され、失敗した場合は請求されません。このページの料金表にすべてのオプションを記載しています。
Seedream 4.0はAPIに対応していますか?
はい。モデルID「bytedance/seedream-4.0」を指定してKerox APIにタスクを送信し、ポーリングで確認するか、完了時にWebhookで通知を受け取れます。Seedream 4.0のAPIドキュメントに、すべてのパラメータとコード例を記載しています。
コードを書かずにオンラインでSeedream 4.0を使えますか?
はい。このページの生成パネルで設定を選ぶと料金が表示されます。生成するにはサインインしてください。 試す
Seedream 4.0の利用にサブスクリプションは必要ですか?
いいえ。定額プランや月額料金はありません。$5からチャージでき、生成した分だけ課金されます。
Seedream 4.0 の使い方は?
Kerox にサインインし、Studio で Seedream 4.0 を開いてプロンプトを入力すれば、ブラウザ上で生成できます。コードから利用する場合は、API キーを作成し、モデル ID bytedance/seedream-4.0 を指定してタスクを送信してください。
Seedream 4.0 は無料で使えますか?
Seedream 4.0 は Kerox の有料モデルです。生成に成功するたびにこのページに記載の料金がかかり、失敗した生成は無料です。月額料金はなく、$5 のチャージから始められます。
