Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add meitu/meitu-skills --skill text-to-imagegit clone --depth 1 https://github.com/meitu/meitu-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/meitu/meitu-skills/text-to-image)<a href="https://agentmods.dev/skills/meitu/meitu-skills/text-to-image"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/text-to-image/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/meitu/meitu-skills/text-to-image"><img src="https://agentmods.dev/badge/skills/meitu/meitu-skills/text-to-image.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 5 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 5 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 9 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 11 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 17 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Rogue Agent · line 21 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.02500 |
| Opus 5 | $0.00044 | $0.01250 |
| Sonnet 5 | $0.00018 | $0.00500 |
| Haiku 4.5 | $0.00009 | $0.00250 |
Grade A, and why
text-to-image scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Text To Image(文生图)
Overview
从文字描述从零生成全新图片(无底图),参考图仅作风格/氛围补充而非内容主体。涵盖 2 类场景:
- 通用文生图 / 多图参考融合:创意概念图、插画、风格混搭、快速出图;支持
image_list多图参考融合;发散/多样/速度快的默认通道。 - 商业级高品质生成:宣传视觉/封面、电商海报/营销 Banner、产品场景图、文字渲染(信息图/海报文字)、写实/电影截图风格;文本理解深、文字渲染准、高分辨率;不支持
image_list。
含人物/角色/肖像描述的文生图(人物封面、概念图、插画含人物)由本工具承接。不处理:基于已有图片编辑/修改、参考图驱动的创作(参考图为主要内容来源)、已提供参考图的高保真人像/宠物写真/证件照、海报排版设计、风格迁移、视频生成、搜图、画质提升/超分。
API Mapping
| 场景 | 后端 API |
|---|---|
| 通用文生图 / 多图参考融合 | image_gummy_generate |
| 商业级高品质生成 | image_praline_create_v2 |
| 商业级兜底 | image_praline_create_2(praline_v2 失败时的降级通道,参数兼容) |
| Nougat 高质量(外部显式指定) | image_nougat_create(不支持 image_list / output_format;quality 由 API 内部默认 Medium 不对外暴露) |
model 映射:
auto(默认)/ 不传 → 按路由规则决策gummy→image_gummy_generatepraline_pro→image_praline_create_v2nougat→image_nougat_create(仅外部显式指定触发;路由不识别)- 指定 model 调用失败时,仍按降级链继续重试
Dependencies
- meitu-cli:
>=2.0.6 - 凭证:CONFIG AKSK →
meitu tools update;EXEC AKSK → 跑命令(见根CONFIG.md) - 环境变量:
MEITU_OPENAPI_TOOL_TASK_MODE=command
Core Workflow
Preflight → Execute → Deliver
Preflight
meitu --version≥ 2.0.6meitu auth verify --json- 确认 registry 含
text-to-image - 解析 output_dir:
openclaw.yaml→./output/;else →~/.openclaw/workspace/visual/output/text-to-image/
Execute
触发信号 / 路由规则
决策顺序:
- 有
image_list→ 强制image_gummy_generate(praline 不支持 image_list) - 无
image_list:商业/宣传/文字渲染/写实电影风 →image_praline_create_v2;否则 →image_gummy_generate(默认)
| 场景 | 判定关键词 | 路由 |
|---|---|---|
| 有参考图(多图融合) | 参考这张图、融合、多图 | image_gummy_generate |
| 商业级 / 宣传 / 电商 | 宣传图、封面、电商、营销、Banner、商业级、高品质、产品场景图 | image_praline_create_v2 |
| 文字渲染 | 带文字、加标题、信息图、海报文字 | image_praline_create_v2 |
| 写实 / 电影风格 | 写实、真实感、光影质感、电影截图 | image_praline_create_v2 |
| 创意 / 插画 / 概念 | 画一张、概念图、插画、创意、风格混搭 | image_gummy_generate |
| 通用 / 无特殊要求 | 其他 | image_gummy_generate(默认) |
参数定义
通用参数:
| 参数 | 类型 | 必填 | 范围 | 默认值 | 说明 |
|---|---|---|---|---|---|
prompt |
STRING | 是 | -- | -- | 图片描述。缺失 → 追问 |
size |
STRING | 否 | 1K / 2K / 4K | 2K | 输出分辨率 |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 192 lines · 89 tokens per session scan A 443b069aac0f
text-to-image is a skill published in the GitHub repository meitu/meitu-skills (32 stars, last pushed 14d ago), licensed MIT. It adds 89 tokens to every session and 2,500 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
general-video
Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
chengfeng-check-updates
An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.