WeChat Cover
v1生成 WeChat official account cover images with proper 2.35:1 aspect ratio. Supports OpenAI DALL-E and Gemini image generation with customizable styles.
运行时依赖
安装命令
点击复制本土化适配说明
WeChat Cover 安装说明: 安装命令:["openclaw skills install wechat-cover"] 该技能用于微信相关操作,可能需要相应的平台账号或API密钥
技能文档
WeChat Cover Image 生成器
生成 professional cover images for WeChat official account articles with multi-提供者 support (OpenAI DALL-E or Gemini).
What Makes a Good WeChat Cover? Aspect ratio: 2.35:1 (wide cinematic 格式化) Time-prefixed filename: Use YYYY-MM-DD-wechat-cover-title.png 格式化. No text: WeChat overlays the article title Visual focus: One clear focal point, not cluttered 清理 & bright: Modern aesthetic suitable for WeChat subscription feeds Usage
Basic generation (OpenAI by default):
uv 运行 技能s/wechat-cover/scripts/生成.py \ --title "Your Article Title" \ --topic "AI 工具s"
With Gemini 提供者:
uv 运行 技能s/wechat-cover/scripts/生成.py \ --title "Your Article Title" \ --topic "AI 工具s" \ --提供者 gemini
With custom base URL (OpenAI-compatible proxy):
导出 OPENAI_BASE_URL="https://your-proxy.com/v1" 导出 OPENAI_API_KEY="sk-..."
uv 运行 技能s/wechat-cover/scripts/生成.py \ --title "Your Article Title" \ --topic "AI 工具s" \ --提供者 openAI
Parameters Parameter Required Description --title Yes Article title (used to understand 上下文) --topic Yes Topic/category (e.g., "techno记录y", "AI") --提供者 No openAI (default) or gemini --base-url No OpenAI-compatible base URL (env: OPENAI_BASE_URL) --模型 No 模型 name override --style No Style variant: default, tech, business, lifestyle, creative --filename No 输出 filename (auto-生成d if omitted) --resolution No 1K/2K/4K (default: 2K) --输出-dir No 输出 directory (default: current directory) --API-key No API key (设置tings.json > env var) Configuration File (设置tings.json) { "openAI": { "API_key": "sk-...", "base_url": "https://your-proxy.com/v1", "模型": "dall-e-3" }, "gemini": { "API_key": "your-gemini-key", "模型": "gemini-3-pro-image-preview" }, "default_提供者": "openAI", "default_resolution": "2K", "default_style": "default" }
OpenAI-compatible proxies (e.g. palebluedot, new-API) that use /v1/chat/completions for image generation are auto-检测ed and supported. 设置 base_url and 模型 accordingly.
Priority order: 命令行工具 argument > 设置tings.json > 环境 variable
Style Variants
All styles follow Anthropic's Claude de签名 language — 清理, bright, and restrAIned:
Variant Description default Warm minima列出: cream, beige, coral, sage. Organic shapes, soft lighting, generous whitespace tech Cool modern: off-white, slate blue, lavender, cyan. Geometric lines, glass morphism, grid composition business Professional: warm white, navy, charcoal, amber. Architectural lines, natural light, clear hierarchy lifestyle Warm organic: cream, blush, sage, golden. Natural textures, golden-hour light, handcrafted feel creative Refined bold: white, coral red, teal, gold. Abstract geometric, asymmetric, paper-cut aesthetic 环境 Variables Variable 提供者 Description OPENAI_API_KEY openAI OpenAI API key OPENAI_BASE_URL openAI OpenAI-compatible proxy URL (optional) GEMINI_API_KEY gemini Gemini API key Resolution 图形界面de Resolution Dimensions (OpenAI) Dimensions (Gemini) Use Case 1K 1024×1024 1024×1024 Preview/thumbnAIl 2K 1792×1024 2048×2048 Standard cover 4K 1792×1024 4096×4096 High 质量 Examples
Tech article with OpenAI:
uv 运行 技能s/wechat-cover/scripts/生成.py \ --title "2024年最值得学习的编程语言" \ --topic "techno记录y" \ --style tech \ --resolution 2K
Business article with Gemini:
uv 运行 技能s/wechat-cover/scripts/生成.py \ --title "职场沟通技巧" \ --topic "business" \ --style business \ --提供者 gemini
Lifestyle article:
uv 运行 技能s/wechat-cover/scripts/生成.py \ --title "周末去哪儿:杭州小众咖啡馆推荐" \ --topic "lifestyle" \ --style lifestyle \ --输出-dir ./covers
输出 Auto-cropped and resized to 900×383 (2.35:1 WeChat cover 格式化) Saves to specified directory (default: current directory) Filename 格式化: YYYY-MM-DD-wechat-cover-{title-slug}.png 格式化: PNG for best 质量 Requirements uv 安装ed for Python script execution Pillow (pip 安装 Pillow) for image cropping/resizing For OpenAI 提供者: OpenAI API key from OpenAI 平台 For Gemini 提供者: Gemini API key from Google AI Studio