Model parameters
- Model ID:
doubao-seedream-5.5 - Pricing: Check the Seedream 5.5 model page for current prices.
- Endpoint:
https://geekai.co/api/v1/images/generations - Parameters: See the Image API reference.
- Authentication: Get an API key.
The following Image API parameters are not supported:
negative_promptstrengthaspect_ratioqualitystyle_presetmask
image as URLs or Base64-encoded data. Supply up to 10 images, using an array for multiple images. Requirements:
- Supported formats: PNG, JPG, JPEG, WEBP, BMP, TIFF, and GIF.
- Each image must be no larger than 30 MB. The long-to-short side ratio must not exceed 16:1, and the short side must be greater than 14 px.
- Total pixels: 196–36,000,000, or 262,144–36,000,000 for layer separation.
layer_decomposition_options in extra_body to configure them. See Layer separation.
Seedream 5.5 does not have separate aspect ratio and resolution settings. Use size in one of two ways:
- Specify a resolution:
1K,1.5K,2K(default for regular generation), orauto(default for layer separation and only available in that mode). Describe the aspect ratio, shape, or intended use inpromptand let the model determine the dimensions. - Specify width and height in pixels. The default is
2048x2048(1:1). Use the following dimensions for other aspect ratios:
Set
output_format to png or jpeg to control the Seedream 5.5 output format. The default is png.
Use background to control whether Seedream 5.5 generates an image with an alpha channel:
auto: The model decides based on the prompt andoutput_format. If the output format isjpeg, the image will not have an alpha channel.transparent: Transparent background. Outputs an RGBA image.opaque: Opaque background. Outputs an RGB image without an alpha channel.
- Only supported for image-to-image generation, with a single input image containing an alpha channel.
- Transparent background mode outputs PNG by default. Setting
output_formattojpegin this mode returns an error. - Supplying an input format that does not support an alpha channel, such as JPEG, returns an error.
response_format to url or b64_json to control the Seedream 5.5 response format. The default is url.
Seedream 5.5 no longer supports image sets. Parameters for image sets have no effect.
To select the prompt optimization mode in GeekAI, use extra_body.prompt_extend_mode instead of the official optimize_prompt_options.mode. Alternatively, pass the official optimize_prompt_options object in extra_body. GeekAI accepts both; extra_body.optimize_prompt_options takes precedence.
Pricing
Seedream 5.5 pricing depends on the total output pixel count. Images below 2.61 million pixels cost 0.13 CNY each; those above 2.61 million cost 0.23 CNY each. Both 1K and 1.5K images have fewer than 2.61 million pixels, so they fall in the same price tier:
Input images also cost 0.05 CNY each. Total price = output price per image × number of outputs + input price per image × number of inputs.
When using a GeekAI discounted proxy channel, multiply the listed price by the applicable discount factor. For example, the high-availability Pro channel has a factor of
0.8. An image with size set to 1K costs 0.13 x 0.8 = 0.104 CNY. For layer separation, five output images and one input cost 0.13 x 0.8 x 5 + 0.05 x 1 = 0.57 CNY. Apply the same calculation to other settings.
Text-to-image generation
Give the model a clear, precise description to quickly generate a single high-quality image:Image-to-image generation
Doubao-Seedream-5.0-Pro can modify existing images to generate new ones. Pass one or more images inimage and describe the changes in prompt.
Single image
Layer separation
Doubao-Seedream-5.5 can split one image into a base image and up to 99 layers (30 by default). Pass"layer_decomposition": true in extra_body to enable layer separation:
layer_decomposition_options to set the maximum number of output layers and choose whether to enable OCR:
