Index of every page on this site: llms.txt
All skills
Run it yourself

AI image generator — powered by the gpt-image-2 model, supports text-to-image and image-to-image editing with batch generation, aspect-ratio and resolution control. Ready to use with a single prompt. Use when the user wants to generate images, create artwork, edit images with reference pictures, or produce AI illustrations.

  • 4 files
  • 33.7 KB
  • MIT
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/redfox-data/redfox-agent-plugins/image-gen

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.zh.md

≈722 tokens on demand. Your agent reads this file only when SKILL.md points to it.

GPT-image2 / image-gen

English | 简体中文


简介

基于 OpenAI gpt-image-2 模型的 AI 图片生成器,支持文生图与图生图。

核心价值

  • 文生图:输入提示词,生成全新高质量图片
  • 图生图:上传参考图(最多 2 张) + 提示词,基于原图编辑生成
  • 批量生成:单次最多 4 张(新接口上限)
  • 参数可控:宽高比(16:9 / 9:16 / 1:1 等 13 种) + 分辨率档位(1k / 2k / 4k)

适用对象

  • 🎨 设计师 — 快速生成创意概念图、Logo 设计
  • 📱 内容运营 — 批量产出配图素材
  • 🛍️ 电商卖家 — 生成产品展示图、场景图

功能特性

核心功能

  • 文生图:输入提示词,gpt-image-2 自动生成 PNG 图片
  • 图生图:上传参考图(最多 2 张),基于原图编辑生成
  • 批量生成:单次最多 4 张,适合图标集、系列配图
  • 宽高比可选:1:1 / 3:2 / 2:3 / 4:3 / 3:4 / 5:4 / 4:5 / 16:9 / 9:16 / 2:1 / 1:2 / 21:9 / 9:21
  • 分辨率档位:1k(快) / 2k(默认) / 4k(高清,较慢)
  • 任务管理:支持仅提交任务获取 taskId,稍后查询下载

密钥获取与安全说明

  • 本技能需要使用环境变量:REDFOX_API_KEY。
  • REDFOX_API_KEY 由 红狐 hub (https://redfox.hk)提供。
  • 请前往 红狐 hub 注册账号,获取 REDFOX_API_KEY。
  • 配置设备环境变量 REDFOX_API_KEY 后使用本技能。
  • 在提供密钥前,请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。
  • 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。

使用指南

直接用自然语言描述你想要的图片即可。

常用说法速查

意图 示例话术 效果
文生图 「生成一只橘猫看窗外夕阳的图片」 提交任务,生成高质量图片
图生图 「把这张照片改成赛博朋克风格」 上传参考图进行风格迁移
竖版封面 「生成一张小红书封面,3:4 竖版」 使用 --size 3:4 生成竖构图
批量生成 「生成 4 张扁平风格图标」 一次生成多张风格一致的图片

使用场景

场景 角色 示例问法 收益
创意配图 内容运营 「生成一张文章封面图」 快速产出高质量配图
Logo 设计 设计师 「生成一个极简风格的 Logo」 快速验证多种设计方案
产品展示 电商运营 「生成 4:3 的产品图」 零摄影成本的产品展示图
风格迁移 摄影师 「把这张照片转成水彩画风格」 自然语言驱动风格转换

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at e5375fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 2 months ago

README badge

README badge for redfox-data/redfox-agent-plugins/image-gen