Apiyi Gpt Image 2 Gen

图片生成技能,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于API易平台(https://api.apiyi.com/)的ChatGPT Image 2模型(gpt-image-2)的官方正式版图片生成服务。该模型支持精确的尺寸/画质控制(含4K),按token计费。与gpt-image-2-all(官逆版)不同的关键点:使用/v1/images/generations和/v1/images/edits端点;有显式size参数;有quality参数;按token计费;使用multipart/form-data上传参考图;b64_json为纯base64无前缀。

43 stars 6 forksImages, Video & Audio

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add wuchubuzai2018/expert-skills-hub --skill apiyi-gpt-image-2-gen
Manual install
git clone --depth 1 https://github.com/wuchubuzai2018/expert-skills-hub.git /tmp/expert-skills-hub
mkdir -p ~/.claude/skills
cp -r /tmp/expert-skills-hub/skills/apiyi-gpt-image-2-gen ~/.claude/skills/apiyi-gpt-image-2-gen

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 图片生成与编辑(GPT Image 2 官方正式版)

基于API易平台的GPT Image 2模型(gpt-image-2)官方正式版实现图片生成技能,可以通过自然语言帮助用户生成图片,通过API易国内代理服务访问,支持Node.js和Python两种运行环境。gpt-image-2是API易平台的官方正式版GPT图像生成模型,支持精确的尺寸/画质控制(含4K),按token计费。

## 使用指引

遵循以下步骤:

### 第1步:分析需求与参数提取
1. **明确意图**:区分用户是需要【文生图】(生成新图片)还是【图生图】(编辑/修改现有图片)或【多图融合】。
2. **提示词(Prompt)分析**:
   - **使用用户原始完整输入**:把用户输入的原始完整问题需求描述(原文)直接作为 `-p` 提示词的主体,避免自行改写、总结或二次创作,防止细节丢失。
   - **需要补充时先确认**:如果信息不足(例如缺少风格、主体数量、镜头语言、场景细节、文字内容、禁止元素等),先向用户提问确认;用户确认后,再把补充内容**以"追加"的方式**拼接到原始提示词后。
   - 样例:
       - 用户输入:"帮我生成一张猫的图片,风格要可爱一点。"
       - 正例说明:直接使用用户输入作为提示词:`-p "帮我生成一张猫的图片,风格要可爱一点。"`
       - 反例说明:擅自改写为"生成一张可爱风格的猫的图片"会丢失用户原始输入的细节和语气。
       - 如果需要补充细节(例如颜色、背景等),先提问确认:"你希望猫是什么颜色的?背景有什么要求吗?"用户回答后,再追加到提示词中:`-p "帮我生成一张猫的图片,风格要可爱一点。猫是橘色的,背景是草地。"`

3. **关键参数整理**:
   - **Prompt(必需)**:提示词分析后的最终提示词(默认=用户原始完整且一致的输入;仅在用户确认后才追加补充信息)。
   - **Filename(可选)**:输出图片文件名/路径(需包含文件随机标识,避免重复)。不传则脚本会自动生成带时间戳的文件名。建议根据内容生成合理文件名(例如 `cat_in_garden.png`),避免使用通用名。
   - **Size(可选)**:输出尺寸。
     - 预设值:`1024x1024`、`1536x1024`、`1024x1536`、`2048x2048`、`2048x1152`、`3840x2160`、`2160x3840`
     - 也可使用自定义尺寸(满足:最大边≤3840、两边16倍数、比例≤3:1、总像素0.65–8.3MP)
     - 默认由模型自适应(auto)
   - **Quality(可选)**:画质档位。`low`(草图/批量)、`medium`(日常)、`high`(终稿/精细文字)、`auto`(默认)
   - **Output Format(可选)**:`png`(默认)、`jpeg`、`webp`
   - **Output Compression(可选)**:输出压缩率(0-100),仅jpeg/webp生效
   - **注意**:该模型使用官方正式版端点,与官逆版gpt-image-2-all不同。

### 第2步:环境检查与命令执行
1. **检查环境**:确认 `APIYI_API_KEY` 环境变量是否已设置(通常假定已设置,若运行失败再提示用户)���
2. **构建并运行命令**:
Read the full skill on GitHub

Details

Skill name
apiyi-gpt-image-2-gen
Path
skills/apiyi-gpt-image-2-gen/SKILL.md
Repo updated
7 November 2026

FAQ

What does the Apiyi Gpt Image 2 Gen skill do?

图片生成技能,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于API易平台(https://api.apiyi.com/)的ChatGPT Image 2模型(gpt-image-2)的官方正式版图片生成服务。该模型支持精确的尺寸/画质控制(含4K),按token计费。与gpt-image-2-all(官逆版)不同的关键点:使用/v1/images/generations和/v1/images/edits端点;有显式size参数;有quality参数;按token计费;使用multipart/form-data上传参考图;b64_json为纯base64无前缀。

How do I install the Apiyi Gpt Image 2 Gen skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add wuchubuzai2018/expert-skills-hub --skill apiyi-gpt-image-2-gen. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Apiyi Gpt Image 2 Gen popular?

It lives in wuchubuzai2018/expert-skills-hub, which has 43 GitHub stars and 6 forks.

Related skills

Apiyi Gpt Image 2 All Gen

43

wuchubuzai2018/expert-skills-hub

AI图片生成技能,使用ChatGPT最新生图 gpt-image-2-all,当用户需要生成图片、视觉信息图、创建图像、编辑/修改/调整已有图片时使用此技能。基于API易平台(https://api.apiyi.com/)的ChatGPT最新生图gpt-image-2-all模型(gpt-image-2-all)的图片生成服务,无需访问外网。该模型以 $0.03/张 按次计费,支持文生图、单图编辑、多图融合、自然语言改图,文字还原度高、中文提示词友好。尺寸通过prompt描述控制(无显式size参数)与NanoBanana2不同的关键点:无size参数,需在prompt开头描述尺寸;统一$0.03/张无分辨率阶梯;使用对话式端点/v1/chat/completions为主推。

Images, Video & Audio

Baidu Milan Winter Olympics 2026

43

wuchubuzai2018/expert-skills-hub

获取2026年米兰冬奥会数据技能,包括奖牌榜排名、现场新闻报道和赛程安排。从百度体育网页抓取实时的奖牌排行榜信息、最新新闻资讯和比赛赛程。当用户需要获取米兰冬奥会需求,需要查询冬奥会奖牌榜、了解各国奖牌数量、获取现场新闻、查看赛程安排时使用此技能。能够根据指定时间(今天、明天、yyyy-MM-dd日期格式)或指定运动项目获取赛程安排。A skill for retrieving 2026 Milan Winter Olympics data, including medal standings, live news reports, and competition schedules. Scrapes real-time medal rankings, latest news, and match schedules from Baidu Sports. Use this skill when users need to query Winter Olympics medal standings, check medal counts by country, get live news, or view competition schedules.

Data & Analytics

Csdn Article Publish

43

wuchubuzai2018/expert-skills-hub

csdn blog article publish skills,CSDN博客文章生成与发布技能。实现CSDN博客网站的文章的创建、保存草稿、更新和发布。适用场景:(1) 用户请求"帮我写一篇XX文章,保存到CSDN" (2) 用户请求"更新我CSDN上的某篇文章" (3) 用户请求"发布我的CSDN文章" 时调用此技能

Writing & Content

Audio Sync Assembly

48

saranambiar/hyperframes-video-agent-skills

Build and revise FFmpeg-based video assemblies from scene renders and narration, including audio probing, scene retiming, pauses, trim/concat, setpts, atempo, phrase-to-visual cue alignment, and final timeline manifests. Use when narration length, visual beats, product moments, or scene boundaries must sync precisely.

Images, Video & Audio

Captions and Music Bed

48

saranambiar/hyperframes-video-agent-skills

Generate, style, preview, and burn captions, and build music/percussion beds with ducking, loop/tail selection, fade-outs, and final silence. Use when captions are requested, captions are out of sync, subtitle style needs approval, background music competes with voiceover, or music must start/end at exact moments.

Images, Video & Audio

Youtube Transcript

62

ElliotJLT/Claude-Skill-Potions

Extracts YouTube video transcripts and saves them as structured markdown files with metadata and timestamped content. When a user shares a YouTube URL, IMMEDIATELY runs the extraction script, creates a local folder, and saves the transcript. Handles both manual and auto-generated captions.

Images, Video & Audio

Browse the most popular Claude skills, all images, video & audio skills, or write your own with the skills generator.