WaveSpeedAI APIBytedanceBytedance Seedream V4 Edit Sequential

Bytedance Seedream V4 Edit Sequential

Bytedance Seedream V4 Edit Sequential

Playground

Try it on WavespeedAI!

Seedream 4.0 is a state-of-art image model by Bytedance. Seedream 4.0: Surpassing nano banana
in every aspect.

Features

Seedream 4.0 is a state-of-art image model by Bytedance. Seedream 4.0: Surpassing nano banana in every aspect.

Multi-modal image generation support: Seedream 4.0 is the first to support multi-modal image generation, enabling text-to-image, image-editing, and group image generation with a single model.

Outstanding model advantages: It features five major highlights: precise instruction editing, high feature retention, deep understanding ability, ultra-fast inference speed, and ultra-high-resolution output. For example, it takes as little as 1.8 seconds to generate a 2K image in text-to-image mode.

Diverse scene applications: Covers various scenarios such as commercial design (including posters, brand clothing, packaging, e-commerce, etc.), entertainment (such as anime and movie roles), fine art, architectural design, and more. It supports various complex editing operations, such as object addition and deletion, attribute change, style change, structural adjustment (e.g., face swapping), etc.

Prompt writing guide: Use clear and specific instructions following the formula of “change action + change object + target feature.” While generating multiple images, use words like “a series of,” “group of images” to maintain consistency.

Text-to-image writing guide: The image content in coherent natural language and group images for a specific scene description. Use professional vocabulary in its original language and special image terms to match the scene description.

Problem self-check list: Identify common problems such as incorrect instructions, inadequate description, missing details, or redundant instructions. It recommends rechecking image editing objects, and insufficient aesthetic effects, and enhancing background consistency.

Rich editing functions: It includes style/image editing (element addition and deletion, frame/brush editing, style transformation, texture replacement, etc.), structural editing (object structure modification, object reshaping, etc.), and feature editing (color tone, detail transformation, attribute adjustment, etc.).

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/bytedance/seedream-v4/edit-sequential" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "size": "2048*2048",
    "max_images": 1,
    "enable_base64_output": false,
    "enable_sync_mode": false
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-The prompt to generate an image from.
imagesarrayNo[]-The image to edit, can be a URL or base64 encoded image.
sizestringNo2048*20481024 ~ 4096 per dimensionThe size of the generated media in pixels (width*height).
max_imagesintegerNo11 ~ 14The number of images to generate. max 14
seedintegerNo--1 ~ 2147483647The random seed to use for the generation. -1 means a random seed will be used.
enable_base64_outputbooleanNofalse-If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.
enable_sync_modebooleanNofalse-If set to true, the function will wait for the image to be generated and uploaded before returning the response. It allows you to get the image directly in the response. This property is only available through the API.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

© 2025 WaveSpeedAI. All rights reserved.