Skip to content

Bytedance Seedream V4.5 Edit

Integrate

Model id bytedance/seedream/v4.5/edit
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedream/v4.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

This request: $0.04 40 API credits Run it on this page

Get API key
ByteDance Image Editing 4K output #stylized#transform

Edits one or more reference images from a text instruction, up to 10 inputs, with 2K/4K output sizes

ByteDance · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text instructions for editing the image.

•required image_urls
Drop a file, or

Editing image URLs, processed from the last 10 entries if a longer list is submitted; the current input limit is 10 images.

image_size default {"height":2048,"width...

Generated image size must satisfy either of two conditions: a total pixel count from 2560*1440 through 4096*4096, or width and height each within 1920–4096.

num_images default 1

Count of independent model generation runs using the prompt.

default 1

Set the per-generation image ceiling with `max_images`; values above one enable multi-image generation. Across `num_images` generations, each may return up to `max_images` images, giving a total output count from `num_images` through `max_images*num_images`. No more than 15 images may be used across inputs and outputs combined.

Advanced seed · enable_safety_checker

Random seed governing randomness during image generation.

POST /run/bytedance/seedream/v4.5/edit?wait=20 quote → $0.04
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedream/v4.5/edit?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://vit.doitong.com/api/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Bytedance Seedream V4.5 Edit

Image editing variant of Seedream 4.5. Pass a `prompt` and `image_urls` (up to 10 images; if more are sent only the last 10 are used). `image_size` accepts presets such as square_hd, portrait_16_9, auto_2K and auto_4K, or a custom width and height. `num_images` and `max_images` each go up to 6 for multi-image output.

Parameters

Send either the canonical name or the native name, not both. Canonical names

NameType DefaultAllowed Description
promptrequired
Typestring
Text instructions for editing the image.
image_sizeoptional
Typeobject
Default{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
Generated image size must satisfy either of two conditions: a total pixel count from 2560*1440 through 4096*4096, or width and height each within 1920–4096.
num_imagesoptional num_outputs
Typeinteger
Default1
1 – 6
Count of independent model generation runs using the prompt.
max_imagesoptional
Typeinteger
Default1
1 – 6
Set the per-generation image ceiling with `max_images`; values above one enable multi-image generation. Across `num_images` generations, each may return up to `max_images` images, giving a total output count from `num_images` through `max_images*num_images`. No more than 15 images may be used across inputs and outputs combined.
seedoptional
Typeinteger | null
Random seed governing randomness during image generation.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Safety-checking switch whose off setting requires account authorization. Without that authorization, every request is checked regardless of the setting; true enables the checker.
image_urlsrequired images
Typeurl[] · image
Editing image URLs, processed from the last 10 entries if a longer list is submitted; the current input limit is 10 images.
required Canonical name, also accepted

File parameters take a public https:// URL, a data: URI up to 10 MB, or the file_url of an upload. Files

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/edit",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ]
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
images
array of object {url, content_type, file_name, file_size, width, height}Images produced by the model.

More models: Image Editing

For AI agents: this page as Markdown is at https://doitong.com/developers/models/bytedance/seedream/v4.5/edit.md. All models and guides: https://doitong.com/developers/llms.txt