Seedream V4 Sequential
doubao/seedream-4.0/text-to-image-sequential
Seedream 4.0 by creates 4K images with editing, character/object consistency and sequential multi-image generation. Ready-to-use REST API, best performance, no coldstarts, affordable pricing.
Examples
Parameters
| Name | Type | Default | Constraints | Description |
|---|---|---|---|---|
| prompt *Prompt | textarea | — | ≤ 5000 chars | The positive prompt for the generation. |
| sizeSize | text | 2048x2048 | ≤ 500 chars | The size of the generated media, supporting up to 4K resolution for images. If you need to match the size of an existing image, you must explicitly specify the dimensions, as automatic resizing to match the image is not supported. |
| max_imagesMax Images | slider | 1 | 1 ~ 15 · step 1 | The maximum number of images that can be generated (up to 15). This value must align with the number of images specified in the prompt above. |
API
Call this model through one unified REST API. Get a key on the API Keys page.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/doubao/seedream-4.0/text-to-image-sequential" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A serene landscape featuring a crystal-clear lake surrounded by snow-capped mountains under a vibrant sunset sky, with realistic reflections on the water. Please generate a set of 5 images.",
"size": "3840x2160",
"max_images": 5
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/doubao/seedream-4.0/text-to-image-sequential",
headers=HEADERS,
json={
"input": {
"prompt": "A serene landscape featuring a crystal-clear lake surrounded by snow-capped mountains under a vibrant sunset sky, with realistic reflections on the water. Please generate a set of 5 images.",
"size": "3840x2160",
"max_images": 5
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/doubao/seedream-4.0/text-to-image-sequential", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "A serene landscape featuring a crystal-clear lake surrounded by snow-capped mountains under a vibrant sunset sky, with realistic reflections on the water. Please generate a set of 5 images.",
"size": "3840x2160",
"max_images": 5
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Documentation
Seedream V4 Sequential
State-of-the-art text-to-image generation with sequential consistency and ultra-high resolution.
Seedream V4 Sequential by Bytedance is a cutting-edge text-to-image model designed for generating high-quality 4K images with exceptional character/object consistency across sequential multi-image sets. This model is optimized for rapid iteration, precise editing, and cross-image coherence, making it ideal for commercial design, entertainment, and creative industries. With ultra-fast inference times and no cold starts, Seedream V4 Sequential ensures seamless performance at an affordable price.
🚀 Key Features
- Sequential Consistency: Maintains identity, palette, and layout across multi-image sets for cohesive results.
- Ultra-High Resolution: Supports up to 4K image generation, ensuring exceptional detail and clarity.
- Precise Editing: Enables attribute changes, object additions/removals, and structural edits like face swaps or texture modifications.
- Rapid Inference: Generates 2K images in as little as ~1.8 seconds, ensuring fast turnaround times.
- Multi-Modal Capability: Handles text-to-image, editing, and sequential generation tasks within a single pipeline.
- Affordable Pricing: Competitive pricing at $0.03 per image, making it accessible for various use cases.
🛠️ Technical Specifications
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
| Prompt | String | - | - | The positive prompt for the generation. |
| Size | String | 2048×2048 | 512×512 ~ 8192×8192 | Supports up to 4K resolution. Explicit dimensions required for custom sizes. |
| Max Images | Integer | 1 | 1 ~ 15 | Maximum number of images per generation. |
| Enable Base64 Output | Boolean | False | - | Outputs encoded as BASE64 strings if enabled. |
| Enable Sync Mode | Boolean | False | - | Waits for result generation before returning the response. |
Sample Prompts
- Instruction Edit: Replace [A] with [B]; keep [lighting/style]; preserve [logo/identity].
- T2I Coherent: A [subject] in [scene/time/weather], [camera/lens], [lighting], [style]; key props [X]; composition [framing].
- Sequential Set: Generate a series of [N] images of [subject/brand] in [scenario]; keep consistent [palette/logo/identity]; vary [poses/angles/backgrounds].
💰 Pricing
| Resolution | Price per Image |
|---|---|
| Up to 4K | $0.03 |
Total price = max_images × $0.03
💡 Best Use Cases
- Commercial Design: Create posters, apparel designs, packaging visuals, and e-commerce assets with brand-safe edits.
- Entertainment IP: Generate style-consistent anime or film characters, key art, and poses.
- Art Creation: Produce high-resolution illustrations and stylistic explorations with coherent aesthetics.
- Architecture: Develop concept renders, façade studies, and material/lighting variations across sets.
🔗 Related Models
- Seedream V4 Edit Sequential: Focused on advanced editing capabilities.
- Seedream V4.5: Enhanced version with additional features and higher performance.
Related models
xAI Grok Imagine Image v2.0 Text to Image
xAI Grok Imagine Image V2.0 Text-to-Image generates high-quality images from text prompts, with configurable aspect ratio, resolution, and quality for creative visuals, social content, marketing assets, and production workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Qwen Image 3.0 Pro Text to Image
Qwen Image 3.0 Pro is a professional-grade text-to-image model with superior quality and advanced prompt understanding. Up to 2k. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
OpenAI GPT Image 2 Text-to-Image
OpenAI's GPT Image 2 Text-to-Image generates high-quality images from natural-language prompts. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
OpenAI GPT Image 2 Edit
OpenAI's GPT Image 2 Edit enables image editing from natural-language instructions with one or more reference images. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Nami Z-Image T2I Spicy
Generate an image from a text prompt with configurable width, height, prompt enhancement, and seed.
Nano Banana Text to Image
Gemini 2.5 Flash Image. Lightweight and fast. The most affordable option for instant, high-volume generation.
Nano Banana Pro Text to Image
Gemini 3.0 Pro Image. The high-fidelity choice for 4K visuals, multilingual text rendering, and pro camera controls.
Nano Banana Pro Text to Image
Gemini 3.0 Pro Image. The high-fidelity choice for 4K visuals, multilingual text rendering, and pro camera controls.