API docs / Image models
Seedream 5 Flash (Edit image) API
Edit up to 10 reference images with Seedream 5 Flash.
- Model id
bytedance/seedream/v5/flash/edit- Provider
- ByteDance
- Output
- Image
- Price
- From 10 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/flash/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/flash/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
| Name | Type | Details |
|---|---|---|
promptrequired | string | Say what to change and list what must stay the same. |
reference_imagesrequired | array of URLs | Up to 10 images. The first image is the one being edited. Up to 10 files · Accepts image/* |
aspect_ratio | string | Aspect preset or an automatic 1K/2K canvas. Total output area stays between roughly 1 and 4.2 megapixels; the price is the same at every size. Default: One of: 1:1 (HD), 1:1, 3:4, 9:16, 4:3, 16:9, auto_1K, auto_2K |
output_format | string | The file format of the generated image. Default: One of: jpeg, png |