APIMart
Seedream5.5 model icon
Image

Seedream5.5 API

Explore Seedream5.5 API workflows for image generation, precise edits, multilingual text, and multi-image composition. Use this APIMart workspace to organize prompts and references, then review the API examples and parameter table below.

Image generation & editingMultilingual textPrecise local changes

Seedream5.5 API workspace

  • 1K, 1.5K, 2K, aspect ratios, and custom pixels
  • Up to 10 references; one for transparency or layers
  • JPEG / PNG, prompt optimization, and output settings
Input

Describe the subject, composition, lighting, and any text to include.

Reference images

Up to 10 references, or one for transparency or layer separation. Local files: JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, or HEIF, up to 30 MB each. Use public HTTP(S) URLs or complete image data URIs in JSON; local files remain browser previews.

Reference images: each side greater than 14 px, width-to-height ratio 1/16–16, and at most 36,000,000 total pixels. Transparent backgrounds require an input with an alpha channel.

Output

Your generated images will appear here

Create a clear visual brief with Seedream5.5 API

Prepare a Seedream5.5 API draft for a new scene or a focused edit. Define the subject, light, and composition, then separate requested changes from details to preserve.

Seedream5.5 API examples: text to image and image editing

The Seedream5.5 API examples use APIMart’s common asynchronous task format with prompts, references, size, resolution, and output options. Use the returned task ID for a separate result query.

  1. 1

    Set up your API key

    Save your APIMart API key as APIMART_API_KEY. The Seedream5.5 API examples use Authorization: Bearer <key> for both submission and task queries.

  2. 2

    Build the Seedream5.5 API request

    The example uses POST /v1/images/generations with model set to seedream-5.5, a prompt, size, resolution, and output_format. Add image_urls for editing. Read the task ID from data[0].task_id.

  3. 3

    Read the API task result

    Use GET /v1/tasks/{task_id}. For a completed task, read data.result.images[0].url[0]; for a failed task, read data.error.message.

    See the APIMart documentation for APIMart authentication and general API usage.

POST /v1/images/generations
curl -X POST https://api.apimart.ai/v1/images/generations \
  -H "Authorization: Bearer $APIMART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "seedream-5.5",
    "prompt": "An editorial product poster featuring a white ceramic cup on a pale wooden table, soft side lighting, headline \"MORNING RITUAL\" at the top, clear typography and generous whitespace.",
    "size": "16:9",
    "resolution": "1.5K",
    "output_format": "png"
  }'

Seedream5.5 API parameters

ParameterTypeRequiredDefaultDescription
modelstringRequiredDefault: seedream-5.5The model value in this Seedream5.5 API workspace and its examples: seedream-5.5.
promptstringRequiredDefault: —Your Seedream5.5 instruction: describe a new image, or identify edits and details to preserve. Optional when layer_decomposition is true.
sizestringOptionalDefault: 1:1Workspace default: 1:1. Choose auto; 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 2:1, 1:2, 21:9; a tier (1K, 1.5K, 2K); or custom pixels such as 2048x1024. Custom sizes require 921,600–4,624,220 total pixels and a width-to-height ratio of 1/16–16.
resolutionstringOptionalDefault: 1KSeedream5.5 API draft resolution: 1K, 1.5K, or 2K. Applies when size is a ratio or auto. Omitted for tier or pixel sizes and for layer decomposition.
image_urlsarrayOptionalDefault: —Up to 10 reference images as public HTTP(S) URLs or complete base64 image data URIs. JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, and HEIF; up to 30 MB each. Use an aspect ratio of 1/16–16, each side greater than 14 px, and at most 36,000,000 total pixels. Transparency or layer decomposition uses exactly one reference. Local blob URLs are browser previews.
output_formatstringOptionalDefault: jpegOutput format: jpeg or png. Selecting a transparent background in Form automatically selects PNG.
backgroundstringOptionalDefault: opaqueopaque or transparent. A transparent background requires exactly one input image with an alpha channel and PNG output.
layer_decompositionbooleanOptionalDefault: falseSplit one PNG or JPEG reference into a base image and transparent layers. In this mode, size accepts only auto, 1K, 1.5K, or 2K; prompt is optional and resolution is omitted.
optimize_prompt_optionsobjectOptionalDefault: OmittedOptional prompt optimization: {"mode":"standard"}. The workspace defaults to Off, which omits this field.
watermarkbooleanOptionalDefault: falseWhether to add an AI-generated watermark to the output image.
nsfw_checkbooleanOptionalDefault: falseWhether to moderate the prompt and input images before processing the API task.
nintegerOptionalDefault: 1Normal generation produces one image. JSON accepts only n: 1; the workspace omits it from its normalized configuration.