--- name: seedream-by-acedatacloud description: Use Seedream tools to generate or edit images, split an image into editable layers, and retrieve generation or edit results. license: Apache-2.0 --- # Seedream 1. Use `seedream_list_models` and `seedream_list_sizes` to check the model, output size and supported operation. Use `seedream_generate_image` for a new image. Use `seedream_edit_image` with the source image and a prompt describing the desired changes. 2. Use `seedream_decompose_image` for an editable base image and layers. Provide one supported PNG or JPEG and optional guidance about which elements to extract. Select a model that supports any requested layer count or text recognition. 3. Check current prices for generation, editing and decomposition before submitting a request. If the response includes a `task_id`, save it and use `seedream_get_task` or `seedream_get_tasks_batch` for status. Return any completed image and layer URLs. After a timeout, query the original task before submitting another request. See the [current service details](https://platform.acedata.cloud/services/seedream).