Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

WeChat Cover Generator - Claude Code Skill

Generate professional WeChat public account covers and article illustrations using AI, directly in Claude Code.

Price Speed Powered by

Features

  • Text-to-Image -- Generate covers from text descriptions in under 1 second
  • Image Editing -- Edit existing images with text instructions
  • WeChat Optimized -- Pre-configured sizes: cover (1140x400), thumbnail, article images
  • Style Presets -- 9 built-in styles: tech, business, lifestyle, food, travel, etc.
  • Python Module -- Use as CLI tool or import in your scripts
  • Ultra Low Cost -- $0.008/image, free $1 credit on signup (~125 images)

Installation

One-Line Install

mkdir -p ~/.claude/skills/wechat-cover && cd ~/.claude/skills/wechat-cover && curl -sL https://raw.githubusercontent.com/stimQQ/skill-wechat-cover/main/SKILL.md -o SKILL.md && mkdir -p core && curl -sL https://raw.githubusercontent.com/stimQQ/skill-wechat-cover/main/core/image_generator.py -o core/image_generator.py

Manual Install

git clone https://github.com/stimQQ/skill-wechat-cover.git
cp -r skill-wechat-cover ~/.claude/skills/wechat-cover

Restart Claude Code after installation.

Setup API Key

Step 1: Register (Free $1 Credit)

Go to https://apimodels.app and sign up. You get $1 free credit (~125 images).

Step 2: Get API Key

Go to https://apimodels.app/console/api-keys and create a key.

Step 3: Set Environment Variable

export APIMODELS_API_KEY="your-api-key-here"

Usage

In Claude Code

Generate a WeChat cover for my tech article about AI trends
帮我生成一个公众号封面,主题是健康饮食,暖色调

Python CLI

# Generate cover
python core/image_generator.py generate "A tech blog cover about AI" --size cover --style tech

# Edit image
python core/image_generator.py edit "Change background to sunset" --images https://example.com/img.jpg

# List options
python core/image_generator.py styles
python core/image_generator.py sizes

Python Module

from core.image_generator import generate_image, edit_image

# Generate
result = generate_image("AI neural network visualization", size="cover", style="tech")

# Edit
result = edit_image("Add sunset background", image_urls=["https://example.com/img.jpg"])

Sizes & Pricing

Type Size Price
Cover Large 1140x400 $0.008
Article (16:9) auto $0.008
Square (1:1) auto $0.008
Image Edit any $0.013

Try Free

No API key? Try the free web version: SparkPix Free AI Image Generator

Links

License

MIT

About

生成微信公众号封面的skills

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages