API docs / Image models

Seedream 5 Lite (Text to image) API

Create an image from a text prompt.

Model id
bytedance/seedream/v5/lite/text-to-image
Provider
ByteDance
Output
Image
Price
From 13 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/lite/text-to-image". 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/lite/text-to-image",
  "input": {
    "prompt": "A red fox standing in fresh snow at golden hour, soft light"
  },
  "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 generate the image

reference_imagesarray of URLs

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.

Up to 10 files · Accepts image/*

aspect_ratiostring

The size of the generated image. Total pixels must be between 2560x1440 and 4096x4096. In case the image size does not fall within these parameters, the image size will be adjusted to by scaling.

Default: auto_2K

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

output_countnumber

Number of separate model generations to be run with the prompt.

Default: 1

Min 1 · Max 6

max_imagesnumber

If set to a number greater than one, enables multi-image generation. The model will potentially return up to `max_images` images every generation, and in total, `num_images` generations will be carried out. In total, the number of images generated will be between `num_images` and `max_images*num_images`.

Default: 1

Min 1 · Max 6