← 返回
未分类

Poster Forge

Universal image and poster generator with Chinese/English text support. Use when asked to create posters, social media images, cover images, infographics, co...
通用图像和海报生成器,支持中英文文字。适用于需要创建海报、社交媒体图片、封面图、信息图等场景。
huuuwnnn-droid huuuwnnn-droid 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 445
下载
💾 0
安装
1
版本
#latest

概述

Poster Forge

Universal poster/image generator with 3 engines and auto-fallback.

Engines

EngineHowBest ForReliability
------------------------------------
aiPollinations.ai (flux model)Artistic/photo backgrounds~90% (network dependent)
htmlChromium headless screenshotPrecise layouts, text-heavy~99% (needs Chromium)
textPIL solid color + text overlaySimple text posters100%

Default mode is auto: tries AI → HTML → text fallback.

Quick Start

# Simple poster with AI background
python3 scripts/generate.py --title "你的标题" --prompt "watercolor sunset" --output poster.jpg

# Split comparison (HTML engine, no network needed)
python3 scripts/generate.py --title "A vs B" --mode html --template split \
  --left-label "方案A" --right-label "方案B" \
  --left-items "优点1|优点2" --right-items "优点1|优点2" --output compare.jpg

# Tutorial card
python3 scripts/generate.py --title "教程标题" --mode html --template tutorial \
  --code-content "print('hello')" --tagline "底部提示语" --output tutorial.jpg

Parameters

Core

  • --title (required): Main title
  • --subtitle: Secondary text
  • --tagline: Bottom tagline
  • --mode: ai | html | text | auto (default: auto)
  • --output: Output file path

Templates (HTML engine)

  • --template: split | gradient | card | tutorial

Size presets

  • --preset: xiaohongshu (1080×1440) | wechat (900×500) | instagram (1080×1080) | twitter (1200×675) | a4 (2480×3508)
  • --width / --height: Custom dimensions

Split template

  • --left-label / --right-label: Side labels
  • --left-items / --right-items: Pipe-separated content items
  • --left-color / --right-color: R,G,B colors

Text overlay

  • --text-position: bottom | center | top | none
  • --font-title-size / --font-sub-size: Font sizes
  • --no-overlay: Skip PIL text overlay (when HTML already has text)

AI engine

  • --prompt: English description for Pollinations.ai

Workflow for Agents

  1. Decide content and style
  2. Choose mode: auto for flexibility, html for reliability, ai for aesthetics
  3. Run scripts/generate.py with appropriate args
  4. If using html mode with --template, add --no-overlay (text is already in the HTML)
  5. Send output image to user

Requirements

  • Python 3 + Pillow (PIL)
  • curl (for AI engine font download)
  • Chromium/Chrome (for HTML engine, optional)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 08:06 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Pingcode Timelogger

huuuwnnn-droid
Automate PingCode timesheet filling — create sub-tasks and log work hours. Use when asked to fill PingCode timesheets, l
★ 0 📥 401

WeChat MP Plus

huuuwnnn-droid
自动化微信公众号管理,包括草稿发布、菜单编辑、自动回复检查以及 Markdown 转 HTML 格式。
★ 0 📥 333

Video Insight

huuuwnnn-droid
跨平台视频字幕提取,可选AI摘要;支持YouTube和哔哩哔哩,自动检测GPU;字幕优先提取,LLM摘要可选。
★ 0 📥 329