Seedream 4.0 API
Seedream 4.0 是字节跳动 Seed 团队推出的图像模型,统一了生成与编辑功能,优先保证参考一致性,并支持最高 4K 输出。
下一代模型已发布:Seedream 5.0 具备深度思考 (Deep Thinking)、实时联网搜索 (Web Search) 以及 14 张参考图能力。 立即升级到 Seedream 5.0 →
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

History
最多保留20条0 运行中 · 0 已完成
面向高一致性图像生成与编辑的 Seedream 4.0 API
Seedream 4.0 是字节跳动 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.0 API 可以构建什么?
面向营销活动的批量图像生成
使用 `n` 参数(1–15)在单次请求中生成多个变体。这对于广告组、主视觉图和产品变体非常理想,您可以在不为每个版本重写提示词的情况下获得受控的多样性。


面向生产输出的分辨率控制
Seedream 4.0 API 支持简化的尺寸选择(1K/2K/4K)以及文档范围内的显式像素尺寸。使用此功能可匹配广告规格、落地页和电商平台要求,无需手动调整大小。

为什么开发者选择 Seedream 4.0 API
一个统一的异步图像 API,平衡了批量生产力、参考引导的一致性以及可预测的尺寸控制。
统一的生成与编辑
通过单一端点和相同的身份验证流程运行文生图、图生图和图像编辑。
参考引导的一致性
使用多参考输入在输出和变体之间保持身份、品牌或构图的稳定。
为规模而生的异步工作流
任务返回任务 ID 并可在完成时触发回调 URL,支持构建可靠的流水线和基于队列的处理。
如何集成 Seedream 4.0 API
专为生产自动化设计的简单异步工作流。
第 1 步 — 创建 API 密钥
在控制台中生成您的 evolink.ai API 密钥,并在所有请求中使用 Bearer 令牌身份验证。
第 2 步 — 调用 /v1/images/generations
发送 `model: "doubao-seedream-4.0"`、您的提示词以及可选参数,如 `n`、`size`、`image_urls`、`prompt_priority` 和 `callback_url`。
第 3 步 — 获取结果
轮询任务状态端点或接收 Webhook 回调。请及时保存返回的图像 URL(链接有效期为 24 小时)。
Seedream 4.0 API 能力
对生产团队至关重要的文档化行为与限制
文生图 + 图生图
单一端点支持从文本生成以及基于参考图的编辑。
最高 15 张批量输出
使用 `n` 在单次调用中请求多个候选方案,参考图 + 输出图总数上限为 15。
多参考输入
通过 `image_urls` 提供多达 14 张参考图以引导编辑并保留身份。
灵活的尺寸选择
选择简化的尺寸(1K/2K/4K)或支持范围内的显式像素维度。
异步任务工作流
每个请求创建一个任务 ID,支持基于队列的处理和可选的回调。
广泛的输入格式
参考图支持常用格式,如 JPG、PNG、WebP、BMP、TIFF 和 GIF。
Seedream 4.0 常见问题
Everything you need to know about the product and billing.
在 EvoLink 探索更多图像 API
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