还没有图片。提交表单以生成图片。
探索不同用例和参数配置
透明定价,无隐藏费用。按需支付。
The price is independent of image resolution and is solely determined by the final number of images returned. The number of images depends on the quantity specified in the prompt and the maximum value set by max_images, both of which jointly determine the final count.
| 规则与模式 | 渠道 | 积分 | 价格(美元) | 官方/参考价格 | 每日节省 |
|---|---|---|---|---|---|
seedream-v4-max_image_1 imageseedreammax_images: 1 | Starter | 0.6per run | $0.003 | Bytedance$0.030per run | 按每日 10,000 张图片估算用 Bytedance 原价每天多花 $272.730ApiPass 低 90.91% |
seedream-v4-max_image_2 imageseedreammax_images: 2 | Starter | 1per run | $0.005 | Bytedance$0.060per run | 按每日 10,000 张图片估算用 Bytedance 原价每天多花 $554.550ApiPass 低 92.42% |
seedream-v4-max_image_3 imageseedreammax_images: 3 | Starter | 1per run | $0.005 | Bytedance$0.090per run | 按每日 10,000 张图片估算用 Bytedance 原价每天多花 $854.550ApiPass 低 94.95% |
seedream-v4-max_image_4 imageseedreammax_images: 4 | Starter | 1per run | $0.005 | Bytedance$0.120per run | 按每日 10,000 张图片估算用 Bytedance 原价每天多花 $1154.550ApiPass 低 96.21% |
seedream-v4-max_image_5 imageseedreammax_images: 5 | Starter | 1per run | $0.005 | Bytedance$0.150per run | 按每日 10,000 张图片估算用 Bytedance 原价每天多花 $1454.550ApiPass 低 96.97% |
seedream-v4-max_image_6 imageseedreammax_images: 6 | Starter | 1per run | $0.005 | Bytedance$0.180per run | 按每日 10,000 张图片估算用 Bytedance 原价每天多花 $1754.550ApiPass 低 97.47% |
seedream-4 使用完整指南
在 ApiPass 上使用 ByteDance Seedream V4 构建应用,并通过一个公开模型名称调用:bytedance/seedream-v4。该 API 通过异步 Jobs 工作流支持文本生成图像、图像到图像编辑、参考一致性、批量输出和高清结果。

