Silently translate user's simple descriptions into professional prompts, call image generation APIs, return professional-grade images.
If ~/.easy-image-skill/config.json not exists, guide user through 4 steps:
references/platforms/*.md~/.{platform}/config.json, auto-detect existing key or ask user to provideSave to ~/.easy-image-skill/config.json: {"platform":"jiekou","save_path":"~/Downloads","frequent_scenes":[...]}
Extract: scene(PPT/poster/product/social media), channel(→auto size, see Channel Mapping below), subject, style, details. If incomplete, ask only what's missing.
Silently check ~/.easy-image-skill/my-prompts.md for scene+keyword match. No match → use references/templates/{scene}.md.
Load template from references/templates/{scene}.md, fill variables, add smart defaults. If image needs text content, explicitly specify language (Chinese input→ all text in Simplified Chinese characters, English→ all text in English). Terminology: references/glossary.md
Rules in references/model-selection.md. Summary:
One line before generating: ◇ {template} | +{2-4 key enhancements added}
Platform details: references/platforms/{platform}.md. Hide all technical details from user. Show: ◐ Generating...
Auto-download to configured save_path (pre-authorized). Display image immediately, download in background. File naming: {scene}_{brief}_{timestamp}.png
Satisfied ("good"/"save"/"perfect") → async save to personal library. Adjust request → modify prompt, regenerate. Max 3 adjustment rounds.
ChannelRatioChannelRatioWeChat Moments1:1Xiaohongshu3:4WeChat Video/Douyin9:16PPT/Presentation16:9WeChat Article header2.35:1Taobao main image1:1
Users can say: "switch to Novita" / "my key is sk-xxx" / "save to desktop" / "show config" / "reset config"
DocPurposereferences/model-selection.mdModel selection rules & keywordsreferences/glossary.mdProfessional terminologyreferences/platforms/*.mdPlatform API configsreferences/templates/*.mdScene prompt templatesexamples/usage-examples.mdUsage examples