{"id":116113,"plugin_id":"plugin_asdk_app_6ae37a13301c81919b3c62b884f60c6b","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-25T18:15:59.015Z","digest":"506d81e427348314fe14fbb9c242603a3e0596b6ef47c98581591cebf5dd11c2","against":null,"payload":{"description":"Use when generating or editing images with Seedream models on Scenario via MCP: text-to-image, image-to-image editing with reference images, posters or packaging with exact in-image text (non-Latin scripts too), subject-preserving edits, sets of related images in one run, editing a transparent asset without losing its alpha, or splitting an image into transparent PNG layers with Layerize. Keywords: Seedream 5.0 Pro, Lite, Flash, 4.5, Layerize, ByteDance, txt2img, img2img, layer extraction.","included_files":[],"name":"scenario-seedream","skill_md_contents":"---\nname: scenario-seedream\ndescription: \"Use when generating or editing images with Seedream models on Scenario via MCP: text-to-image, image-to-image editing with reference images, posters or packaging with exact in-image text (non-Latin scripts too), subject-preserving edits, sets of related images in one run, editing a transparent asset without losing its alpha, or splitting an image into transparent PNG layers with Layerize. Keywords: Seedream 5.0 Pro, Lite, Flash, 4.5, Layerize, ByteDance, txt2img, img2img, layer extraction.\"\nlicense: MIT\n---\n\n# Scenario Seedream Images\n\n## Overview\n\nSeedream, ByteDance's image family on Scenario, spans generation, reference-driven editing, and one\nmember that only takes images apart: Layerize splits a finished image into editable layers. The\nmembers agree on little else, so discover them with `search` and read `model_schema_get` before\nevery run.\n\nConnection and the core loop: see the `scenario` skill; model-agnostic image work: the\n`scenario-image` skill. If a sibling skill named here is missing from your available skills, load it\nwith `skill_get` (Scenario MCP) or ask the user to install it\n(https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag\nthe gap.\n\n## Quick reference\n\nAt authoring time (fields and caps are per member, read the live schema):\n\n| Member             | References                  | Sizing                                              | Notes                                                       |\n| ------------------ | --------------------------- | --------------------------------------------------- | ----------------------------------------------------------- |\n| 5.0 Pro            | `referenceImages`, up to 10 | exact `width` and `height`, 672 to 3136 px, step 16 | exact in-image text; 3500-char prompt                       |\n| 5.0 Lite           | `referenceImages`, up to 14 | `width` and `height`, up to 4K                      | fast and cheap; 2048-char prompt                            |\n| 5.0 Flash          | `referenceImages`, up to 10 | exact `width` and `height`, 672 to 3136 px, step 16 | cheapest; `background` keeps a reference's alpha            |\n| 4.5                | `referenceImages`           | `size` (2K, 4K) plus `aspectRatio` enum             | subject-preserving edits; `\"auto\"` ratio follows the source |\n| 5.0 Pro Layerize   | one `image`, required       | `size` tier: auto, 1K, 1.5K, 2K                     | splits, never generates; prompt optional                    |\n| 5.0 Flash Layerize | one `image`, required       | `size` tier: auto, 1K, 1.5K, 2K                     | same contract minus `optimizePromptMode`                    |\n\nOn the generators, mode follows from the inputs: empty `referenceImages` is text-to-image, one or\nmore is an edit or a multi-reference generation (with several, the prompt gives each reference a\nrole by position), and the array shape holds even for one asset. Sequence mode\n(`sequentialImageGeneration: \"auto\"` plus `maxImages`) lets Lite and 4.5 return a related set in one\nrun, input plus generated capped at 15 images; Pro has no sequence fields. Price per image differs\nwidely: a 2048 px square quoted 4 CU on Flash, 6 on Lite, and 18 on Pro at authoring time, and Pro\ntook about two minutes against under one, so iterate on the cheap members and spend Pro on finals;\n`dry_run` both before a batch (the estimate prices the run exactly as submitted, a whole sequence\nincluded). Pro and Pro Layerize carry `optimizePromptMode`: the default `standard` reasons about the\nprompt first and is slower; `fast` costs the same and is usually enough when a reference already\nsets the composition (on Layerize it trades some split fidelity for speed). Flash's schema says\n`width` and `height` apply only when Resolution is Custom, but Flash has no Resolution field: the\npixels apply directly.\n\n## Keeping a transparent asset transparent\n\nFlash's `background: \"transparent\"` preserves alpha through an edit; it does not cut a subject out.\nIt keeps the transparent surround, not translucency inside the subject: glass at alpha 170 came back\nnear-opaque in one authoring-time test, so composite a translucent part in post. The field defaults\nto `opaque`, so a restyle that omits it flattens a valid cutout: set it on every run that must stay\ntransparent. It applies only with exactly one reference image that already carries an alpha channel,\nand is ignored otherwise: a text-only run, a flattened JPEG reference, or two references all come\nback opaque without an error. So restyle or recolor an existing cutout (a sprite, an icon, a prop)\non Flash with the PNG as the one reference, and check the result's alpha on the downloaded file\nbefore shipping it, since `asset_display` composites transparency away: with Pillow\n(`uv run --with pillow` when it is missing), `Image.open(path).getchannel(\"A\").getextrema()` should\nstart at 0 (fully transparent pixels exist), and an image with no `A` channel was flattened. To get\na cutout in the first place, generate on a plain field and run background removal (the\n`scenario-image-editing` skill), or split the image with Layerize.\n\n## Write the exact copy into the prompt\n\nPro renders legible in-image text, multi-line layouts and non-Latin scripts included. Quote the\nexact strings in the prompt instead of paraphrasing them, give each a position and a size rank\n(headline across the top, date line small at the foot), and keep to a few elements at one or two\nsizes: letters are drawn, not typeset, so paragraphs and many small labels turn to shapes, and copy\npast that budget (tour dates, credits) is composited in post from the start. Proofread with\n`asset_display`; a word that garbles is spelled out letter by letter after the quoted string on the\nrerun, and one that still garbles goes to post. To swap copy on a reference, quote the new string,\npin its position, and require the original typeface, size and color with everything else unchanged.\n\n## Layerize: one image in, an editable stack out\n\nLayerize returns a base layer plus up to 16 transparent PNG cutouts, rebuilding the background\nbehind whatever it lifts. The prompt picks the mode: empty runs a full automatic split; an\nenumerated list of parts (\"Separate this poster into transparent layers: headline, product, shadow,\nbackground\") cuts better than \"all layers\"; `<bbox>x1 y1 x2 y2</bbox>` on a 0 to 1000 grid, origin\ntop left, confines the split to one region. Set `size` explicitly, since auto inherits the source's\ntier and the tier moves the price; cost is otherwise flat per run, not per layer. Layers come back\ncropped to their own bounds with bbox and z-index metadata, not aligned to the source canvas, and\nthere is no PSD export.\n\n## Worked example: a poster, then its layers\n\n1. `search` with `target=\"models\"`, `query=\"seedream\"`, `public=true`. Prefer the newest\n   non-deprecated hit for the job, e.g. `model_bytedance-seedream-5-0-pro` (a live hit at authoring\n   time: re-discover each session).\n2. `model_schema_get` with that id: sizing fields, caps, defaults.\n3. `model_run` with that id, `dry_run=true`, and\n   `parameters={\"prompt\": \"Concert poster, teal and cream, screen-print grain. Headline \\\"MIDNIGHT ORBIT\\\" across the top, date line \\\"Nov 14, Union Hall\\\" small at the foot.\", \"width\": 1600, \"height\": 2368}`;\n   both sizing fields move price.\n4. Rerun `model_run` with `wait=false`, then `jobs_wait` with the returned job id, re-called with\n   `pending_job_ids` on timeout, never a second `model_run`.\n5. `asset_display` and proofread the rendered text.\n6. `model_schema_get` on the Layerize hit, then `model_run` with that id and\n   `parameters={\"image\": \"<poster asset id>\", \"prompt\": \"Separate this poster into transparent layers: the headline text, the date line, and the background. Clean edges, complete transparency.\", \"size\": \"2K\"}`.\n7. `jobs_wait`, then `asset_display` each layer and `asset_download` the keepers.\n\n## Common mistakes\n\n- Reusing one member's parameter block on another: pixels on Pro and Lite, tier enums on 4.5 and\n  Layerize; pixels sent to an enum field are rejected.\n- Passing `referenceImages` to Layerize or `image` to the generators: the input field's name and\n  shape differ per member.\n- Expecting Layerize layers to overlay the source directly: each is cropped to its own bounds, so\n  reposition with the returned metadata.\n- Asking Pro for a sequence: the sequence fields existed on Lite and 4.5 only.\n- Moving a 3000-character prompt from Pro to Lite: prompt caps are per member.\n- Setting Flash's `background` to `transparent` on a text-only run or a flattened reference: it is\n  silently ignored, and the image comes back opaque.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}