MuseSpark
MuseSpark
Models & toolsImage models

Seedream 5.0 Pro Spicy API guide

Seedream 5.0 Pro Spicy API: Generate images from text or reference images with Seedream 5.0 Pro Spicy. This item exposes resolution, aspect ratio, batch quantity, and watermark controls; use its own field definitions when constructing requests.

Model overview

Generate images from text or reference images with Seedream 5.0 Pro Spicy. This item exposes resolution, aspect ratio, batch quantity, and watermark controls; use its own field definitions when constructing requests.

API integration

DocumentationValue
API invocation identifierseedream-5-0-pro-spicy
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.

imagesarray<string>Non-nullConditional

Required for Image Editing and References.

Additional requirements depend on other values. See model rules.

Reference image URLs or data URIs; at most 10 images.

Item count: minimum 1; maximum 10.

resolutionstringNon-nullOptional

Output image resolution: 2K.

Allowed values: "2K".

Studio preset: "2K".

aspect_ratiostringNon-nullOptional

Choose one of the seven supported output aspect ratios.

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

Studio preset: "1:1".

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.

watermarkbooleanNon-nullOptional

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

Studio preset: false.

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 Editing and Referencesimages
  • When the input mode is Text to Image, omit images.
  • When the input mode is Image Editing and References, provide images; keep images, when supplied, at least 1 items.

Parameter meaning

  • Text to Image: Describe the scene or requested edit in natural language. Keep the prompt within 10,000 characters and any narrower field limit shown above.
  • Image Editing and References: Describe the scene or requested edit in natural language. Keep the prompt within 10,000 characters and any narrower field limit shown above.

Dependencies

  • Text to Image: Use resolution=2K and aspect_ratio to select the output size. Free-form pixel dimensions are unavailable for this item.
  • Image Editing and References: Use resolution=2K and aspect_ratio to select the output size. Free-form pixel dimensions are unavailable for this item.

Reference media

  • Image Editing and References: Supply up to 10 reference URLs in the declared field, using common images formats with a 30 MB limit per file. Stay within any narrower field limit shown above.

Integration notes

Use the following field formats and values in MuseSpark requests.

  • resolution, aspect_ratio: Use resolution=2K and the declared aspect_ratio. This item does not accept output_format or free-form pixel dimensions.

Unsupported parameters

background, layer_decomposition are unavailable for this item. Adding these fields to a request does not enable the corresponding features.

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.

Text 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-0-pro-spicy",
  "parameters": {
    "watermark": false,
    "batch_size": 1,
    "resolution": "2K",
    "aspect_ratio": "1:1",
    "prompt": "A paper city under soft morning light"
  }
}'

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

Image Editing and References

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-0-pro-spicy",
  "parameters": {
    "watermark": false,
    "batch_size": 1,
    "resolution": "2K",
    "aspect_ratio": "1:1",
    "prompt": "A paper city under soft morning light",
    "images": [
      "https://example.com/input-1.png"
    ]
  }
}'

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

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-09. Current prices and availability are listed in the model center.