Seedream 5 Flash API for Developers
Seedream 5 Flash API
Generate and edit images with ByteDance's Seedream 5 Flash via API. One low price per image at every supported resolution — no GPU setup required.
No watermarks with paid plans
Transparent per-credit pricing
Paid plans with optional Auto Reload
8 aspect ratios
Auto-scaling

Night market

Neon street

Flower field

Poolside fashion

Beauty portrait

Fountain splash

Tropical split

Character sheet

Pet UI

Product triptych

Studio headshot

Study notes
Trusted by teams at
Everything You Need to Ship Seedream 5 Flash
Low-cost image generation and multi-image editing up to 2K.
Low Cost per Image
30 credits per image at 640px, 1K, or 2K, for generation and editing alike.
Text to Image and Editing
Generate from a prompt, or send input images with an edit instruction to the image editor endpoint.
Multi-Image Edits
Combine a source image with up to 9 additional images in one edit.
Wide Aspect Ratio Support
8 aspect ratios including auto, 16:9, 9:16, 4:3, 3:2, 1:1, 4:5, and 2:3.
Auto-Scaling Infrastructure
Scales compute to match demand automatically. No GPU provisioning or cold starts.
Commercial-Ready
Paid subscriptions support non-watermarked outputs for commercial delivery.
Integrate in 3 Steps
Add low-cost AI image generation and editing to your app in minutes.
1
Get Your API Key
Sign up and generate an API key from the Developer dashboard. Seedream 5 Flash requires a Creator, Pro, or Business plan.
2
Send Your Request
Upload your source image and provide a natural language edit instruction to the AI image editor endpoint with the seedream-v5-flash model.
3
Get Results & Scale
Receive the finished image via response. Deploy to production — infrastructure scales automatically.
Code Examples
Seedream 5 Flash 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("MAGIC_HOUR_API_KEY"))
res = client.v1.ai_image_editor.generate(
assets={"image_file_paths": ["/path/to/source.png"]},
image_count=1,
model="seedream-v5-flash",
name="Seedream 5 Flash Edit",
aspect_ratio="1:1",
resolution="1k",
style={"prompt": "Change the jacket to red while keeping everything else the same"},
)Estimate Your API Costs
Choose your settings and volume to estimate the credits and cost.
API Calculator
How will you use the API?
For projects with recurring generation needs.
Estimated monthly usage
15,000 Credits
$0.0468/image
Based on your selected model, resolution, and usage volume. Rate assumes you use all included credits.
Best plan for your usage
Pro
For professional work and frequent production
$39
/ month
Billed monthly
-36%
$39
$25
/ month · $300 billed yearly
Save $168 compared to monthly
25,000 credits per month
Up to 17.4 min of video
Up to 5,000 images
OR
All payment optionsEstimates in USD. Final price and currency shown at checkout.
SDKs for Every Stack
Official open-source SDKs with full TypeScript/type support. Install and start building.
Seedream 5 Flash API Pricing
Subscription plans for standard usage.
Pay as you go with Auto Reload
In Developer Hub, open Analytics & Billing and turn on Pay as you go. Auto Reload buys credit packs when your balance runs low. Choose Buy credits for a one-time top-up. Some models and settings require a paid plan. How to set up Auto Reload. For help with an existing billing agreement, email us or message us in Intercom.
Built for Builders
See how developers use the Seedream 5 Flash API to power real products.
Bulk Creative Variations
Generate many variations of an ad or product shot at a low cost per image.
Early Concepts
Explore directions cheaply before spending on a premium final render.
Routine Product Edits
Swap colors, backgrounds, and details across a catalog.
High-Volume Pipelines
Keep per-image cost predictable in automated image workflows.
Try before integrating
Use Seedream 5 Flash Without Code
Use the same model in the Magic Hour web app. A paid plan is required to generate.
Seedream 5 Flash API — Frequently Asked Questions
Magic Hour's Seedream 5 Flash API lets developers generate and edit images using ByteDance's lower-cost Seedream 5 model via REST API.
Seedream 5 Flash costs less per image and suits drafts and high-volume work. Seedream 5 Pro costs more and is the choice for final assets that need the most detail. Both stop at 2K.
No. Seedream 5 Flash supports 640px, 1K, and 2K. Use Seedream 4.5 when you need 4K.
auto, 16:9, 9:16, 4:3, 3:2, 1:1, 4:5, and 2:3.
Official SDKs for Python, Node.js, Go, and Rust.
Magic Hour offers subscription plans starting at $19/month (Creator), $39/month (Pro), and $99/month (Business), each including a monthly credit allotment. Seedream 5 Flash costs 30 credits per image at 640px, 1K, or 2K, for generation and editing (no 4K). Auto Reload adds credits to your balance. Check which paid plan this model requires.
Signing up is free and gives you an API key, but Seedream 5 Flash is not available on the free tier — it requires a paid plan (Creator, Pro, or Business).