API docs / Image models

Seedream 5 Pro (Edit image) API

Edit an uploaded image with the Pro model.

Model id
bytedance/seedream/v5/pro/edit
Provider
ByteDance
Output
Image
Price
From 48 credits per run, the same as on voor.ai. Options such as length or resolution can change it.

Request

POST https://voor.ai/v1/generations with "model": "bytedance/seedream/v5/pro/edit". Poll GET /v1/tasks/{id} or receive the signed webhook. See the overview for keys, idempotency, webhooks and errors.

curl https://voor.ai/v1/generations \
  -H "Authorization: Bearer $VOOR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "bytedance/seedream/v5/pro/edit",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light",
    "reference_images": [
      "https://example.com/input.png"
    ]
  },
  "callback_url": "https://example.com/webhooks/voor"
}'

# Then poll the task (or wait for the webhook):
curl https://voor.ai/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $VOOR_API_KEY"

Input parameters

NameTypeDetails
promptrequiredstring

The text prompt used to edit the image.

reference_imagesrequiredarray of URLs

List of URLs of input reference images. Up to 10 images are supported; if more are sent, only the last 10 are used.

Up to 10 files · Accepts image/*

aspect_ratiostring

The size of the generated image. Total pixels must be between 1024x1024 and 2048x2048, with aspect ratio between 1/16 and 16.

Default: auto_2K

One of: 1:1 (HD), 1:1, 3:4, 9:16, 4:3, 16:9, auto_1K, auto_2K

output_countnumber

Number of separate model generations to run with the prompt.

Default: 1

Min 1 · Max 6

output_formatstring

The file format of the generated image.

Default: jpeg

One of: jpeg, png