ByteDance Seedream 4.5

doubao/seedream-4.5/text-to-image

ByteDance Seedream 4.5 是一款下一代文本生成图片模型,专为排版优化——更清晰的文字渲染、更强的提示词遵循性,并支持高达 4K 的海报和品牌视觉输出。即用型 REST 推理 API,最佳性能,无冷启动,价格实惠。

示例

ByteDance Seedream 4.5 example 1

参数

名称类型默认约束说明
prompt *提示词textarea≤ 5000 chars用于生成的正向提示词。
size尺寸select2K2K | 4K输出分辨率档位;系统会结合宽高比转换为 MaaS 所需的像素尺寸。
aspect_ratio宽高比select1:11:1 | 3:2 | 2:3 | 3:4 | 4:3 | 9:16 | 16:9 | 21:9生成图片的宽高比。

输出字段

字段类型说明
imagesarray<string>Generated image URLs

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.5/text-to-image" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "prompt": "A futuristic cityscape with towering skyscrapers, neon lights reflecting on wet streets, and flying cars zooming through the sky.",
    "size": "4K",
    "aspect_ratio": "16:9"
  }
}'

# 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.5/text-to-image",
    headers=HEADERS,
    json={
        "input": {
            "prompt": "A futuristic cityscape with towering skyscrapers, neon lights reflecting on wet streets, and flying cars zooming through the sky.",
            "size": "4K",
            "aspect_ratio": "16:9"
        }
    },
)
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.5/text-to-image", {
  method: "POST",
  headers: { ...HEADERS, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "prompt": "A futuristic cityscape with towering skyscrapers, neon lights reflecting on wet streets, and flying cars zooming through the sky.",
      "size": "4K",
      "aspect_ratio": "16:9"
    }
  }),
});
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.5

下一代文本生成图片模型,优化排版与高分辨率输出

Seedream 4.5 是一款先进的文本生成图片模型,专为创建视觉效果出色且包含丰富文本的图片而设计。该模型具有增强的排版能力、强大的提示词遵循性,并支持最高 4K 分辨率,非常适合用于海报、品牌视觉和营销素材。模型提供即用型 REST API 集成,性能稳定,无冷启动,且价格实惠。

🚀 核心功能

  • 增强排版:提供清晰、易读的文本渲染,适用于海报、标志和 UI 设计。
  • 高分辨率输出:支持从 512×512 到 8192×8192 像素的自定义尺寸。
  • 强提示词遵循性:精准遵循详细描述,包括布局、风格和主题。
  • 设计师级别布局:处理复杂布局,具有清晰的层次结构,包括标题、副标题和嵌入文本。
  • 美学质量:通过行业标准评估工具进行基准测试,视觉质量卓越。
  • 无冷启动:即时推理可用性,确保性能稳定且快速。

🛠️ 技术规格

参数描述默认值范围
提示词用于生成的正向提示词。--
尺寸指定生成图片的宽度和高度(像素)。2048×2048512×512 至 8192×8192
分辨率支持的最大输出分辨率。-最高 8192×8192
输出格式URL 或 BASE64 编码图片。URL-
延迟无冷启动的快速推理。--

示例提示词

  1. 提示词:“一个现代海报设计,具有大胆的排版,顶部为白色全大写标题,下方为小型灰色副标题。背景为蓝色渐变的抽象风格。”
  2. 提示词:“一个品牌标志,具有清晰的文本、极简风格,并在中心有一个圆形徽标。”

💰 定价

分辨率每张图片价格
标准分辨率$0.04

💡 最佳应用场景

  • 海报和横幅设计:创建用于营销活动和活动的文本密集型视觉效果。
  • 品牌视觉创建:生成标志、活动素材和品牌图像。
  • 电商产品图片:制作高质量的主图和产品视觉效果。
  • 社交媒体图形:设计带有集成排版的吸引人帖子。

🔗 相关模型

  • Seedream V4:上一代模型,擅长高分辨率插画和多样风格。
  • Nano Banana Pro:适合超低成本的大批量多图片生成。
  • Z-Image-Turbo:优化速度和吞吐量,支持双语生成。
  • FLUX.2 [Pro]:适用于电影级别、风格灵活的主图生成。

选择 Seedream 4.5,用于需要高分辨率输出和精准排版的文本密集型创意项目。

相关模型

xAI Grok Imagine Image v2.0 文生图
Text to ImageX Ai

xAI Grok Imagine Image v2.0 文生图

xAI Grok Imagine Image V2.0 文生图可根据文本提示词生成高质量图片,并支持配置宽高比、分辨率和质量,适用于创意视觉、社交内容、营销素材和生产工作流。提供开箱即用的 REST 推理 API,性能出色,无冷启动,价格实惠。

$0.080 / 每次
Qwen Image 3.0 Pro 文生图
Text to ImageQwen Image 3.0 Pro

Qwen Image 3.0 Pro 文生图

Qwen Image 3.0 Pro 是一款专业级文生图模型,具备卓越画质和先进的提示词理解能力。最高支持 2k。提供开箱即用的 REST inference API,性能出色,无冷启动,价格实惠。

$0.080 / 每次
OpenAI GPT Image 2 文本生成图片
Text to ImageOpenAI

OpenAI GPT Image 2 文本生成图片

OpenAI 的 GPT Image 2 文本生成图片模型可根据自然语言提示词生成高质量图片。提供即用型 REST 推理 API,性能最佳,无冷启动,价格实惠。

$0.660 / 每次
OpenAI GPT Image 2 Edit 图像编辑
Text to ImageOpenAI

OpenAI GPT Image 2 Edit 图像编辑

OpenAI 的 GPT Image 2 Edit 可通过自然语言指令结合一张或多张参考图片进行图像编辑。提供即用型 REST 推理 API,性能最佳,无冷启动,价格实惠。

$0.660 / 每次
Nami Z-Image T2I Spicy
Text to Image

Nami Z-Image T2I Spicy

根据文本提示词生成图片,支持自定义宽高、提示词优化和随机种子。

$0.020 / 每次
Nano Banana 文生图
Text to ImageGoogle

Nano Banana 文生图

Gemini 2.5 Flash 标准版。轻量极速。兼顾速度与成本,是批量生成与快速原型设计的最佳选择。

$0.040 / 每次
Nano Banana Pro 文生图
Text to ImageGoogle

Nano Banana Pro 文生图

Gemini 3.0 Pro 旗舰版。专为 4K 原生画质打造,支持图像内多语言文字渲染与专业摄影参数控制。

$0.140 / 每次
Nano Banana Pro 文生图
Text to ImageGoogle

Nano Banana Pro 文生图

Gemini 3.0 Pro 旗舰版。专为 4K 原生画质打造,支持图像内多语言文字渲染与专业摄影参数控制。

$0.070 / 每次