npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

evolink-gpt-image

v1.1.0

Published

GPT Image 2 AI image generation skill for OpenClaw / Claude Code / OpenCode — install in one command

Downloads

871

Readme

GPT Image 2 图像生成技能


AI Agent? 跳过 README — 直接看 llms-install.md,里面有专为 Agent 设计的安装步骤。


这是什么?

一个适用于 OpenClaw / Claude Code / OpenCode 的 AI 技能插件,由 EvoLink 驱动。安装后,你的 AI Agent 即可使用 GPT Image 2 模型进行图像生成和编辑。

| 技能 | 描述 | 模型 | |------|------|------| | GPT Image 2 Gen | 文生图、图像编辑、批量生成 | GPT Image 2 (OpenAI) |


安装

快速安装(OpenClaw)

openclaw skills add https://github.com/EvoLinkAI/gpt-image-2-gen-skill-for-openclaw

通过 npm 安装(推荐)

npx evolink-gpt-image

非交互模式(适用于 AI Agent / CI):

npx evolink-gpt-image -y

安装到指定目录:

npx evolink-gpt-image -y --path ~/.claude/skills

手动安装

git clone https://github.com/EvoLinkAI/gpt-image-2-gen-skill-for-openclaw.git
cd gpt-image-2-gen-skill-for-openclaw
openclaw skills add .

Agent 自动安装(复制粘贴给你的 Agent)

将以下提示词发送给你的 AI Agent,它会自动完成安装:

Claude Code

安装 GPT Image 2 图像生成技能,运行以下命令:

npx evolink-gpt-image@latest -y --path ~/.claude/skills

安装完成后设置 API Key:

export EVOLINK_API_KEY=你的key

然后读取 ~/.claude/skills/gpt-image-2-gen/SKILL.md 了解使用方法。

OpenCode

安装 GPT Image 2 图像生成技能,运行以下命令:

npx evolink-gpt-image@latest -y --path ~/.opencode/skills

安装完成后设置 API Key:

export EVOLINK_API_KEY=你的key

然后读取 ~/.opencode/skills/gpt-image-2-gen/SKILL.md 了解使用方法。

OpenClaw

安装 GPT Image 2 图像生成技能,运行以下命令:

npx evolink-gpt-image@latest -y

安装器会自动检测 OpenClaw 技能目录。安装完成后设置 API Key:

export EVOLINK_API_KEY=你的key

一行命令(任意 Agent)

EVOLINK_API_KEY=你的key npx evolink-gpt-image@latest -y --path ~/.claude/skills

~/.claude/skills 替换为你的 Agent 的技能目录(如 ~/.opencode/skills)。


获取 API Key

  1. 注册 evolink.ai
  2. 进入控制台 -> API Keys
  3. 创建新密钥
  4. 设置环境变量:
export EVOLINK_API_KEY=your_key_here

GPT Image 2 图像生成

通过自然语言对话生成和编辑 AI 图像。

功能

  • 文生图 — 描述你想要的,生成图像
  • 图像编辑 — 提供参考图片(1-16张),描述编辑内容
  • 批量生成 — 单次请求最多生成 10 张图像
  • 多种尺寸 — 15 种比例预设 + 自定义像素尺寸
  • 分辨率等级 — 1K (~1百万像素)、2K (~4百万像素)、4K (~830万像素)
  • 质量等级 — low (快速)、medium (平衡)、high (最佳)
  • 超长提示词 — 单次最多 32,000 字符

使用示例

直接和你的 AI Agent 对话:

"生成一张海面日落的图片"

"创建一个极简 Logo,1024x1024,高质量"

"编辑这张图片 — 在人物旁边加一只猫"

"生成 4 张像素风格机器人的变体,4K 分辨率"

系统要求

  • 系统已安装 curljq
  • 已设置 EVOLINK_API_KEY 环境变量

命令行脚本

# 文生图(基础)
./scripts/gpt-image-gen.sh "海面上绚丽多彩的美丽日落"

# 高质量 4K 宽屏
./scripts/gpt-image-gen.sh "黄昏时分未来都市天际线" --size 16:9 --resolution 4K --quality high

# 自定义像素尺寸
./scripts/gpt-image-gen.sh "极简主义 Logo 设计" --size 1024x1024

# 图像编辑
./scripts/gpt-image-gen.sh "在她旁边加一只可爱的小猫" --image "https://example.com/photo.png"

# 批量生成
./scripts/gpt-image-gen.sh "像素风格的可爱机器人" --count 4 --quality high

兼容性

| Agent | 安装方式 | |-------|----------| | OpenClaw | openclaw skills add <repo>npx evolink-gpt-image | | Claude Code | npx evolink-gpt-image -y --path ~/.claude/skills | | OpenCode | npx evolink-gpt-image -y --path ~/.opencode/skills | | Cursor | npx evolink-gpt-image -y --path <你的技能目录> |


许可证

MIT