How do I call this fixed version?
Send a POST request to /seedream/images, use the full model value doubao-seedream-5-0-lite-260128, and provide a prompt. For editing tasks, also include image. Do not use abbreviations such as doubao-seedream-5.0-lite in place of the full model name.
How do I submit reference images, and how should I describe multiple images?
image can use an image URL or Base64, and multiple images can be submitted as an array. The prompt should clearly specify the role of each reference image, such as the subject's appearance, composition, or style, and explain which parts need to be preserved and modified. This makes it easier to organize the task than simply uploading images without stating the editing goal.
How do I generate a set of related images?
Set sequential_image_generation to auto, and specify the series theme and variations for each image in the prompt; use max_images to control the maximum number. If you only want regular single-image output, use disabled. Final delivery is based on the actual returned image results.
How should I choose between 4K and custom aspect ratios?
When you need a preset resolution, use 2K, 3K, or 4K, and describe requirements such as landscape or portrait orientation in the prompt. When you need specific width and height, use a pixel dimension string, but it must meet the model's size range. Do not assume that 4K means any width and height combination can be generated.
What does streaming output return, and how are background tasks handled?
When stream is enabled, use NDJSON to receive success or failure events for each image, and wait for the final completion event. For background tasks, use async to obtain task_id, then query /seedream/tasks, or use a callback to receive results; these methods cannot be used together with streaming.