ByteDance Seedream 4.5

doubao/seedream-4.5/text-to-image

doubao/seedream-4.5/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

Mô hình liên quan

ByteDance Seedream 4.5 Mô hình liên quan 1

Đầy đủ tham số, lược đồ đầu ra và giá hiện tại

Chợ API mô hình AIMột nền tảng cho mọi thứPhổ biến nhấtĐiều khoảnDuyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
prompt *Prompttextarea—≤ 5000 chars
sizeSizeselect2K2K | 4K
aspect_ratioAspect Ratioselect1:11:1 | 3:2 | 2:3 | 3:4 | 4:3 | 9:16 | 16:9 | 21:9

Đầy đủ tham số, lược đồ đầu ra và giá hiện tại

Tìm hiểu thêmMột nền tảng cho mọi thứDuyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.
imagesarray<string>

API

Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

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);

Tài liệu API

Seedream 4.5

Next-gen text-to-image model optimized for typography and high-resolution outputs

Seedream 4.5 is a state-of-the-art text-to-image model designed for creating visually stunning and text-rich images. With enhanced typography capabilities, strong prompt adherence, and support for resolutions up to 4K, it is ideal for posters, brand visuals, and marketing assets. The model offers ready-to-use REST API integration, ensuring fast performance with no cold starts and competitive pricing.

🚀 Key Features

  • Enhanced Typography: Delivers sharp, legible text rendering for posters, logos, and UI designs.
  • High-Resolution Output: Supports custom dimensions with resolutions ranging from 512×512 to 8192×8192 pixels.
  • Strong Prompt Adherence: Accurately follows detailed descriptions for layout, style, and subject.
  • Designer-Level Composition: Handles complex layouts with clear hierarchy, including titles, subtitles, and embedded text.
  • Aesthetic Quality: Benchmarked for superior visual quality using industry-standard evaluation tools.
  • No Cold Starts: Immediate inference availability ensures consistent and fast performance.

🛠️ Technical Specifications

ParameterDescriptionDefaultRange
PromptPositive prompt for generation.--
SizeSpecify width and height of the generated image (pixels).2048×2048512×512 to 8192×8192
ResolutionMaximum supported resolution for outputs.-Up to 8192×8192
Output FormatURL or BASE64-encoded image.URL-
LatencyFast inference without cold starts.--

Sample Prompts

  1. Prompt: “A modern poster design with bold typography, featuring a white all-caps title at the top and a small gray subtitle below. Background is abstract with blue gradients.”
  2. Prompt: “A brand logo with sharp text, minimalist style, and a circular emblem in the center.”

💰 Pricing

ResolutionPrice per Image
Standard$0.04

💡 Best Use Cases

  • Poster and Banner Design: Create text-heavy visuals for marketing campaigns and events.
  • Brand Visual Creation: Generate logos, campaign assets, and branded imagery.
  • E-commerce Product Imagery: Produce high-quality hero shots and product visuals.
  • Social Media Graphics: Design engaging posts with integrated typography.

🔗 Related Models

  • Seedream V4: Previous generation with strong illustration capabilities and diverse styles.
  • Nano Banana Pro: Ideal for ultra-low-cost, multi-image generation in large batches.
  • Z-Image-Turbo: Optimized for speed and throughput with bilingual support.
  • FLUX.2 [Pro]: Best for cinematic, style-flexible hero shots.

Choose Seedream 4.5 for text-heavy creative projects requiring high-resolution outputs and precise typography.

Mô hình liên quan

z-image-spicy/text-to-image
Văn bản thành ảnhZ Image Spicy

z-image-spicy/text-to-image

z-image-spicy/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.014 / mỗi lượt chạy
xAI Grok Imagine Image v2.0 Text to Image
Văn bản thành ảnhX Ai

xAI Grok Imagine Image v2.0 Text to Image

x-ai/grok-imagine-image-v2.0/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.080 / mỗi lượt chạy
Qwen Image 3.0 Pro Text to Image
Văn bản thành ảnhQwen Image 3.0 Pro

Qwen Image 3.0 Pro Text to Image

qwen-image-3.0-pro/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.075 / mỗi lượt chạy
ai/prefect-pony-xl
Văn bản thành ảnhPrefect Pony Xl

ai/prefect-pony-xl

prefect-pony-xl/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.015 / mỗi lượt chạy
OpenAI GPT Image 2 Text-to-Image
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2 Text-to-Image

openai/gpt-image-2/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.660 / mỗi lượt chạy
OpenAI GPT Image 2 Edit
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2 Edit

openai/gpt-image-2/edit. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.660 / mỗi lượt chạy
OpenAI GPT Image 2.5 Sunburst Text-to-Image
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2.5 Sunburst Text-to-Image

openai/gpt-image-2.5-sunburst/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.220 / mỗi lượt chạy
OpenAI GPT Image 2.5 Flare Text-to-Image
Văn bản thành ảnhOpenAI

OpenAI GPT Image 2.5 Flare Text-to-Image

openai/gpt-image-2.5-flare/text-to-image. Duyệt API mô hình ảnh, video và đổi khuôn mặt. Thử mô hình rồi tích hợp qua một API REST thống nhất.

từ $0.220 / mỗi lượt chạy