Seedream 4 API for Developers

Seedream 4 API

Generate and edit images with ByteDance's Seedream 4 via API. Creative, imaginative images with artistic freedom and native editing — no GPU setup required.

Free to start
No watermarks on paid plans
Subscription or usage-based
Auto-scaling
Seedream 4 example: woman in a yellow sweater leaning from a car window on a mountain road at sunset
Golden hour
Seedream 4 example: father and children baking with flour in a sunlit rustic kitchen
Family kitchen
Seedream 4 example: elderly couple on a park bench with fall leaves and pigeons
Autumn bench
Seedream 4 example: busy outdoor produce market with vegetables and warm daylight
Fresh market
Seedream 4 example: young woman smiling in a white tank top with soft outdoor bokeh
Smile portrait
Seedream 4 example: four cyclists riding toward a low sun with long shadows on the road
Sunset cycling
Seedream 4 example: detailed 3D miniature map of Indonesia with landmarks and typography
Map diorama
Seedream 4 example: surreal miniature bed made of cake layers, fruit, and bread-roll pillows
Cake bedroom

Trusted by teams at

meta
nba
loreal
puma
cisco
deel
shopify
decathlon
dallas-mavericks
pittsburgh-pirates
tala
dyson
dazn
wsc-sports

Everything You Need to Ship Seedream 4

Creative image generation with artistic freedom and up to 4K output.

Artistic Freedom
Creative, imaginative generations with strong artistic expression and visual variety.
Up to 4K Output
Generate at 1K, 2K, or 4K for production-grade detail and print-ready quality.
Native Editing
Edit existing images with prompt-based modifications built into the model.
Detailed Prompt Response
Strong response to detailed, descriptive prompts for precise creative control.
Auto-Scaling Infrastructure
Scales compute to match demand automatically. No GPU provisioning or cold starts.
Commercial-Ready
Paid plans support non-watermarked outputs for commercial delivery.

Integrate in 3 Steps

Add creative AI image generation to your app in minutes.

1
Get Your API Key
Sign up free and generate an API key from the Developer dashboard. You get free credits to start.
2
Send Your Request
Pass a detailed text prompt to the AI image generator endpoint and select the seedream-v4 model. For editing, include a source image.
3
Get Results & Scale
Receive generated or edited images via response. Deploy to production — infrastructure scales automatically.
Get Started Free

Code Examples

Seedream 4 in a few lines of code. Install an SDK or use the REST API directly.

from magic_hour import Client
from os import getenv

client = Client(token=getenv("API_TOKEN"))
res = client.v1.ai_image_generator.generate(
    image_count=1,
    style={
        "prompt": "A surreal landscape at golden hour with layered clouds",
        "tool": "general",
    },
    aspect_ratio="16:9",
    model="seedream-v4",
    name="Seedream 4",
    resolution="2k",
)
API Docs

Seedream 4 API Pricing

Subscription plans for standard usage.

Prefer usage-based pricing?

Email us or message us in Intercom and we will set up your usage-based pricing.

API Calculator
Use our calculator to estimate your API costs.
Tier
Estimated monthly cost

$1.73

Based on 24 FPS

Built for Builders

See how developers use the Seedream 4 API to power real products.

Marketing & Campaign Visuals
Create polished campaign imagery with artistic flair and visual impact.
Concept Art & Illustration
Generate detailed concept art and illustrations for creative projects.
Social Media Creative
Produce eye-catching social media images with creative, imaginative compositions.
Book & Publication Art
Generate cover art, illustrations, and visual content for publications.
Brand Identity Assets
Create distinctive brand imagery with strong artistic expression.
Game Art & Assets
Generate game concept art, character designs, and environmental visuals.
Try before integrating

Try Seedream 4 Free — No Code Required

Test quality first with the free tool, then plug the same output quality into your app with the API when you are ready.

Seedream 4 API — Frequently Asked Questions

Magic Hour's Seedream 4 API lets developers generate and edit images using ByteDance's Seedream 4 model via REST API with SDKs for Python, Node.js, Go, and Rust.

Seedream 4 excels at creative, imaginative images with artistic freedom. It responds well to detailed prompts and produces visually distinctive output.

25/40/50 credits per image at 1K/2K/4K resolution.

Yes. Free users can generate at 1K resolution.

1K, 2K, and 4K for both generation and editing.

Seedream 4 offers creative generation with artistic freedom. Seedream 4.5 adds multi-image consistency, better typography, and higher-fidelity professional output.

Yes. Seedream 4 supports native image editing alongside generation.

Official SDKs for Python, Node.js, Go, and Rust.

Start Building with the Magic Hour Seedream 4 API

Free credits on signup. SDKs for Python, Node.js, Go, and Rust. Production-ready in minutes.