acedatacloud/skills

seedream-image

Generate, edit, stream, or decompose images with Seedream 5.0 via AceDataCloud. Use for text-to-image, reference-image editing, related image sets, transparent-background edits, or editable layer extraction.

First seen Apr 6, 2026

Installation

$ npx skills add acedatacloud/skills --skill seedream-image

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from acedatacloud/skills · top by installs.

npx skills add acedatacloud/skills

Browse all from acedatacloud/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 17
License LICENSE
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.1
LicenseApache-2.0
CompatibilityRequires ACEDATACLOUD_API_TOKEN (see ../_shared/authentication.md). Optionally pair with mcp-seedream-pro or seedream-cli.
More metadata
author
acedatacloud
version
1.1

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,378 B
  • docs SUMMARY.md 226 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 219 installs

SKILL.md

Seedream Image

Use POST https://api.acedata.cloud/seedream/images. Authenticate with Authorization: Bearer $ACEDATACLOUDAPITOKEN and JSON request bodies.

Pick the model from the requested capability

Capability Seedream 5.0 Pro Seedream 5.0 Lite
Model ID doubao-seedream-5-0-pro-260628 doubao-seedream-5-0-260128 (alias: doubao-seedream-5-0-lite-260128)
Generate/edit one image Yes Yes
Reference images Up to 10 Up to 14
Related image set No Yes; input + output ≤ 15
Streaming / web search No Yes
Layer decomposition / transparent background Yes No
Prompt optimization standard, fast standard
Preset sizes 1K, 1.5K, 2K 2K, 3K, 4K

Seedream 4.5 and 4.0 remain available for compatibility. Do not send a parameter to a model that does not support it.

Generate or edit

curl https://api.acedata.cloud/seedream/images \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedream-5-0-260128",
    "prompt": "a four-panel storyboard of a courier crossing a rainy neon city",
    "size": "2K",
    "sequential_image_generation": "auto",
    "sequential_image_generation_options": {"max_images": 4},
    "watermark": false
  }'

For editing, add image as one URL/Base64 string or an array. responseformat is url or b64json; 5.0 Pro/Lite also support output_format as jpeg or png. Explicit dimensions use WIDTHxHEIGHT and must satisfy the selected model's pixel and aspect-ratio limits.

Use Lite web search only when current information matters:

{"tools": [{"type": "web_search"}]}

Transparent-background Pro edit

Use one transparent PNG input and PNG output:

{
  "model": "doubao-seedream-5-0-pro-260628",
  "prompt": "replace the parrot with a peacock",
  "image": "https://example.com/layer.png",
  "background": "transparent",
  "output_format": "png",
  "size": "1.5K"
}

Do not combine background with layer decomposition. transparent with JPEG is invalid.

Decompose an image into editable layers

layer_decomposition is Pro-only and requires exactly one PNG/JPEG. Omit prompt for automatic decomposition, describe desired elements in natural language, or use normalized <bbox> coordinates.

curl https://api.acedata.cloud/seedream/images \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedream-5-0-pro-260628",
    "image": "https://example.com/poster.png",
    "layer_decomposition": true,
    "size": "auto",
    "watermark": false
  }'

The response contains one base image (zindex: 0) and up to 16 transparent PNG layers. Each layer can include name, description, and boundingbox.absolute/normalized. To recompose, scale each layer to its bounding-box width and height, place it at left/top, and draw in ascending z_index. Any layer failure fails the whole decomposition.

Async tasks

Generation can take time. Prefer "async": true; the response returns task_id. Poll using:

POST /seedream/tasks
{"action": "retrieve", "id": "<task_id>"}

Follow [async task polling](../shared/async-tasks.md). Use callbackurl only when a real public webhook exists. Do not use a health endpoint as a fake callback.

Streaming

Lite/4.x support streaming. Send "stream": true with Accept: application/x-ndjson; read one normalized JSON event per line until imagegeneration.completed. Do not combine streaming with async or callbackurl.

  • imagegeneration.partialsucceeded: one generated image
  • imagegeneration.partialfailed: one failed item; other Lite images may still succeed
  • image_generation.completed: final usage and the only billing completion

Agent tools

  • MCP: pip install mcp-seedream-pro; use seedreamgenerateimage, seedreameditimage, seedreamdecomposeimage, then poll with seedreamgettask.
  • CLI: pip install seedream-cli; use seedream generate, seedream edit, seedream decompose, or seedream generate --stream --json.
  • Hosted MCP: https://seedream.mcp.acedata.cloud/mcp.

MCP image tools are asynchronous, so use REST or CLI for real-time streaming.

Result and billing safeguards

  • URL results expire; persist files promptly.
  • Lite data[] may mix successful images and per-item error objects. Count only successful images.
  • Pro layer items are billed individually by actual output size; the base and every successful layer count separately.
  • Preserve z_index, bounding boxes, item errors, tools, and usage; do not flatten the response to a URL list.
  • Never estimate final billed cost from requested size alone. Use the returned cost/usage and the live pricing page: https://platform.acedata.cloud/services/seedream?tab=pricing.