bytedance/seedream/4.0/edit
Seedream 4.0 Edit is Bytedance's intelligent image editing model. Transform, retouch, and reimagine existing images using text prompts - from background replacement to artistic style conversion.
PNG, JPEG, WebP, or GIF · 20 MiB maximum each
Example output — click Run to generate your own
Send your first request
OpenAI-compatible endpoint with unified authentication and usage tracking.
https://api.sandbase.ai/v1/runbytedance/seedream/4.0/editInput Schema
4 parameters · 1 required · 3 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Required | The text prompt used to edit the image |
seed | integer | Optional | Random seed to control the stochasticity of image generation. |
images | string[] | Optional | List of URLs of input images for editing. Presently, up to 10 image inputs are allowed. If over 10 images are sent, only the last 10 will be used. |
aspect_ratio | string | Optional | The aspect ratio of the generated image. · Options: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16 21:916:93:24:35:41:14:53:42:39:16 |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model uses asynchronous execution. Submit a request and poll for the result.
- Submit — POST to /v1/run, receive an
id - Poll — GET /v1/run/{id} until status is
completed,failed, ortimeout - Retrieve — Read
outputsfrom the completed response
Code Examples
Ready-to-run snippets
# Step 1: Submit
curl -X POST https://api.sandbase.ai/v1/run \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "bytedance/seedream/4.0/edit",
"images": [
"https://static.sandbase.ai/examples/bytedance/seedream/4.0/edit/input_images_0.png",
"https://static.sandbase.ai/examples/bytedance/seedream/4.0/edit/input_images_1.png",
"https://static.sandbase.ai/examples/bytedance/seedream/4.0/edit/input_images_2.png",
"https://static.sandbase.ai/examples/bytedance/seedream/4.0/edit/input_images_3.png"
],
"prompt": "Dress the model in the clothes and hat. Add a cat to the scene and change the background to a Victorian era building."
}'
# Step 2: Poll result (replace <id>)
curl https://api.sandbase.ai/v1/run/<id> \
-H "Authorization: Bearer YOUR_API_KEY"API README
Bytedance Seedream 4.0 Edit
Bytedance Seedream 4.0 Edit is built for instruction-based image editing that preserves subjects while making substantial visual changes. It gives creative and production teams a focused way to move from an approved brief or source asset to a reviewable result without fragmenting the job across unrelated tools. The model is most valuable when visual intent, brand suitability, and downstream usability all matter, because its output can enter an editorial, campaign, product, or content pipeline as a purposeful asset rather than an isolated experiment.
In practice, teams can use Bytedance Seedream 4.0 Edit during a structured cycle of briefing, generation, comparison, and refinement. Establish the subject, audience, visual objective, and acceptance criteria first; prepare any reference media at suitable quality; then evaluate alternatives for composition, continuity, realism, and communication value before delivery. This workflow keeps creative judgment central while making repeated production easier to review, reproduce, and scale for the specific bytedance/seedream/4.0/edit task.
Highlights
Precise natural-language edits. Precise natural-language edits gives bytedance › seedream › 4.0 › edit a recognizable technical advantage: reviewers can assess this property directly in the generated asset instead of inferring it from request mechanics.
Multi-image reference support. bytedance › seedream › 4.0 › edit applies multi-image reference support to the visual or temporal result itself, helping artists make a meaningful quality decision during selection and refinement.
Character and object consistency. For bytedance › seedream › 4.0 › edit, character and object consistency supports coherent assets across the intended creative workflow and distinguishes this capability from a simple format or delivery option.
High-resolution visual refinement. The practical value of high-resolution visual refinement is visible in the finished media from bytedance › seedream › 4.0 › edit, where it supports repeatable art direction rather than merely exposing another request setting.
Pricing
| Billing basis | Price |
|---|---|
| Per request | $0.030000 |
When to Use
| ✅ Good fit | ❌ Consider alternatives |
|---|---|
| Use it when instruction-based image editing that preserves subjects while making substantial visual changes is the central production goal | Choose a different model when the required media task is fundamentally different |
| The team needs several reviewable creative alternatives | Exact deterministic reproduction is mandatory |
| Visual quality and practical downstream use both matter | Editable source layers or native project files are required |
| A managed generation step fits the delivery workflow | A live frame-by-frame interactive editor is essential |
| The documented inputs cover the available source assets | Required source media or controls fall outside the documented fields |
Prompt Guide
State the intended result first, then describe the subject, environment, action, visual treatment, and delivery constraints. Keep instructions concrete, avoid conflicting directions, and change one creative variable at a time when comparing outputs. For source-driven work, describe what should remain recognizable as clearly as what should change.
{
"images": [
"https://static.sandbase.ai/examples/bytedance/seedream/4.0/edit/input_images_0.png"
],
"prompt": "Dress the model in the clothes and hat. Add a cat to the scene and change the background to a Victorian era building."
}
Technical Specs
| Property | Details |
|---|---|
seed | Type / options: integer<br>Required: No<br>Description: Random seed to control the stochasticity of image generation. |
images | Type / options: array<br>Required: No<br>Description: List of URLs of input images for editing. Presently, up to 10 image inputs are allowed. If over 10 images are sent, only the last 10 will be used. |
prompt | Type / options: string<br>Required: Yes<br>Description: The text prompt used to edit the image |
aspect_ratio | Type / options: string · 21:9 / 16:9 / 3:2 / 4:3 / 5:4 / 1:1 / 4:5 / 3:4 / 2:3 / 9:16<br>Required: No<br>Description: The aspect ratio of the generated image. |
Related Models
bytedance/dreamactor/2.0bytedance/lynxbytedance/omnihuman/1.0

