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

Golden hour

Family kitchen

Autumn bench

Fresh market

Smile portrait

Sunset cycling

Map diorama

Cake bedroom
Trusted by teams at














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.
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",
)SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
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.