Seedream 4.0 API
Seedream 4.0 is ByteDance Seed's image model that unifies generation and editing, prioritizes reference consistency, and supports up to 4K output.
Next generation available: Seedream 5.0 with Deep Thinking, Web Search, and 14 reference images. Upgrade to Seedream 5.0 →
Price: $0.02(~ 1.2 credits) per image
Highest stability with guaranteed 99.9% uptime. Recommended for production environments.
Use the same API endpoint for all versions. Only the model parameter differs.
Upload reference images
Click to upload or drag and drop
Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 10
Specifies the maximum number of images to generate (1–15).

History
Max 20 items0 running · 0 completed
Seedream 4.0 API for Text-to-Image Generation and Multi-Reference Consistency
Seedream 4.0 is ByteDance’s image creation model built for text-to-image generation with multi-reference consistency and batch outputs up to 4K. The lowest-cost Seedream version on EvoLink.

Pricing
| Model | Mode | Price |
|---|---|---|
| Seedream 4 | Image Generation | $0.019/ image(1.296 Credits) |
If it's down, we automatically use the next cheapest available—ensuring 99.9% uptime at the best possible price.
What can you build with Seedream 4.0 API?
Batch image generation for campaigns
Generate multiple variants in one request using the `n` parameter (1–15). This is ideal for ad sets, hero images, and product variants where you want controlled diversity without rebuilding prompts for each version.

Multi-reference image consistency
Upload multiple reference images via `image_urls` to guide generation and preserve key identity elements such as logos, materials, or subjects. This is useful for product catalogs, brand assets, and batch workflows.

Resolution control for production output
Seedream 4.0 API supports simplified sizing (1K/2K/4K) and explicit pixel sizes within the documented range. Use this to match ad specs, landing pages, and marketplace requirements without manual resizing.

Why developers choose Seedream 4.0 API
A unified, async image API that balances batch productivity, reference-guided consistency, and predictable sizing.
Unified generation and reference control
Run text-to-image and image-to-image generation through one endpoint with multi-reference consistency and the same authentication flow.
Reference‑guided consistency
Use multi-reference inputs to keep identity, branding, or composition stable across outputs and variations.
Async workflows built for scale
Tasks return a task ID and can trigger a callback URL when complete, enabling reliable pipelines and queue-based processing.
Seedream 4.0 vs GPT-4O Image
| Feature | Seedream 4.0 | GPT-4O Image |
|---|---|---|
| EvoLink price | $0.018/image | $0.021/image |
| Official price | $0.03/image | $0.042/image |
| Reference images | Up to 14 | Limited |
| Max resolution | Up to 4K | Up to 1K |
| Batch generation | Up to 15 per request | 1 per request |
| Text rendering | Basic | Good |
| Best for | High-volume generation, multi-reference consistency | General-purpose generation, OpenAI ecosystem |
How to integrate Seedream 4.0 API
A simple, async workflow designed for production automation.
Step 1 — Create an API key
Generate your evolink.ai API key in the dashboard and use Bearer token authentication for all requests.
Step 2 — Call /v1/images/generations
Send `model: "doubao-seedream-4.0"`, your prompt, and optional parameters such as `n`, `size`, `image_urls`, `prompt_priority`, and `callback_url`.
Step 3 — Retrieve results
Poll the task status endpoint or receive a webhook callback. Save returned image URLs promptly (links are valid for 24 hours).
Seedream 4.0 API capabilities
Documented behavior and limits that matter for production teams.
Text-to-image + image-to-image
One endpoint supports generation from text and edits based on reference images.
Batch outputs up to 15
Use `n` to request multiple candidates per call, with total reference + output images capped at 15.
Multi-reference inputs
Provide up to 14 reference images via `image_urls` to guide edits and preserve identity.
Flexible sizing
Pick simplified sizes (1K/2K/4K) or explicit pixel dimensions within the supported range.
Async task workflow
Each request creates a task ID, enabling queue-based processing and optional callbacks.
Broad input formats
Reference images can use common formats like JPG, PNG, WebP, BMP, TIFF, and GIF.
Seedream 4.0 FAQs
Everything you need to know about the product and billing.
All Seedream API Models
EvoLink provides unified API access to the full Seedream image generation family. All versions share the same API endpoint. Switch models with one parameter.
API Reference
Select endpoint
Authentication
All APIs require Bearer Token authentication.
Authorization:
Bearer YOUR_API_KEY/v1/images/generationsGenerate Image
Create an image generation task using text prompts or reference images. Supports text-to-image, image-to-image, and image editing modes.
Asynchronous processing mode, use the returned task ID to .
Generated image links are valid for 24 hours, please save them promptly.
Request Parameters
modelstringRequiredDefault: doubao-seedream-4.0Image generation model name.
doubao-seedream-4.0promptstringRequiredPrompt describing the image to be generated or how to edit the input image.
Notes
- Limited to 2000 tokens
A cat playing in the grasssizestringOptionalDefault: autoAspect ratio of generated images.
| Value | Description |
|---|---|
| auto | Auto - model determines optimal ratio |
| 1:1 | Square |
| 2:3 / 3:2 | Portrait / Landscape |
| 3:4 / 4:3 | Portrait / Landscape |
| 4:5 / 5:4 | Portrait / Landscape |
| 9:16 / 16:9 | Vertical / Horizontal |
| 21:9 | Ultra-wide |
Notes
- Backend auto-converts ratio + quality to exact pixels
16:9qualitystringOptionalDefault: 2KResolution tier for generated images. Backend converts ratio + quality to exact pixel dimensions.
| Value | Description |
|---|---|
| 1K | Standard quality |
| 2K | High quality (default) |
| 4K | Ultra quality (higher cost) |
2KnintegerOptionalDefault: 1Number of images to generate.
| Value | Description |
|---|---|
| 1-15 | Batch generation supported |
1image_urlsarrayOptionalReference image URL list for image-to-image and image editing functions.
Notes
- Max 10 images per request
- Max size: 10MB per image
- Formats: .jpeg, .jpg, .png
- Aspect ratio range: [1/3, 3]
- Total pixels: ≤6000×6000
- URLs must be directly accessible by the server
https://example.com/image1.pngprompt_priorityenum<string>OptionalDefault: standardPrompt optimization strategy for setting the prompt optimization mode.
| Value | Description |
|---|---|
| standard | Standard mode, higher quality, slower |
| fast | Fast mode, faster speed, normal quality |
standardcallback_urlstringOptionalHTTPS callback address after task completion.
Notes
- Triggered on completion, failure, or cancellation
- Sent after billing confirmation
- HTTPS only, no internal IPs
- Max length: 2048 chars
- Timeout: 10s, Max 3 retries
https://your-domain.com/webhooks/image-task-completed