Seedream 4 API
Seedream 4 は、生成と編集を統合し、参照の一貫性を優先し、最大 4K 出力をサポートする ByteDance Seed の画像モデルです。
A beautiful landscape with mountains and a lake, golden hour lighting, photorealistic style

Upload reference images
Click to upload or drag and drop
Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 10

履歴
最大20件0 実行中 · 0 完了
Seedream 4 API 一貫性の高い画像の生成と編集用
Seedream 4 は、ByteDance の Seed チームによる次世代のイメージ作成モデルで、イメージの生成と編集を単一のアーキテクチャに統合します。参照の一貫性を重視し、最大 4K の高解像度画像を生成できます。

Pricing
| Model | Mode | Price |
|---|---|---|
| Seedream 4 | Image Generation | Popular $0.0222/ image(1.6 Credits) |
If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.
Seedream 4 API では何を構築できますか?
キャンペーン用のバッチ画像生成
「n」パラメータ (1 ~ 15) を使用して、1 つのリクエストで複数のバリアントを生成します。これは、バージョンごとにプロンプトを再構築せずに多様性を制御したい広告セット、ヒーロー画像、および製品バリエーションに最適です。

複数の参照画像の編集
「image_urls」経由で複数の参照画像をアップロードして、画像間の編集をガイドし、ロゴ、素材、主題などの主要なアイデンティティ要素を保存します。これは、製品カタログ、ブランド資産、バッチ編集に役立ちます。

プロダクション出力の解像度制御
Seedream 4 API は、文書化された範囲内の簡素化されたサイズ設定 (1K/2K/4K) と明示的なピクセル サイズをサポートします。これを使用すると、手動でサイズを変更することなく、広告仕様、ランディング ページ、マーケットプレイスの要件に一致します。

開発者が Seedream 4 API を選ぶ理由
バッチの生産性、リファレンスに基づいた一貫性、予測可能なサイジングのバランスをとる、統合された非同期イメージ API。
統合された生成と編集
1 つのエンドポイントと同じ認証フローを通じて、テキストから画像、画像から画像、および画像編集を実行します。
参照に基づいた一貫性
マルチリファレンス入力を使用して、出力やバリエーション全体でアイデンティティ、ブランド化、構成を安定させます。
スケールを考慮して構築された非同期ワークフロー
タスクはタスク ID を返し、完了時にコールバック URL をトリガーできるため、信頼性の高いパイプラインとキューベースの処理が可能になります。
Seedream 4 API を統合する方法
生産自動化のために設計されたシンプルな非同期ワークフロー。
ステップ 1 — API キーを作成する
ダッシュボードで evolink.ai API キーを生成し、すべてのリクエストにベアラー トークン認証を使用します。
ステップ 2 — /v1/images/世代を呼び出す
「model: "doubao-seedream-4.0"」、プロンプト、および「n」、「size」、「image_urls」、「prompt_priority」、「callback_url」などのオプションのパラメータを送信します。
ステップ 3 — 結果の取得
タスク ステータス エンドポイントをポーリングするか、Webhook コールバックを受信します。返された画像 URL をすぐに保存します (リンクは 24 時間有効です)。
Seedream 4 API の機能
運用チームにとって重要な動作と制限を文書化します。
テキストから画像へ + 画像から画像へ
1 つのエンドポイントは、テキストからの生成と参照画像に基づく編集をサポートします。
最大 15 個のバッチ出力
呼び出しごとに複数の候補を要求するには、「n」を使用します。参照イメージと出力イメージの合計は 15 に制限されます。
マルチリファレンス入力
編集をガイドし、アイデンティティを維持するために、`image_urls` 経由で最大 14 個の参照画像を提供します。
柔軟なサイジング
サポートされている範囲内で、簡略化されたサイズ (1K/2K/4K) または明示的なピクセル寸法を選択します。
非同期タスクのワークフロー
各リクエストはタスク ID を作成し、キューベースの処理とオプションのコールバックを有効にします。
幅広い入力フォーマット
参照画像には、JPG、PNG、WebP、BMP、TIFF、GIF などの一般的な形式を使用できます。
Seedream 4 件のよくある質問
Everything you need to know about the product and billing.
API Reference
Select endpoint
Authentication
All APIs require Bearer Token authentication.
Authorization:
Bearer YOUR_API_KEY/v1/images/generationsGenerate Image
Create an image generation task using text prompts or reference images. Supports text-to-image, image-to-image, and image editing modes.
Asynchronous processing mode, use the returned task ID to .
Generated image links are valid for 24 hours, please save them promptly.
Request Parameters
modelstringRequiredDefault: doubao-seedream-4.0Image generation model name.
doubao-seedream-4.0promptstringRequiredPrompt describing the image to be generated or how to edit the input image.
Notes
- Limited to 2000 tokens
A cat playing in the grasssizestringOptionalDefault: autoAspect ratio of generated images.
| Value | Description |
|---|---|
| auto | Auto - model determines optimal ratio |
| 1:1 | Square |
| 2:3 / 3:2 | Portrait / Landscape |
| 3:4 / 4:3 | Portrait / Landscape |
| 4:5 / 5:4 | Portrait / Landscape |
| 9:16 / 16:9 | Vertical / Horizontal |
| 21:9 | Ultra-wide |
Notes
- Backend auto-converts ratio + quality to exact pixels
16:9qualitystringOptionalDefault: 2KResolution tier for generated images. Backend converts ratio + quality to exact pixel dimensions.
| Value | Description |
|---|---|
| 1K | Standard quality |
| 2K | High quality (default) |
| 4K | Ultra quality (higher cost) |
2KnintegerOptionalDefault: 1Number of images to generate.
| Value | Description |
|---|---|
| 1-15 | Batch generation supported |
1image_urlsarrayOptionalReference image URL list for image-to-image and image editing functions.
Notes
- Max 10 images per request
- Max size: 10MB per image
- Formats: .jpeg, .jpg, .png
- Aspect ratio range: [1/3, 3]
- Total pixels: ≤6000×6000
- URLs must be directly accessible by the server
https://example.com/image1.pngprompt_priorityenum<string>OptionalDefault: standardPrompt optimization strategy for setting the prompt optimization mode.
| Value | Description |
|---|---|
| standard | Standard mode, higher quality, slower |
| fast | Fast mode, faster speed, normal quality |
standardcallback_urlstringOptionalHTTPS callback address after task completion.
Notes
- Triggered on completion, failure, or cancellation
- Sent after billing confirmation
- HTTPS only, no internal IPs
- Max length: 2048 chars
- Timeout: 10s, Max 3 retries
https://your-domain.com/webhooks/image-task-completed