Loading...
Loading...
Compare original and translation side by side
npx spritecook-mcp setupnpx spritecook-mcp setup| Parameter | Type | Default | Description |
|---|---|---|---|
| string (required) | - | What to generate. Be specific: subject, pose, view angle |
| int | 64 | Width in pixels (16-512) |
| int | 64 | Height in pixels (16-512) |
| int | 1 | Number of variations (1-4) |
| bool | true | Pixel art (true) or detailed/HD art (false) |
| bool | true | Grid-aligned pixel post-processing |
| string | "transparent" | "transparent", "white", or "include" |
| string | null | Art theme context, e.g. "dark fantasy medieval" |
| string | null | Style direction, e.g. "16-bit SNES style" |
| string | "1:1" | "1:1", "16:9", or "9:16" |
| bool | true | Auto-crop to content bounds (see note below) |
| string | "tightest" | "tightest" (smallest fit) or "power_of_2" (32, 64, 128...) |
| string | "assets" | "assets", "texture", or "ui" |
| string | "1K" | "1K", "2K", or "4K" |
| string[] | null | Hex color palette, max 8 (e.g. ["#2D1B2E", "#FF6B35"]) |
| string | null | Asset ID from a previous generation to use as style reference |
| string | null | Asset ID to edit/modify with the new prompt |
reference_asset_idedit_asset_idreference_asset_idpixel_perfectsmart_crop"tightest""power_of_2"| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 字符串(必填) | - | 要生成的内容。请描述具体:主体、姿势、视角 |
| 整数 | 64 | 像素宽度(16-512) |
| 整数 | 64 | 像素高度(16-512) |
| 整数 | 1 | 生成变体数量(1-4) |
| 布尔值 | true | 是否为像素画(true)或精细/高清美术(false) |
| 布尔值 | true | 是否启用对齐网格的像素后期处理 |
| 字符串 | "transparent" | 可选值:"transparent"(透明)、"white"(白色)或"include"(包含背景) |
| 字符串 | null | 美术主题背景,例如"黑暗奇幻中世纪" |
| 字符串 | null | 风格方向,例如"16位SNES风格" |
| 字符串 | "1:1" | 可选值:"1:1"、"16:9"或"9:16" |
| 布尔值 | true | 自动裁剪至内容边界(见下方说明) |
| 字符串 | "tightest" | 可选值:"tightest"(最贴合裁剪)或"power_of_2"(最近的2的幂次,如32、64、128...) |
| 字符串 | "assets" | 可选值:"assets"(资源)、"texture"(纹理)或"ui"(UI元素) |
| 字符串 | "1K" | 可选值:"1K"、"2K"或"4K" |
| 字符串数组 | null | 十六进制调色板,最多8种颜色(示例:["#2D1B2E", "#FF6B35"]) |
| 字符串 | null | 之前生成的资源ID,用作风格参考 |
| 字符串 | null | 要通过新提示编辑/修改的资源ID |
reference_asset_idedit_asset_idreference_asset_idpixel_perfectsmart_cropjob_idjob_idpixel_urlInvoke-WebRequest -Uri $pixel_url -OutFile "assets/sprite.png"curl -sL -o "assets/sprite.png" "$pixel_url"display_nameidpixel_urlInvoke-WebRequest -Uri $pixel_url -OutFile "assets/sprite.png"curl -sL -o "assets/sprite.png" "$pixel_url"display_nameidget_credit_balanceconcurrent_jobsreference_asset_idpixel_urlreference_asset_idedit_asset_idget_credit_balanceconcurrent_jobsreference_asset_idpixel_urlreference_asset_idedit_asset_id| Asset Type | Recommended Settings |
|---|---|
| Characters | width: 64-128, bg_mode: "transparent", pixel: true |
| Items/Icons | width: 32-64, bg_mode: "transparent", pixel: true |
| Tilesets | width: 128-256, mode: "texture", bg_mode: "include" |
| UI Elements | width: 64-256, mode: "ui", bg_mode: "transparent" |
| Backgrounds | width: 256-512, aspect_ratio: "16:9", bg_mode: "include" |
reference_asset_idthemecolorsvariations: 2-3edit_asset_id| 资源类型 | 推荐设置 |
|---|---|
| 角色 | width: 64-128, bg_mode: "transparent", pixel: true |
| 物品/图标 | width: 32-64, bg_mode: "transparent", pixel: true |
| Tileset | width: 128-256, mode: "texture", bg_mode: "include" |
| UI元素 | width: 64-256, mode: "ui", bg_mode: "transparent" |
| 背景 | width: 256-512, aspect_ratio: "16:9", bg_mode: "include" |
reference_asset_idthemecolorsvariations: 2-3edit_asset_id