跳到正文
FunCoding

cowart-image-gen

Generate a bitmap for the Cowart canvas via Vetta generate_image, then insert or replace via Cowart MCP. Use when the user asks to create, fill, replace, or place an AI-generated image on a Cowart canvas.

Star
537
许可证
Apache-2.0
最近提交
2026年12月1日

packages/plugins/externals/cowart-vetta/agent/skills/cowart-image-gen/SKILL.md

在 GitHub 上查看

Cowart Image Gen (Vetta)

Vetta image tools (required)

IntentTool
Brand-new image / fill AI image holder / invent a scenegenerate_image
Revise an existing image or annotation screenshotedit_image (use cowart-image-edit skill)

Do not use an imagegen skill or ad-hoc scripts. After the bitmap exists on disk, place it with Cowart MCP insert_cowart_image.

Preconditions

Cowart MCP tools should be available (plugin cowart-vetta enabled). Prefer opening the canvas first (open_cowart_canvas).

Workflow

  1. Read selection with MCP get_cowart_selection (projectDir = user workspace).

  2. If exactly one selected shape is an AI image holder (isAiImageHolder or meta.cowartAiImageHolder), use holder size (props.w / props.h) as the generation contract.

  3. Call generate_image to produce the bitmap. Resolve the real local output path.

  4. Call MCP insert_cowart_image with projectDir and that image path:

    • Holder selected → prefer replace the holder (replaceAiImageHolder: true).
    • Otherwise insert onto the current page (from view/canvas state).

Constraints

  • Pass user projectDir, not the plugin root.
  • Keep original holders only if the user asks to preserve slots.
  • Include target aspect ratio in the generate_image prompt when replacing a holder.

相似的 Skill

blender-motion-state-inspection

AFaffaan-m/ECC315k近 7 天新增 4,381 个 star

官方

slack-gif-creator

ANanthropics/skills203k近 7 天新增 3,265 个 star

精选

algorithmic-art

用 p5.js 生成流场和粒子系统,通过种子随机性创作原创算法艺术。

ANanthropics/skills203k近 7 天新增 3,265 个 star

moneyprinterturbo-video

HAharry0703/MoneyPrinterTurbo147k近 7 天新增 1,608 个 star

thinking-out-loud

SHShubhamsaboo/awesome-llm-apps147k近 7 天新增 907 个 star

design-motion

GAgarrytan/gstack143k近 7 天新增 598 个 star