Seedream 4.0 是 ByteDance 面向快速视觉生成和精准编辑的下一代图像创作模型。它在统一架构中结合了文本生成图像、图像到图像以及基于指令的编辑能力,帮助开发者生成精致视觉内容、保留参考细节,并在创意和专业工作流中创建一致的输出。在 ApiPass 上,生成和编辑使用相同的公开模型名称:用于文本生成图像时省略 input.image_urls 或传入空数组;用于编辑时提供一个或多个图像 URL。
根据自然语言提示词生成高质量图像。Seedream 4.0 支持复杂场景、产品视觉、插画和营销素材,并可选择图像尺寸以及 1K、2K 或 4K 输出规格。
提供一个或多个参考图像,并描述你想要的转换效果。ApiPass 会在 input.image_urls 非空时自动将请求路由到编辑工作流,同时保留公开模型名称 bytedance/seedream-v4。
使用自然语言添加、移除、替换、重塑风格或优化对象、背景、颜色和构图。编辑模式最多支持 10 张公开可访问的 JPEG、PNG 或 WebP 输入图像,每张最大 30 MB。
Seedream 4.0 能够遵循简单的自然语言指令来添加、移除或替换视觉元素。这使其适用于商业设计、创意编辑、背景更换以及可控的图像优化。
该模型旨在在风格变化中保持身份特征、构图和细节,帮助输出在保留源主体可识别性的同时,避免过度处理的观感。
Seedream 4.0 能够解读详细或抽象的提示词,调整构图和比例,并将创意意图转化为适用于产品、设计和叙事工作流的具体视觉内容。
编辑模式最多接受 10 张输入图像,max_images 可在单个任务中请求最多 6 个生成输出。对于多输出任务,除了设置 max_images,也请在提示词中明确描述期望的具体数量。
Seedream 4.0 支持 1K、2K 和 4K 输出规格。最终像素尺寸由 image_size 和 image_resolution 控制,例如 landscape_4_3 搭配 4K 可获得类似 4096 x 3072 的输出规格。
将粗略想法转化为精致草图、插画、产品概念和 3D 风格原型,并在多轮迭代中保持风格和视觉细节。
快速创建广告、横幅、产品视觉、活动图片和适合社交媒体发布的创意素材,同时保持一致的品牌风格和可控的输出尺寸。
为前期制作工作流生成场景概念、分镜画面、角色变体和视觉方向,适用于需要快速迭代和连贯构图的场景。
通过文本提示词和可选参考图像,驱动 AI 生成自拍、创意梗图、角色替换、趣味编辑和交互式视觉体验。
ApiPass 为文本生成图像和编辑工作流提供同一个公开模型名称,然后根据 input.image_urls 选择正确的上游分支。
使用模型 bytedance/seedream-v4,并省略 input.image_urls,或将 image_urls 作为空数组提供。ApiPass 会将任务路由到文本生成图像,并通过异步任务结果返回生成的图像。
提供 input.image_urls,且至少包含一个非空的公开图像 URL。ApiPass 会将任务路由到图像编辑。公开模型名称、计费、目录条目和 API 集成均保持为 bytedance/seedream-v4。
使用 POST /api/v1/jobs/createTask 创建任务,保存 data.taskId,然后轮询 GET /api/v1/jobs/recordInfo,或提供根级 callBackUrl。成功后,从 resultJson.resultUrls 读取生成的图像 URL。
对于常规通道,点数会根据请求的 max_images 值按每张图像 11 点预扣。计费使用请求的最大输出数量,而不是最终返回的 URL 数量。
max_images 必须是 1 到 6 之间的 JSON 整数。常规通道中,请求 1 张图像会预扣 11 点,请求 6 张图像会预扣 66 点。
实际在线价格以当前 ApiPass 模型配置、所选通道和账户结算结果为准。默认通道为 auto,会根据可用服务商的价格和稳定性分配任务。
编写一个非空提示词,最多 5000 个字符。对于文本生成图像,将 image_urls 留空。对于编辑,提供 1 到 10 个公开可访问的 JPEG、PNG 或 WebP 图像 URL,每个最大 30 MB。
发送 POST /api/v1/jobs/createTask,将 model 设置为 bytedance/seedream-v4,并传入你的 input 对象。你可以设置 image_size、image_resolution、max_images 和 seed。如果需要完成回调,请将 callBackUrl 保持在根级。
从创建响应中保存 data.taskId。轮询 GET /api/v1/jobs/recordInfo?taskId=...,直到 state 为 success 或 fail,或处理终态回调 payload。成功后,解析 resultJson 并读取 resultUrls。
所有 API 都需要通过 Bearer Token 进行身份验证。
Authorization: Bearer
创建异步 ByteDance Seedream V4 图像生成或图像编辑任务。ApiPass 对两种模式使用相同的公开模型名称,并会根据 input.image_urls 自动选择上游工作流。
该 API 接受具有以下结构的 JSON 载荷:
1{
2 "model": "bytedance/seedream-v4",
3 "callBackUrl": "string (optional)",
4 "channel": "auto",
5 "input": {
6 "prompt": "string",
7 "image_urls": ["string"],
8 "image_size": "square_hd",
9 "image_resolution": "1K",
10 "max_images": 1,
11 "seed": 42
12 }
13}model必填string公开的 ApiPass 模型名称。文生图和图像编辑任务均使用 bytedance/seedream-v4。
"bytedance/seedream-v4"
callBackUrl可选string可选的回调 URL,用于接收来自 ApiPass 的任务完成通知。不要将此字段放在 input 内。
"https://your-domain.com/api/callback"
channel可选string选择 APIPASS 用于实际图像生成或编辑任务的提供商通道。默认通道为 auto。APIPASS 会根据实时价格和稳定性指标,在可用提供商之间自动分配任务。starter 成本极低,但配额有限且稳定性较弱。regular 是标准通道,成本远低于官方 API,稳定性适中。official 使用模型原生 API,具备高稳定性、快速任务执行和官方定价。
channel 参数的默认值为 auto。APIPASS 会根据实时价格和稳定性指标,在可用提供商之间自动分配任务。使用 starter 可执行超低成本任务,但配额有限且稳定性较弱;使用 regular 可进行标准低成本路由,稳定性适中;使用 official 则调用模型原生 API,具备高稳定性、快速任务执行和官方定价。
可用选项:
auto
input 对象包含 Seedream V4 的生成和编辑参数。
input.prompt必填string图像生成或编辑提示词。必须是非空字符串,最长 5000 个字符。
必填。最大长度:5000 个字符。
input.image_urls可选string[]用于图像编辑的输入图片 URL。如果省略或为空数组,ApiPass 会使用文生图模式。如果数组包含至少一个非空 URL,ApiPass 会使用图像编辑模式。
默认值:[]。最多支持 10 张图片。每张图片必须是可公开访问的 JPEG、PNG 或 WebP 文件,最大 30 MB。
["https://cdn.example.com/product.png"]
input.image_size可选enum: ['square', 'square_hd', 'portrait_4_3', 'portrait_3_2', 'portrait_16_9', 'landscape_4_3', 'landscape_3_2', 'landscape_16_9', 'landscape_21_9']输出图片尺寸和宽高比。
默认值:square_hd。最终像素尺寸由 image_size 与 image_resolution 共同决定。
可用选项:
"square_hd"
input.image_resolution可选enum: ['1K', '2K', '4K']输出像素规格。该值区分大小写。
默认值:1K。请严格使用 1K、2K 或 4K。
可用选项:
"1K"
input.max_images可选integer该任务要生成的最大图片数量。
默认值:1。范围:1 到 6。必须是 JSON 整数,不能是字符串、小数或布尔值。
1
input.seed可选number用于控制生成随机性的随机种子。接受整数和浮点数。
默认值:随机。字符串和布尔值无效。
42
1curl --request POST \
2 --url "https://api.apipass.dev/api/v1/jobs/createTask" \
3 --header "Authorization: Bearer YOUR_API_KEY" \
4 --header "Content-Type: application/json" \
5 --data '{
6 "model": "bytedance/seedream-v4",
7 "channel": "auto",
8 "input": {
9 "prompt": "A premium outdoor product collection in a bright modern studio.",
10 "image_size": "square_hd",
11 "image_resolution": "1K",
12 "max_images": 1
13 }
14 }'1{
2 "code": 200,
3 "message": "success",
4 "data": {
5 "taskId": "task_xxxxxxxxxxxxxxxx"
6 }
7}code状态码,200 表示任务已成功创建。
message响应消息。
data.taskIdApiPass 任务 ID。请保存此值,并通过查询任务 API 获取任务状态和结果。

