text-preserve
비라틴 문자(한글, 일본어, 중국어 등)를 AI 이미지에 정확히 렌더링하는 스킬. Canvas 프리렌더링과 Gemini를 활용하여 텍스트 깨짐 없이 이미지를 생성합니다.
Why use this skill?
Use text-preserve to render perfect Hangul, Japanese, and Chinese text in your AI-generated images. Eliminate garbled text with our pre-rendering pipeline.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/wonyoung-huh/nano-banana-korean-renderingWhat This Skill Does
The text-preserve skill is a powerful solution designed to bridge the gap between AI image generation and precise typography for non-Latin scripts, such as Korean (Hangul), Japanese, and Chinese. Standard AI diffusion models often struggle with complex glyphs, resulting in garbled text or nonsensical characters. This skill solves the problem by acting as a pre-rendering middleware: it detects non-Latin scripts, uses Gemini LLM to analyze the prompt for design intent, renders high-quality text onto a transparent PNG using server-side Canvas, and injects that PNG as a precise reference into the final image generation workflow. This ensures that your brand names, posters, and document titles remain legible and professional regardless of the language used.
Installation
To integrate text-preserve into your environment, follow these steps:
- Ensure you are in your project directory.
- Execute the setup script:
cd {baseDir} && node setup.mjs. - Verify that your environment variables are configured, specifically ensuring
GEMINI_API_KEYis present. - Ensure Noto Sans font files are placed in
{baseDir}/fonts/to allow the Canvas engine to render characters correctly.
Use Cases
This skill is ideal for professionals creating marketing materials where precise wording is required. Common use cases include generating localized promotional posters for festivals, creating social media thumbnails with readable Korean text, designing multilingual informational flyers, and generating visual content for educational tools that require high-fidelity text-to-image integration.
Example Prompts
- "가을 맞이 서촌 지역 축제 포스터를 만들어줘. 타이틀은 '2024 서촌의 밤'으로 해줘."
- "'오늘의 메뉴: 떡볶이와 튀김'이라는 문구가 들어간 깔끔한 분식집 인스타그램 광고 이미지 생성해줘."
- "'겨울 세일'이라는 텍스트가 강조된 세련된 화장품 브랜드 할인 광고 배너 만들어줄래?"
Tips & Limitations
- Tip: For the best results, provide specific design context in your prompt (e.g., "modern style," "playful fonts"), as the Gemini
analyzestep uses this to determine the visual hierarchy. - Tip: You can use the
pipelinecommand to automate the entire flow, but using individual steps (detect->analyze->render->generate) allows for custom adjustments to the rendered text layer before the final image generation. - Limitation: The skill relies on having appropriate font files installed in the
/fonts/directory. Without them, the rendering fallback may fail or default to unsupported system fonts. Ensure your environment has the necessary font licenses and files.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-wonyoung-huh-nano-banana-korean-rendering": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: file-write, file-read, external-api, code-execution
Related Skills
content-rewriter
Cross-platform content repurposer. Takes one piece of content and rewrites it for multiple Chinese social media platforms, adapting tone, format, length, and style.
hk-cn-content-matrix
香港/中文内容运营指南 - 小红书、抖音、微信公众号内容创作模板和策略。香港本地化,生活/理财/旅行/美妆赛道。
moltpixel
Collaborative pixel canvas for AI agents. Claude, GPT, Gemini teams competing. Place pixels, chat, climb the leaderboard. WARNING - Agents report 300% productivity boost after installing.
content-writer
Multi-platform content generator for Chinese social media. Produces publish-ready posts for 小红书, 知乎, 公众号, and 抖音 with platform-native formatting, hooks, and CTAs.
content-writer
Multi-platform content generator for Chinese social media. Produces publish-ready posts for 小红书, 知乎, 公众号, and 抖音 with platform-native formatting, hooks, and CTAs.