Image Style Transfer logo

Image Style Transfer

Organization
meitu
image-style-transfer

对已有图片做风格化处理(动漫/油画/水彩/Q版/卡通/3D/像素/表情包等),支持单图风格化和双图参考风格迁移。当用户提到风格转换、风格迁移、变成 xxx 风格、表情包、emoji 风格、Q版、拼豆、玩具风、油画风、水彩风、动漫风、3D 风格、预设效果时触发。

Overview

Publishermeitu
Repositorymeitu-skills
Skill nameimage-style-transfer
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 Style Transfer 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-style-transfer
  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-style-transfer .claude/skills/image-style-transfer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Image Style Transfer 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 Style Transfer 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 Style Transfer 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 Style Transfer

Overview

对已有图片做风格化处理,两类能力:单图风格化(Q 版/emoji/史努比/molly/动森 5 种预设 + 其他通用风格)和双图参考风格迁移(原图 + 风格参考图,覆盖水彩/油画/动漫/3D 插画类)。

API Mapping

  • 预设风格化(chibi/emoji/snoopy/molly/动森 5 种):formula_group_creative_play
  • 单图通用风格化(主):image_praline_edit_v2
  • 单图通用风格化(降级):image_praline_edit_2
  • 参考图风格迁移:image_mint_styletransfer
  • 双图兜底:image_praline_edit_v2
  • 工具内兜底:image_mint_edit
  • Nougat 高质量(外部显式指定):image_nougat_edit(路由不识别;ratio 原生 11 枚举;size 内部常量 2K;quality 由 API 内部默认 Medium 不对外暴露)
  • model 映射:auto(默认)/praline_pro→v2 / praline_lite→edit_2 / mint_style→styletransfer(必须同时提供 style_image_url,单图禁止指定)/ mint_edit→mint / nougat→nougat_edit(外部显式指定触发)

可选参数:--model <auto|praline_pro|praline_lite|mint_style|mint_edit|nougat>、--ratio <auto|1:1|...|21:9>(仅 model=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-style-transfer/;mkdir -p

Execute

触发信号 / 路由规则

核心维度:输入图片数量。

输入图片数条件路由
1 张prompt 含 chibi(Q版)/ emoji / snoopy / molly / 动森formula_group_creative_play
1 张其他风格(油画/水彩/动漫/3D/卡通/像素等)image_praline_edit_v2
2 张请求为插画类风格迁移image_mint_styletransfer
2 张请求为非插画类风格迁移image_praline_edit_v2

路由原则:formula_group_creative_play 仅限 1 张图 + 5 种预设;image_mint_styletransfer 仅限 2 张图 + 插画类;图片数 >2 仅取前 2 张。

参数定义

参数类型必填说明
image_urlARRAY[STRING]是图片地址列表。1 张=原图;2 张=[原图, 风格参考图],顺序固定
promptSTRING是用户目标风格描述,用于效果检索和兜底处理
modelSTRING否auto / praline_pro / praline_lite / mint_style / mint_edit / nougat
ratioSTRING否仅 model=nougat 路径生效;其他 model 静默忽略

API 映射说明:

  • formula_group_creative_play:image_url[0] + effect_id(effect_id 由工具内部根据 prompt 风格关键词自动匹配,不暴露)
  • image_mint_styletransfer:image_url[0](原图)+ image_url[1](风格参考图)+ prompt
  • image_praline_edit_v2:按兜底工具实际参数要求映射

工具调用

bash
meitu image-style-transfer --image_url <origin>[,<style_ref>] --prompt "<style desc>" --json --download-dir {output_dir} --skill_name skill_image-style-transfer

错误降级

场景处理方式
formula_group_creative_play 调用失败重试 1 次,仍失败走 image_praline_edit_v2
image_praline_edit_v2 调用失败(单图)降级至 image_praline_edit_2
image_praline_edit_2 调用失败(单图)降级至 image_mint_edit
image_mint_edit 调用失败(单图)返回错误
image_mint_styletransfer 调用失败重试 1 次,仍失败走 image_praline_edit_v2
image_praline_edit_v2 调用失败(双图)降级至 image_praline_edit_2
image_praline_edit_2 调用失败(双图)降级至 image_mint_edit
image_mint_edit 调用失败(双图)返回错误
2 张图但非插画类风格走 image_praline_edit_v2
1 张图但不属于 5 种预设走 image_praline_edit_v2
图片数 >2仅取前 2 张按双图分支处理
写实人像写真 / 视频创意生成直接拒绝,不调用任何 API
内容合规拦截直接返回合规提示,不重试

Deliver

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

Output

  • 格式:image
  • 位置:项目 → ./output/,一次性 → $VISUAL/output/image-style-transfer/

基线 Task ID

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

Frequently asked questions

What does the Image Style Transfer AI skill do?

对已有图片做风格化处理(动漫/油画/水彩/Q版/卡通/3D/像素/表情包等),支持单图风格化和双图参考风格迁移。当用户提到风格转换、风格迁移、变成 xxx 风格、表情包、emoji 风格、Q版、拼豆、玩具风、油画风、水彩风、动漫风、3D 风格、预设效果时触发。

Why use Image Style Transfer on TypingMind?

Because you install it once and use it with any model. Image Style Transfer 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 Style Transfer in TypingMind?

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

Which AI models can use Image Style Transfer?

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 Style Transfer?

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

Is the Image Style Transfer 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 👇