← All models

ByteDance Seed / Seedream 4.0

Text → Image5–15s4K
Docs

API Reference

Generate images with Seedream 4.0 using our SDK, CLI, or REST API.

Try in Playground

Quick Start

Install the SDK and generate your first image in under a minute.

TypeScript SDK

Basic Usage

With Contributor Style

Apply a specific artist's style to your generation. Browse available contributors.

Batch Generation

CLI

Generate images directly from your terminal.

REST API

POST/api/v1/generate

Generate an image with the specified model and prompt.

Request

Response

Parameters

ParameterTypeDescription
prompt*stringText description of the image to generate
model*stringModel ID (e.g., "seedream-4")
contributorstringContributor slug to apply their style
qualitystring"draft" | "standard" | "hd" (default: "standard")
aspect_ratiostring"1:1" | "16:9" | "9:16" | "4:3" | "3:4"

Rate Limits

Free
10 req/min
100 req/day
Pro
60 req/min
Unlimited daily
Enterprise
Custom
Contact sales

Resources