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 credits on signup
Transparent per-credit pricing
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

Estimate Your API Costs

Build with model-specific APIs for video, image generation, and image editing. Compare inputs, examples, and capabilities across Magic Hour's supported models.
Images Per Month
10 images
images
Recommended plan
Pro Annual
$300
/year
300,000 credits per year
Up to 3.5 hours of video
Up to 30,000 images
PRO ANNUAL covers your usage
Estimated usage
20,000credits / month
Included
25,000credits / month
Remaining headroom
5,000credits / month
TOTAL BILL
$300
/year

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.

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.

Magic Hour offers subscription plans starting at $15/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Credits are consumed per generation based on output length and model. You can also contact us to set up usage-based (pay-as-you-go) pricing. A free tier with credits is available on signup — no credit card required.

Sign up at magichour.ai/developer — no credit card required. You'll receive free credits and an API key immediately. The key works across all Magic Hour API endpoints including Seedream 4. Start making API calls in minutes using our Python, Node.js, Go, or Rust SDKs.

Yes. Every new Magic Hour account gets free credits on signup that work across all API endpoints. No credit card is required to get started. Paid plans unlock higher credit limits, higher concurrency, and commercial use rights.

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.