Seedream 4.0

doubao/seedream-4.0/image-to-image-sequential

Seedream 4.0:4K画像生成と編集をサポートし、キャラクターやオブジェクトの一貫性を維持しながら連続的な複数画像出力が可能。すぐに使えるREST推論APIを提供し、優れた性能、冷スタートなし、手頃な価格。

サンプル

Seedream 4.0 example 1

パラメータ

名前既定制約説明
images *画像image_uploadimage/* · 1–10 items編集する画像。最大10枚の参照画像をアップロード可能。
prompt *プロンプトtextarea≤ 5000 chars生成に使用するポジティブプロンプト。
sizeサイズtext≤ 500 chars生成されたメディアのピクセルサイズ(幅*高さ)。
max_images最大生成枚数slider11 ~ 15 · step 1生成可能な画像の最大枚数(最大15枚)。この値は上記のプロンプトで指定された画像枚数と一致する必要があります。

API

統一 REST API でこのモデルを呼び出せます。API Keys ページでキーを取得してください。

cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/doubao/seedream-4.0/image-to-image-sequential" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "images": [
      "https://assets-public.namifusion.com/uploads/images/2026-04-21/04f96c6016ee.png",
      "https://assets-public.namifusion.com/uploads/images/2026-04-21/ee16c2ba0571.png"
    ],
    "prompt": "Generate a 4K image of a futuristic cityscape with sleek skyscrapers, flying cars, and glowing neon lights. Please generate a set of 5 images.",
    "size": "3840x2160",
    "max_images": 5
  }
}'

# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
  -H "Authorization: Bearer YOUR_API_KEY"
Python
import time, requests

API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

# 1) Submit
resp = requests.post(
    "https://www.namifusion.com/api/v1/marketplace/run/doubao/seedream-4.0/image-to-image-sequential",
    headers=HEADERS,
    json={
        "input": {
            "images": [
                "https://assets-public.namifusion.com/uploads/images/2026-04-21/04f96c6016ee.png",
                "https://assets-public.namifusion.com/uploads/images/2026-04-21/ee16c2ba0571.png"
            ],
            "prompt": "Generate a 4K image of a futuristic cityscape with sleek skyscrapers, flying cars, and glowing neon lights. Please generate a set of 5 images.",
            "size": "3840x2160",
            "max_images": 5
        }
    },
)
resp.raise_for_status()  # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()

# 2) Poll until a terminal state (completed / failed / cancelled).
#    This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
    if time.time() > deadline:
        raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
    time.sleep(3)
    poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
    poll.raise_for_status()
    task = poll.json()

print(task["status"], task.get("output"))
JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };

// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/doubao/seedream-4.0/image-to-image-sequential", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "images": [
        "https://assets-public.namifusion.com/uploads/images/2026-04-21/04f96c6016ee.png",
        "https://assets-public.namifusion.com/uploads/images/2026-04-21/ee16c2ba0571.png"
      ],
      "prompt": "Generate a 4K image of a futuristic cityscape with sleek skyscrapers, flying cars, and glowing neon lights. Please generate a set of 5 images.",
      "size": "3840x2160",
      "max_images": 5
    }
  }),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();

// 2) Poll until a terminal state (completed / failed / cancelled).
//    This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
  if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
  await new Promise((r) => setTimeout(r, 3000));
  const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
  if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
  task = await poll.json();
}

console.log(task.status, task.output);

ドキュメント

Seedream 4.0

4K画像生成と編集、シーケンシャルな一貫性を実現

Seedream 4.0 は、最大4K解像度の画像生成と編集を可能にする最先端の画像生成モデルです。シーケンシャルな出力においてキャラクターやオブジェクトの一貫性を維持する能力に優れ、連続性のある複数画像セットの作成に最適です。超高速な推論、コールドスタートなし、手頃な価格で、性能とコスト効率を両立しています。

🚀 主な特徴

  • シーケンシャルな複数画像出力:一度に最大15枚の一貫性のある画像を生成可能。ストーリーボード、製品バリエーション、または一致したセットに最適。
  • 高い特徴保持:アイデンティティ、ロゴ、レイアウトをすべての出力で一貫して維持。
  • 豊富な編集機能:要素の追加/削除、属性やスタイルの調整、ポーズや顔の交換などの構造的な変更が可能。
  • 超高解像度:8192×8192ピクセルまでの解像度に対応し、プロフェッショナルな出力を実現。
  • 高速かつ信頼性の高い:コールドスタートなしで、超高速な推論を提供。
  • 一貫性制御:生成されたすべての画像で強力なアイデンティティとスタイルの一貫性を維持。

🛠️ 技術仕様

仕様詳細
モデルアーキテクチャ画像から画像
入力形式画像配列(最大10枚)、ポジティブプロンプト
出力形式編集された画像(最大15枚)
解像度512×512 ~ 8192×8192ピクセル
生成枚数最大15枚
価格1枚あたり $0.03
レイテンシ超高速推論

プロンプト例

  1. 製品バリエーション:"元の写真から4枚の編集画像(パネル1~4)を生成してください。同じ靴のモデルとロゴの配置を維持し、角度、照明、背景を統一しながら、各パネルの配色のみを変更します。"
  2. キャラクターデザイン:"同じキャラクターが異なる衣装を着ている3枚の画像を作成してください。顔の特徴やポーズを維持してください。"

💰 価格

解像度1枚あたりの価格
最大4K$0.03

総価格計算式総価格 = 生成枚数 × $0.03

💡 主な利用ケース

  • 商業デザイン:ポスター、アパレルデザイン、パッケージビジュアル、または一貫性のあるブランドのeコマース製品セットを作成。
  • エンターテインメントIP:キャラクターのルックデブや、アイデンティティとスタイルを固定したキービジュアルシーケンスを開発。
  • 美術とイラスト:調和のとれたパレットと線画を持つ複数作品シリーズを制作。
  • 建築デザイン:一貫した視点での素材や照明のバリエーションを生成。
  • ブランドコンテンツ:固定されたロゴやパレットを使用したキャンペーンセットやソーシャルメディアカルーセルをデザイン。

🔗 関連モデル

  • Seedream 4.0 Pro:高度なスタイルコントロールを備えた拡張編集機能。
  • Seedream 4.0 Ultra:4Kを超える超高解像度出力向けに最適化。

関連モデル

xAI Grok Imagine Image v2.0 画像編集
Image to ImageX Ai

xAI Grok Imagine Image v2.0 画像編集

xAI Grok Imagine Image V2.0 Edit は、テキストによるプロンプトを使って入力画像を編集できるモデルです。解像度と品質を設定でき、精密な画像編集、ビジュアル調整、クリエイティブなバリエーション、SNS コンテンツ、マーケティング素材、制作ワークフローに適しています。すぐに使える REST 推論 API を提供し、高性能・コールドスタートなし・手頃な価格で利用できます。

$0.090 / 1 回
Qwen Image 3.0 Pro Edit|高速画像編集
Image to ImageQwen Image 3.0 Pro

Qwen Image 3.0 Pro Edit|高速画像編集

Qwen Image 3.0 Pro Edit は、優れた画質と高度な指示理解を備えたプロ向けの画像編集モデルです。最大 2k に対応。すぐに使える REST inference API を提供し、高性能、コールドスタートなし、手頃な価格で利用できます。

$0.080 / 1 回
Image to Image
Image to ImageNamiFusion

ヘッドスワップ(画像)

Swap the head in a photo with the head from a reference image. Upload the target photo first, then the head reference.

$0.220 / 1 回
Nami Qwen I2I Spicy
Image to Image

Nami Qwen I2I Spicy

自然言語の指示で参照画像を編集し、変更を指定していない部分をできるだけ保持します。

$0.040 / 1 回
Nano Banana 画像編集
Image to ImageGoogle

Nano Banana 画像編集

高速・低価格な編集。 マスキング不要で、直感的なオブジェクト置換やスタイル変換が可能。

$0.040 / 1 回
Nano Banana Pro 画像編集
Image to ImageGoogle

Nano Banana Pro 画像編集

4K セマンティック編集。自然言語で画像を修正。文脈認識と画像内多言語テキスト編集に対応。

$0.140 / 1 回
Nano Banana 2 画像編集
Image to ImageGoogle

Nano Banana 2 画像編集

4K セマンティック編集。自然言語で画像を修正。文脈認識と画像内多言語テキスト編集に対応。

$0.070 / 1 回
Seedream V5.0 Pro Edit 画像編集・生成 API
Image to ImageDoubao

Seedream V5.0 Pro Edit 画像編集・生成 API

ByteDance の Seedream V5.0 Pro Edit は、単一画像または複数の参照画像をもとに画像の編集・生成を行えます。最大 10 枚の参照画像に対応し、アスペクト比の選択と 1K / 2K の出力階層をサポートしています。すぐに使える REST 推論 API で、高性能、コールドスタートなし、手頃な価格です。

$0.050 / 1 回