MuseSpark
MuseSpark
Models & toolsImage models

Seedream 5.5 API guide

Seedream 5.5 API: ByteDance image generation and editing with up to 10 references, 1K to 2K output, and transparent PNG backgrounds.

Model overview

ByteDance image generation and editing with up to 10 references, 1K to 2K output, and transparent PNG backgrounds.

API integration

DocumentationValue
API invocation identifierseedream-5-5
IntegrationAsync task API

Use this invocation identifier in API requests. Check your authorized model catalog for access. Follow the Quickstart for your first complete call.

Request parameters

Select a mode to highlight its required inputs. Mode selection does not change the API field names.

Studio presets describe the form setup, not guaranteed server defaults. Send preset values explicitly to reproduce them.

promptstringNon-nullRequired

Describe the image to generate or how the reference images should be edited.

Length: minimum 1.

imagesarray<string>Non-nullConditional

Required for Image to Image.

Additional requirements depend on other values. See model rules.

Up to 10 publicly accessible HTTP(S) image URLs or complete lowercase image Data URIs. JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC or HEIF; each at most 30 MiB and 36 million pixels. Every reference image is billed, including the first.

Item count: minimum 1; maximum 10.

resolutionstringNon-nullOptional

Choose an output resolution of 1K, 1.5K, or 2K.

Allowed values: "1K", "1.5K", "2K".

Studio preset: "1.5K".

aspect_ratiostringNon-nullOptional

Output image aspect ratio. Auto lets the model choose from the prompt or reference images.

Allowed values (11)

Allowed values: "auto", "1:1", "4:3", "3:4", "16:9", "9:16", "3:2", "2:3", "2:1", "1:2", "21:9".

Studio preset: "auto".

backgroundstringNon-nullOptional

Background treatment. Transparent output is supported with or without references and requires PNG.

Allowed values: "auto", "opaque", "transparent".

batch_sizeintegerNon-nullOptional

Standard quantity control field. The allowed range for this item is 1-15.

Repeats MuseSpark execution within one logical task. This is separate from a model-native output count.

Value: minimum 1; maximum 15.

Studio preset: 1.

nsfw_checkbooleanNon-nullOptional

Enable pre-submission content moderation. The default is false.

watermarkbooleanNon-nullOptional

Add an AI generated watermark in the lower-right corner.

Studio preset: false.

optimize_prompt_optionsobjectNon-nullOptional

Prompt optimization options. The supported mode is standard.

layer_decompositionbooleanNon-nullOptional

Layer decomposition is not enabled for this item; use standard generation or reference editing.

Allowed values: false.

Studio preset: false.

output_formatstringNon-nullOptional

PNG or JPEG. Transparent backgrounds require PNG. Omit to use the provider default.

Allowed values: "png", "jpeg".

No parameters match. Clear the search or reset the filters.

Model rules

Input modes

Select a mode by supplying its required public inputs. The mode identifier describes a documentation/form choice; do not send input_mode as a model parameter.

ModeRequired inputs
Text to ImageNo reference media required
Image to Imageimages
  • When the input mode is Text to Image, omit images.
  • When the input mode is Image to Image, provide images; keep images, when supplied, at least 1 and at most 10 items.
  • When background is "transparent", use png for output_format.

Parameter meaning

  • When setting optimize_prompt_options, supply mode as standard.

Dependencies

  • Use PNG when setting background to transparent. Transparency works for text generation and reference editing.

Reference media

  • Image to Image: Each reference image is limited to 30 MiB and 36 million pixels. Check the total pixel count for the image.

batch_size controls repeated MuseSpark executions. Output grouping, sequential image generation, and video shot count are separate concepts.

Request examples

Replace example media URLs and YOUR_... input identifiers with your own valid resources. Examples are checked against the exported item schema; media access and paid execution are separate runtime checks.

Set MUSESPARK_API_KEY and a stable MUSESPARK_REQUEST_ID before submitting. Preserve the request ID for retries of the same request and use a new ID for new work. Python examples use requests; JavaScript examples use Node.js 20 or later. The standalone Quickstart includes task polling and recovery.

Image to Image

curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
  -H "Authorization: Bearer $MUSESPARK_API_KEY" \
  -H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
  -H 'Content-Type: application/json' \
  -d '{
  "item_key": "seedream-5-5",
  "parameters": {
    "watermark": false,
    "batch_size": 1,
    "resolution": "1.5K",
    "aspect_ratio": "auto",
    "layer_decomposition": false,
    "prompt": "A paper city under soft morning light",
    "images": [
      "https://example.com/input-1.png"
    ]
  }
}'

Parameters used: watermark · batch_size · resolution · aspect_ratio · layer_decomposition · prompt · images.

Generate a transparent PNG

curl --fail-with-body 'https://api.musespark.ai/api/v1/openapi/task' \
  -H "Authorization: Bearer $MUSESPARK_API_KEY" \
  -H "X-Idempotency-Key: $MUSESPARK_REQUEST_ID" \
  -H 'Content-Type: application/json' \
  -d '{
  "item_key": "seedream-5-5",
  "parameters": {
    "watermark": false,
    "batch_size": 1,
    "resolution": "1.5K",
    "aspect_ratio": "auto",
    "layer_decomposition": false,
    "prompt": "A single orange cat sticker with clean edges, centered on a transparent background",
    "background": "transparent",
    "output_format": "png"
  }
}'

Parameters used: watermark · batch_size · resolution · aspect_ratio · layer_decomposition · prompt · background · output_format.

Output

Creation returns a task ID inside data. Poll that task until completion, then save data.result.output_urls and any data.result.batch_results. See the task lifecycle for terminal states, result retention, and errors.

Troubleshooting

For rejected inputs, check the field type, accepted values, and conditional requirements in Request parameters and Model rules. Correct the affected fields before submitting again.

If creation times out, preserve the request identity and any known task ID. Follow Errors, timeouts and retries before submitting again.

The public input snapshot was exported on 2026-11-27. Current prices and availability are listed in the model center.