Lumina AIModel guides

Seedream 5.5 layer decomposition API integration

Separate a poster into reviewable layers with seedream-v5.5/layer-decomposition. Prepare the assets, submit the request and check the result.

Separate a poster into reviewable layers

Start with a flattened poster at its original dimensions. Keep it as a comparison image. Open the returned layers individually, then stack them and check lettering, translucent objects and shadows against the original.

Production settings

For packaging with written instructions, keep the approved copy nearby. Compare trials of the text-recognition option, then read the brand name and small print at the final display size.

Submit the task

Set LUMINA_API_KEY on the server to an API key that can call this model. Replace each example media URL with an HTTPS link that serves the actual file.

curl -sS -X POST 'https://luminaai.cloud/lumina/v1/images/layers' \
  -H "Authorization: Bearer $LUMINA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-binary @- <<'JSON'
{
  "model": "seedream-v5.5/layer-decomposition",
  "image": "https://example.org/reference.png"
}
JSON

Fields for this request

FieldType, limits or values
imagestring
sizeauto / 1K / 1.5K / 2K · default "auto"
output_formatpng / jpeg · default "png"
num_imagesmin 2 · max 100 · default 30

Retrieve the result

Save the id from the submission response. Replace TASK_ID below with that value and use the same key. If the status is IN_PROGRESS, poll this task again.

curl -sS 'https://luminaai.cloud/lumina/v1/tasks/TASK_ID' \
  -H "Authorization: Bearer $LUMINA_API_KEY"

Once the task reaches SUCCESS, inspect the returned layers and artifact list. Save the files to your project and check the composite at the original dimensions.