fmode-image v2: AI图像生成器。零依赖纯ESM,6种模式(--app/--arch/--scene/--slide)

FmodeAgent a93bab1ca5 chore: fix version 2.0.0→0.1.0 (semver规范,首发走minor) 2 hours ago
.claude-plugin a19d90e0ba fmode-image v1.0.0 2 hours ago
bin a1b63ac466 fmode-image v2.0: 纯ESM零依赖,6种模式,自动读Key,bin CJs兼容 2 hours ago
lib 77b5fe0f76 fmode-image v2.0: ESM纯JS重写,6种模式(--app/--arch/--scene/--slide/--explode/--detail),零依赖fetch 2 hours ago
skills 77b5fe0f76 fmode-image v2.0: ESM纯JS重写,6种模式(--app/--arch/--scene/--slide/--explode/--detail),零依赖fetch 2 hours ago
README.md 710a405742 fmode-image v2.0: 6种模式(--app/--arch/--scene/--slide/--explode/--detail) + Windows兼容 + 最佳实践文档 2 hours ago
fmode-image-0.1.0.tgz a93bab1ca5 chore: fix version 2.0.0→0.1.0 (semver规范,首发走minor) 2 hours ago
package.json a93bab1ca5 chore: fix version 2.0.0→0.1.0 (semver规范,首发走minor) 2 hours ago
skill-package-manifest.json 77b5fe0f76 fmode-image v2.0: ESM纯JS重写,6种模式(--app/--arch/--scene/--slide/--explode/--detail),零依赖fetch 2 hours ago

README.md

fmode-image

AI架构图和场景插图生成器。自动读取 Fmode API Key,6种模式覆盖PPT配图全部场景。

快速使用

npx fmode-image --app    "标题xxx,左侧导航,顶部指标卡"  应用界面  ← 最推荐
npx fmode-image --arch   "标题xxx,从上到下五层"           架构图
npx fmode-image --scene  "法务团队深夜加班场景"             场景插图
npx fmode-image --slide  "主标题/副标题"                   整页PPT
npx fmode-image --explode "内部分层,数据流向"             爆炸图
npx fmode-image --detail "零件特写"                        细节图

安装

npm install -g fmode-image

环境变量

  • FMODE_API_KEY — Fmode API密钥(必设)
  • SKILL_IMAGE_OUTPUT — 输出目录(默认当前目录)

凭据读取顺序

  1. FMODE_API_KEY 环境变量
  2. ~/.fmode/config.json 中的 api_key / fmodeApiToken
  3. .env 文件

输出

纯白底PNG,可直接拖入PPT使用。

链接