flux
flux
Generate photorealistic images with robust text
起价
0 积分
Nano Banana 2 Lite, aka Gemini 3.1 Flash-Lite Image, is a newly released image model from Google DeepMind built for fast 1K image generation, efficient creative iteration, prompt-based image editing, and responsive visual output in product-facing creative scenarios.
起价
0 积分
OpenAI
OpenAI
Generate intentionally designed visuals with less prompting using the latest OpenAI GPT Image 2 model.
起价
0 积分
Qwen
Qwen
起价
0 积分
Nano Banana now allows you to freely draw on edited images, bringing you a completely new experience. Simply click on the image to draw whatever you want. You can also add text and details, and Gemini will do the rest.
起价
0 积分
Fast image generation model built on Gemini 3.1 Flash Image. Supports text-to-image, image editing, multi-image fusion with up to 14 reference images, Google Search grounding, and outputs up to 4K resolution.
起价
0 积分
seedream
seedream
起价
0 积分
grok
grok
Grok Imagine is xAI’s AI video generation model for creating high-quality videos with realistic motion, native audio, and synchronized speech. Grok Imagine 1.5 introduces faster generation speeds, improved motion physics, and stronger visual consistency for modern AI video applications.
起价
0 积分
qwen
qwen
Generate realistic 2K images with structured text
起价
0 积分
OpenAI
OpenAI
Bring your ideas to life with sharper, faster, more precise image generation using the GPT Image 2.5 API.
起价
0 积分
wan
wan
Generate images with cinematic precision through high-fidelity text-to-image synthesis and structural editing.
起价
0 积分
seedream
seedream
Gemini said Generate images with lightning-fast efficiency and high-fidelity detail through a streamlined, lightweight architecture optimized for instant creative expression.
起价
0 积分
qwen
qwen
Generate realistic 2K images with structured text
起价
0 积分
Luma
Luma
起价
0 积分
seedream
seedream
起价
0 积分
Nano Banana 2.1 is Google's latest Nano Banana image model for high-quality text-to-image generation and prompt-based image editing, with up to 10 reference images and 1K, 2K and 4K output.
起价
0 积分