Seedream picture model
Access the Seedream picture model according to the actual model and channel configuration of this site.
Seedream is generated and edited using the Image License. The Beanbao plug-in of this site declares a native image entry, and some models can also be accessed through the unified image endpoint.
Step 1: Select an available version
Query the exact model ID using the current Key, confirm dimensions, reference drawings, output format and price. Aliases in third-party pages cannot be used directly on this site.
Step 2: Native minimum request
curl --fail-with-body https://dunduntoken.com/doubao/api/v3/images/generations -H "Authorization: Bearer $DUNDUN_API_KEY" -H "Content-Type: application/json" -d '{"model":"SEEDREAM_MODEL_ID","prompt":"简洁白底产品照片,一只蓝色陶瓷杯"}'
The native fields, sizes and reference image forms are checked according to the corresponding versions. Do not request the video content array directly as an image.
Step 3: Save synchronization results
Read the real response image and transfer it in time. The site’s native synchronized image routing does not save complete results for later re-query, and should not rely on image creation IDs to restore the payload afterwards. For unified image saving methods, see Image Generation.
Streaming and Editing
When the native model supports stream, it is processed according to the supplier’s image event format and is not parsed according to Chat delta. When editing is required, first verify the reference image fields and quantities, and then add batch and high resolution items one by one. Unifying images/edits only works for declared supported model combinations.
FAQ
404 Check the plug-in and path; 400 Check the model ID and parameters; check the actual image load when there is only text or empty results; the client times out and checks the record first, and does not immediately resend in batches.