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

Seedream V4 Sequential example 1

Parameters

NameTypeDefaultConstraintsDescription
prompt *Prompttextarea≤ 5000 charsThe positive prompt for the generation.
sizeSizetext2048x2048≤ 500 charsThe 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 Imagesslider11 ~ 15 · step 1The 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

ParameterTypeDefaultRangeDescription
PromptString--The positive prompt for the generation.
SizeString2048×2048512×512 ~ 8192×8192Supports up to 4K resolution. Explicit dimensions required for custom sizes.
Max ImagesInteger11 ~ 15Maximum number of images per generation.
Enable Base64 OutputBooleanFalse-Outputs encoded as BASE64 strings if enabled.
Enable Sync ModeBooleanFalse-Waits for result generation before returning the response.

Sample Prompts

  1. Instruction Edit: Replace [A] with [B]; keep [lighting/style]; preserve [logo/identity].
  2. T2I Coherent: A [subject] in [scene/time/weather], [camera/lens], [lighting], [style]; key props [X]; composition [framing].
  3. Sequential Set: Generate a series of [N] images of [subject/brand] in [scenario]; keep consistent [palette/logo/identity]; vary [poses/angles/backgrounds].

💰 Pricing

ResolutionPrice 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
Text to ImageX Ai

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.

from $0.080 / per run
Qwen Image 3.0 Pro Text to Image
Text to ImageQwen Image 3.0 Pro

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.

from $0.080 / per run
OpenAI GPT Image 2 Text-to-Image
Text to ImageOpenAI

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.

from $0.660 / per run
OpenAI GPT Image 2 Edit
Text to ImageOpenAI

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.

from $0.660 / per run
Nami Z-Image T2I Spicy
Text to Image

Nami Z-Image T2I Spicy

Generate an image from a text prompt with configurable width, height, prompt enhancement, and seed.

from $0.020 / per run
Nano Banana Text to Image
Text to ImageGoogle

Nano Banana Text to Image

Gemini 2.5 Flash Image. Lightweight and fast. The most affordable option for instant, high-volume generation.

from $0.040 / per run
Nano Banana Pro Text to Image
Text to ImageGoogle

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.

from $0.140 / per run
Nano Banana Pro Text to Image
Text to ImageGoogle

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.

from $0.070 / per run
Seedream V4 Sequential API — Pricing, Playground & Docs | NamiFusion