POST /api/v1/images/generations with model: seedream-5-flash for text-to-image, or add up to 10 reference images in image_list for image-to-image. Each request returns a single image, and 1K, 1.5K and 2K all cost the same.POST /api/v1/images/generations with model: seedream-5-flash for text-to-image, or add up to 10 reference images in image_list for image-to-image. Each request returns a single image, and 1K, 1.5K and 2K all cost the same.
image_list as [{"url": "https://…"}], each up to 30MB, for image-to-image or editing. References are free: a 2K image with 3 references still costs 1.11 tokens ($0.0222).
background: transparent with exactly one input PNG that already has transparent pixels to keep its alpha channel. Output is PNG. It preserves transparency you already have; it does not remove backgrounds.
ratio is auto (default) or 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 9:21. image_size defaults to 2K because 1K and 1.5K cost the same.
seedream-5-flash. To split an image into layers use seedream-5-flash-layers.ratio: auto (default), 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9 or 9:21. image_size: 1K, 1.5K or 2K (default).opaque (default) or transparent. Transparent needs exactly one input image that is a PNG with transparent pixels; combining it with output_format: jpeg is rejected.jpeg (default) or png; defaults to png when background is transparent.1K, 1.5K and 2K, which is why 2K is the default.image_list does not change the price of the output.background: transparent and output_format do not affect pricing.cost in the response shows the amount actually charged.{"model": "seedream-5-flash", "prompt": "…", "ratio": "16:9"} and add image_list when the user supplies reference images./api/v1/images/generations and save the returned img_uuid and cost.GET /api/v1/jobs/detail or use custom_callback_url; download the image before link_expired_at, 24 hours after completion.POST https://api.goenhance.ai/api/v1/images/generations with model: seedream-5-flash.
Always a single image, whether or not you pass reference images.
No. background: transparent only keeps alpha that already exists in a single PNG input. For cut-outs from opaque photos, use a background-removal model.
1K, 1.5K and 2K all cost 1.11 tokens ($0.0222), so the largest tier is the default.
Up to 10 images, each up to 30MB, passed as URLs in image_list. They are free.
Use the separate seedream-5-flash-layers model, which splits one image into a base plus up to 16 transparent layers.