Skip to main content
POST
Submit Seedream 5.5 Layerize Task
  1. After submission, a task_id will be returned. If you provided a callback_url, when the task status becomes finished or failed, a POST request will be sent to the callback_url.
  2. Regardless of whether callback_url is provided, you can retrieve the result through the unified Query Task Status endpoint.
Seedream 5.5 Layerize decomposes one flattened image, such as a poster, banner, UI mock-up or illustration, into a base image plus separate transparent layers. Each layer comes back as its own file with position and name metadata, ready to rearrange or edit. Turn on text_recognition to also get the recognized text of text layers. Seedream 5.5 is ByteDance’s image model. Vidgo exposes three model IDs: Text to Image, Image Edit and Layerize.

Models

  • bytedance/seedream-v5.5/layerize — Layer decomposition with Seedream 5.5, one input image, 2–100 output images.

Features

  • Split one image into 2–100 images: a base image plus separate layers.
  • Per-layer metadata: position and layer name in files[].layer.
  • Optional OCR for text layers with text_recognition.
  • Optional prompt to guide which elements to separate.

Required parameters

  • image_urls (string[]): Exactly one public HTTP(S) image URL.

Optional parameters

  • prompt (string): Guidance on which elements to separate, up to 2,000 characters.
  • resolution (string): auto, 1K, 1.5K or 2K. Default auto.
  • max_images (integer): Upper limit on returned images, base image included, 2–100. Default 30.
  • output_format (string): png or jpeg. Default png.
  • text_recognition (boolean): Add recognized text to text-layer metadata. Default false.
  • enable_safety_checker (boolean): Default true.

Output

The finished task returns the base image and the layers as separate entries in the files array of Query Task Status and the callback payload. Besides file_url and file_type, each entry carries a layer object with the layer’s position and name, plus its recognized text when text_recognition is true. The model decides how many layers to return, up to max_images.

Examples

  • Scene with OCR: separate the passengers, attendant, bench, window, wall sign and background of a railway waiting-room image, max_images: 8, 1K, text_recognition: true; the task returned 6 images (result).

Notes

  • Put model and callback_url at the request root, next to input. input accepts the fields listed above; other fields return 400.
  • Credits are reserved at submission for max_images images at the rate of resolution (auto uses the 2K rate), plus a charge for the input image. When the task returns fewer images than max_images, the difference is refunded on completion. A failed task is refunded in full. See the pricing page for current rates.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer VIDGO_API_KEY.

Body

application/json
model
string
required
Example:

"bytedance/seedream-v5.5/layerize"

input
object
required
callback_url
string<uri>

Optional webhook URL for completion or failure notifications.

Example:

"https://your-domain.com/callback"

Response

Task submission result. A task ID identifies asynchronous work; generation may still be running.

code
integer
required
Example:

200

data
object
required