Seedance 2.0 API — 即将上线Get early access

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

Parameters
size
2K
n
1
image_urls
Estimated Cost (per image)
1.8 Credits
Total = Base Price × Count (n)
Sample Result
Sample generated image
91 (suggested: 2,000)

Upload reference images

Click to upload or drag and drop

Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 10

Specifies the maximum number of images to generate (1–15).

1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Generated image 1

History

最多保留20条

0 运行中 · 0 已完成

您的生成历史将显示在这里

面向高一致性图像生成与编辑的 Seedream 4.0 API

Seedream 4.0 是字节跳动 Seed 团队研发的新一代图像创作模型,在单一架构中统一了图像生成与编辑。它强调参考一致性,并能产出高达 4K 的高清图像。

示例 1

Pricing

Popular
Seedream 4
Image Generation
Price:
$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)在单次请求中生成多个变体。这对于广告组、主视觉图和产品变体非常理想,您可以在不为每个版本重写提示词的情况下获得受控的多样性。

示例 2

多参考图像编辑

通过 `image_urls` 上传多张参考图来引导图生图编辑,并保留 Logo、材质或主体等关键身份元素。这对于产品目录、品牌资产和批量编辑非常有用。

示例 3

面向生产输出的分辨率控制

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

示例 4

为什么开发者选择 Seedream 4.0 API

一个统一的异步图像 API,平衡了批量生产力、参考引导的一致性以及可预测的尺寸控制。

统一的生成与编辑

通过单一端点和相同的身份验证流程运行文生图、图生图和图像编辑。

参考引导的一致性

使用多参考输入在输出和变体之间保持身份、品牌或构图的稳定。

为规模而生的异步工作流

任务返回任务 ID 并可在完成时触发回调 URL,支持构建可靠的流水线和基于队列的处理。

如何集成 Seedream 4.0 API

专为生产自动化设计的简单异步工作流。

1

第 1 步 — 创建 API 密钥

在控制台中生成您的 evolink.ai API 密钥,并在所有请求中使用 Bearer 令牌身份验证。

2

第 2 步 — 调用 /v1/images/generations

发送 `model: "doubao-seedream-4.0"`、您的提示词以及可选参数,如 `n`、`size`、`image_urls`、`prompt_priority` 和 `callback_url`。

3

第 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.

Seedream 4.0 是字节跳动 Seed 团队研发的新一代图像创作模型。它在单一架构中统一了图像生成与图像编辑,强调参考一致性,并支持最高 4K 的输出。
Seedream 4.0 接受文本、图像或其任何组合作为输入,支持文生图生成、图生图转换、单图编辑、多图编辑以及图像合成。
It supports multi‑image input and subject‑consistent fusion, helping preserve key identity details across multiple outputs.
它可以产出高达 4K 的高清图像,这对于生产级视觉素材和大画幅使用场景非常有用。
是的。字节跳动指出它可以切换不同的艺术风格(例如从巴洛克到赛博朋克),甚至可以混合风格以创建新的视觉效果。
字节跳动报告称,Seedream 4.0 的推理速度比其前身快得多,有助于团队更迅速地进行迭代。
是的。参考一致性是一项核心能力,有助于模型在相关图像之间保持稳定的主体和细节。
Seedream 4.0 已根据字节跳动 Seed 团队的发布正式可用,BytePlus 提供了官方的 ModelArk 文档。

在 EvoLink 探索更多图像 API

POST
/v1/images/generations

Generate 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.0

Image generation model name.

Exampledoubao-seedream-4.0
promptstringRequired

Prompt describing the image to be generated or how to edit the input image.

Notes
  • Limited to 2000 tokens
ExampleA cat playing in the grass
sizestringOptionalDefault: auto

Aspect ratio of generated images.

ValueDescription
autoAuto - model determines optimal ratio
1:1Square
2:3 / 3:2Portrait / Landscape
3:4 / 4:3Portrait / Landscape
4:5 / 5:4Portrait / Landscape
9:16 / 16:9Vertical / Horizontal
21:9Ultra-wide
Notes
  • Backend auto-converts ratio + quality to exact pixels
Example16:9
qualitystringOptionalDefault: 2K

Resolution tier for generated images. Backend converts ratio + quality to exact pixel dimensions.

ValueDescription
1KStandard quality
2KHigh quality (default)
4KUltra quality (higher cost)
Example2K
nintegerOptionalDefault: 1

Number of images to generate.

ValueDescription
1-15Batch generation supported
Example1
image_urlsarrayOptional

Reference 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
Examplehttps://example.com/image1.png
prompt_priorityenum<string>OptionalDefault: standard

Prompt optimization strategy for setting the prompt optimization mode.

ValueDescription
standardStandard mode, higher quality, slower
fastFast mode, faster speed, normal quality
Examplestandard
callback_urlstringOptional

HTTPS 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
Examplehttps://your-domain.com/webhooks/image-task-completed

Request Example

{
  "model": "doubao-seedream-4.0",
  "prompt": "A cat playing on the grass",
  "size": "16:9",
  "quality": "2K"
}

Response Example

{
  "created": 1757165031,
  "id": "task-unified-1757165031-uyujaw3d",
  "model": "doubao-seedream-4.0",
  "object": "image.generation.task",
  "progress": 0,
  "status": "pending",
  "task_info": {
    "can_cancel": true,
    "estimated_time": 45
  },
  "type": "image",
  "usage": {
    "billing_rule": "per_call",
    "credits_reserved": 1.8,
    "user_group": "default"
  }
}