Image Poster Generate logo

Image Poster Generate

Organization
meitu
image-poster-generate

文/图生海报,多风格多尺寸带排版,支持参考图/已有海报修改文字/背景/元素。当用户提到海报、宣传图、广告图、Banner、推广图、营销图、活动海报、促销海报、poster时触发。

Overview

Publishermeitu
Repositorymeitu-skills
Skill nameimage-poster-generate
Stars
36
Forks
3
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by meitu on GitHub. Read the source before you install it.

Installation

Install the Image Poster Generate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/meitu/meitu-skills/tree/main/skills/image-poster-generate
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/meitu/meitu-skills.git /tmp/meitu-skills
mkdir -p .claude/skills
cp -r /tmp/meitu-skills/skills/image-poster-generate .claude/skills/image-poster-generate
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image Poster Generate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Image Poster Generate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Image Poster Generate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image Poster Generate

Overview

文/图生海报,多风格多尺寸,支持海报编辑、文字修改、换背景。覆盖促销海报、活动宣传图、广告 Banner、社交媒体配图、品牌推广图。

API Mapping

  • 海报生成:image_poster_generate
  • model 值(首字母大写,与 image-edit 的 snake_case 命名空间不同):Praline_2(默认)/ GummyV4.5 / PralineV2 / Gummy / Nougat

Dependencies

  • meitu-cli: >=2.0.6
  • 凭证:CONFIG AKSK → meitu tools update;EXEC AKSK → 实际执行(见根 CONFIG.md)
  • 环境变量:MEITU_OPENAPI_TOOL_TASK_MODE=command

路径别名:$VISUAL = {OPENCLAW_HOME}/workspace/visual/

Core Workflow

Preflight → Execute → Deliver

Preflight

  1. meitu --version ≥ 2.0.6
  2. 已用 CONFIG AKSK 跑过 meitu tools update
  3. 当前 AKSK = EXEC,MEITU_OPENAPI_TOOL_TASK_MODE=command
  4. output_dir:openclaw.yaml → ./output/ |else → $VISUAL/output/image-poster-generate/;mkdir -p

Execute

触发信号 / 路由规则

核心维度:参数齐全 + 海报场景命中 + model 选型。

场景判定关键词路由
文生海报(无参考图)海报、宣传图、Bannerimage_poster_generate
图生海报 / 海报编辑(有 image_list)修改这张海报、参考海报image_poster_generate + image_list

model 选型(首字母大写,与 image-edit 的 snake_case 命名空间不同):默认 Praline_2(综合),写实人像 → GummyV4.5,高创意 → PralineV2,通用人像 → Gummy,特殊风格 → Nougat。

参数定义

参数类型必填范围默认说明
promptSTRING是----海报描述。缺失 → 提示"请描述您想要的海报内容"
modelSTRING否Gummy / Nougat / PralineV2 / GummyV4.5 / Praline_2Praline_2模型选择(注意首字母大写,区别于 image-edit)
image_listARRAY否----参考图片 URL 数组
ratioSTRING否auto / 1:1 / 1:3 / 3:1 / 2:1 / 1:2 / 3:2 / 2:3 / 4:3 / 3:4 / 4:5 / 5:4 / 9:16 / 16:9 / 10:16 / 16:10 / 21:9auto宽高比
sizeSTRING否auto / 1K / 2K / 4K / 512auto分辨率
output_formatSTRING否jpeg / png / webppng输出格式
enhance_promptBOOLEAN否true / falsefalse是否优化 prompt(描述 <15 字时建议开启)
enhance_templateSTRING否----优化模板(仅 enhance_prompt=true 时生效)

工具调用

bash
meitu image-poster-generate --prompt "<desc>" [--model Praline_2] [--ratio 9:16] [--size auto] [--image_list <url>] --json --download-dir {output_dir} --skill_name skill_image-poster-generate

错误降级

场景处理方式
prompt 缺失提示"请描述您想要的海报内容"
model 无效回退至默认 Praline_2
ratio 超出范围选择最接近可选值,或回退 auto
size 超出范围回退至 auto
image_list 中图片 URL 无效不重试,提示"请提供有效图片链接"
image_poster_generate 调用失败重试 1 次,仍失败返回错误
超时(1200s)重试 1 次,仍超时返回错误
内容合规拦截直接返回合规提示,不重试
用户描述 <15 字建议开启 enhance_prompt=true

Deliver

  • 使用 Preflight 解析的 output_dir
  • 从 downloaded_files[0].saved_path 读取已下载文件路径
  • mv {downloaded_files[0].saved_path} {output_dir}/{YYYY-MM-DD}_{descriptive}_image-poster-generate.{ext}

Output

  • 格式:PNG(默认)/ JPEG / WebP
  • 位置:项目 → ./output/,一次性 → $VISUAL/output/image-poster-generate/

基线 Task ID

见 references/task-id-baseline.md 中对应行。

Frequently asked questions

What does the Image Poster Generate AI skill do?

文/图生海报,多风格多尺寸带排版,支持参考图/已有海报修改文字/背景/元素。当用户提到海报、宣传图、广告图、Banner、推广图、营销图、活动海报、促销海报、poster时触发。

Why use Image Poster Generate on TypingMind?

Because you install it once and use it with any model. Image Poster Generate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Image Poster Generate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/meitu/meitu-skills/tree/main/skills/image-poster-generate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Image Poster Generate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Image Poster Generate?

As many as you like. As long as a model supports skills, you can use Image Poster Generate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Image Poster Generate AI skill free?

Yes. It is published on GitHub by meitu under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