ByteDance Seedseedream-5.5
ByteDance's Seedream 5.5 for text-to-image and multi-reference edits
$0.02/ 枚生成失敗時は課金なし
- テキストから画像、画像から画像
- 1K $0.02, 2K $0.035
- Each reference image $0.008
- 参照画像は最大 8 枚
- モダリティ
- 画像
- エンドポイント
- /v1/images/generations · /v1/images/edits
- モデル ID
- seedream-5.5
- プロバイダー
- ByteDance Seed
Seedream 5.5 API の概要
ドキュメント化されたエンドポイント
画像リクエストの送信先: /v1/images/generations · /v1/images/edits. 下のパラメータ表に、このエンドポイントで使えるフィールドを記載しています。
モデルプロバイダー
Seedream 5.5 の提供元は ByteDance Seed で、API でのモデル ID は seedream-5.5.
出力と制限
1K is $0.02 and 2K is $0.035 per returned image, and each reference image adds $0.008. Eleven aspect ratios; 最大 8 reference images; one image per request; PNG output. A text-to-image request takes about 20 seconds; with reference images it takes longer, often more than a minute.
Seedream 5.5 API の料金
| 項目 | ArgoLink 価格 |
|---|---|
| 1K | $0.02 / 枚 |
| 2K | $0.035 / 枚 |
1K is $0.02 and 2K is $0.035 per returned image, and each reference image adds $0.008. Eleven aspect ratios; 最大 8 reference images; one image per request; PNG output. A text-to-image request takes about 20 seconds; with reference images it takes longer, often more than a minute.
出力画像サイズ
aspect_ratio と resolution の組み合わせごとの、返される画像のピクセルサイズです。
| アスペクト比 | 1K | 2K |
|---|---|---|
| 1:1 | 1088x1088 | 1984x1984 |
| 16:9 | 1472x832 | 2656x1504 |
| 9:16 | 832x1472 | 1504x2656 |
| 4:3 | 1280x960 | 2304x1728 |
| 3:4 | 960x1280 | 1728x2304 |
| 3:2 | 1344x896 | 2464x1632 |
| 2:3 | 896x1344 | 1632x2464 |
| 21:9 | 1664x704 | 3040x1312 |
| 2:1 | 1536x768 | 2816x1408 |
| 1:2 | 768x1536 | 1408x2816 |
| 9:21 | 704x1664 | 1312x3040 |
Seedream 5.5 API リファレンス
クイックスタート
コンソールで API キーを作成し、このページに示すベース URL、エンドポイント、リクエストボディでリクエストを送信してください。
curl https://argolink.io/v1/images/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5.5",
"prompt": "A lighthouse above a stormy coastline at dusk",
"aspect_ratio": "16:9",
"resolution": "2k",
"n": 1,
"response_format": "b64_json"
}'
import os
import requests
response = requests.post(
"https://argolink.io/v1/images/generations",
headers={"Authorization": f"Bearer {os.environ['ARGOLINK_API_KEY']}"},
json={
"model": "seedream-5.5",
"prompt": "A lighthouse above a stormy coastline at dusk",
"aspect_ratio": "16:9",
"resolution": "2k",
"n": 1,
"response_format": "b64_json",
},
timeout=600,
)
response.raise_for_status()
print(response.json())
const response = await fetch("https://argolink.io/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ARGOLINK_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "seedream-5.5",
prompt: "A lighthouse above a stormy coastline at dusk",
aspect_ratio: "16:9",
resolution: "2k",
n: 1,
response_format: "b64_json",
}),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());
モード
テキストから画像
プロンプトだけで生成
Only prompt is required. aspect_ratio sets the frame and resolution picks 1k or 2k.
curl https://argolink.io/v1/images/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5.5",
"prompt": "石の上に置かれた緑色のガラス瓶の、映画のような商品写真",
"aspect_ratio": "16:9",
"resolution": "2k",
"n": 1
}'
| フィールド | 値 |
|---|---|
prompt | 必須。画像の内容を記述 |
aspect_ratio | 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3 · 21:9 · 2:1 · 1:2 · 9:21。省略時は 1:1 |
resolution | 1k · 2k; 2k 省略時 |
n | 1 のみ。1 リクエストで 1 枚 |
response_format | url または b64_json。省略時は b64_json |
各画像は base64 エンコードされ、次のフィールドで返されます: data[].b64_json. response_format に url を指定すると、代わりに data[].url に画像へのリンクが返され、7 日間保持されます。リクエストはすべての画像の準備ができてから応答するため、クライアントのタイムアウトは 600 秒以上に設定してください。
画像から画像
指定した画像をもとに生成
参照画像を /v1/images/edits に送信し、残す部分と変える部分をプロンプトで指示します。画像リンクは JSON で、ローカルファイルは multipart で送ります。1 つのリクエストではどちらか一方だけを使います。
curl https://argolink.io/v1/images/edits \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5.5",
"images": [
{"image_url": "https://example.com/reference-1.png"},
{"image_url": "https://example.com/reference-2.png"}
],
"prompt": "瓶はそのままに、夕日のビーチへ移動させる",
"aspect_ratio": "4:3",
"resolution": "2k",
"n": 1
}'
curl https://argolink.io/v1/images/edits \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-F "model=seedream-5.5" \
-F "prompt=瓶はそのままに、夕日のビーチへ移動させる" \
-F "image[]=@./reference-1.png" \
-F "image[]=@./reference-2.png" \
-F "aspect_ratio=4:3" \
-F "resolution=2k" \
-F "n=1"
| フィールド | 値 |
|---|---|
images | JSON: 参照画像ごとに image_url オブジェクトを 1 つ(公開 HTTPS URL または data URL); 最大 8 枚、合計 48 MB まで |
image[] | multipart: ローカルファイルごとに image[] を 1 回ずつ繰り返す; 最大 8 枚、合計 48 MB まで |
prompt | 必須。残す部分と変える部分を記述 |
aspect_ratio | 同じ値。省略時は参照画像の比率に関係なく 1:1 |
resolution · n | テキストから画像と同じ値 |
Seedream 5.5 リクエストパラメータ一覧
| パラメータ | 型 | 要件 | 説明 |
|---|---|---|---|
model | string | 必須 | The catalog identifier for this page: seedream-5.5. |
prompt | string | 必須 | 生成する画像、または適用する編集の内容を記述します。 |
aspect_ratio | string | 任意 | Output frame: 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 2:1, 1:2 or 9:21. Left out, the image is 1:1, an edit too: the frame does not follow the references. |
resolution | string | 任意 | Output tier: 1k or 2k, 2k 省略時. |
n | integer | 任意 | 1 のみ。1 リクエストで 1 枚を生成します。 |
response_format | string | 任意 | url は data[].url に各画像へのリンクを返し、リンクは 7 日間保持されます。省略時に使われる b64_json は、各画像を base64 エンコードして次のフィールドで返します: data[].b64_json. |
images | array | 編集のみ | JSON で渡す編集用の参照画像です。参照画像ごとに image_url オブジェクトを 1 つ送信します。公開 HTTPS URL または data URL を使い、最大 8 枚、合計 48 MB までです。 |
image[] | file | 編集のみ | multipart で渡す編集用の参照画像です。ローカルの参照ファイルごとに image[] を 1 回ずつ繰り返します。最大 8 枚、合計 48 MB までです。 |
Seedream 5.5 API と類似モデルの比較
| モデル | モデル ID | プロバイダー | 料金 | 適した用途 |
|---|---|---|---|---|
| Seedream 5.5 | seedream-5.5 | ByteDance Seed | $0.02 / 枚 | ByteDance's Seedream 5.5 for text-to-image and multi-reference edits |
| Seedream 5.0 Flash | seedream-5.0-flash | ByteDance Seed | $0.015 / 枚 | ByteDance's fast Seedream 5.0 model for quick images and multi-reference edits |
| Seedream 5.0 Pro | seedream-5.0-pro | ByteDance Seed | $0.03 / 枚 | ByteDance の最上位 Seedream。精密な画像生成と、複数の参照画像を使った編集に向いています |
同じモダリティの他のモデル
Seedream 5.5 API のよくある質問
呼び出し方法: Seedream 5.5?
Create an API key in the console. Send text-to-image requests to POST /v1/images/generations and image-to-image requests to POST /v1/images/edits, 、model には次を指定: seedream-5.5.
料金: Seedream 5.5 cost?
$0.02 per returned image at 1K and $0.035 at 2K, plus $0.008 for each reference image. Each request returns one image, so a 2K edit with two reference images costs $0.051.
対応しているアスペクト比と解像度は?
aspect_ratio には 1:1、16:9、9:16、4:3、3:4、3:2、2:3、21:9、2:1、1:2、9:21 を、resolution には 1k または 2k を指定できます(デフォルトは 2k)。n は 1 のみです。
参照画像はどうやって送信しますか?
/v1/images/edits に最大 8 枚の参照画像を送信します。JSON では、参照画像ごとに image_url オブジェクトを 1 つ入れた images 配列を送信します。multipart では、ローカルファイルごとに image[] フィールドを 1 回ずつ繰り返します。