image-gen

Generate images from text prompts using the gpt-image-2 model.

326|43|Updated May 12, 2026
One-click install
npx skills add https://github.com/redfox-data/redfox-community --skill image-gen-redfox-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-gen
Source: https://github.com/redfox-data/redfox-community/tree/main/skills/image-gen
Command: npx skills add https://github.com/redfox-data/redfox-community --skill image-gen-redfox-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

本技能解决了从自然语言提示快速生成高质量图片,以及基于参考图进行风格化编辑的繁琐流程,显著缩短设计与内容创作的迭代周期。

Core Features & Use Cases

  • 文生图与图生图双模式:基于提示词生成全新图片,或在参考图基础上进行编辑
  • 批量生成与多格式输出:单次最多生成 10 张,支持 PNG、JPEG、WebP
  • 自定义尺寸与保真度控制:提供预设分辨率、输出质量和背景选项,适用于设计、营销与电商场景

Quick Start

直接提供一个提示词即可开始生成图片。

Frequently Asked Questions about image-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate images from text prompts using the gpt-image-2 model?

Yes, image-to-image editing supports reference images. You can supply an existing image alongside your prompt and adjust optional fidelity controls to guide the stylistic modifications precisely.

How do I generate images from text prompts using the gpt-image-2 model?

To generate images from text prompts, provide a natural language description and specify constraints like size, quality, and output format. The gpt-image-2 model processes these inputs to create custom visuals for design or marketing.

Can I use a reference image for style editing and modification?

Yes, image-to-image editing supports reference images. You can supply an existing image alongside your prompt and adjust optional fidelity controls to guide the stylistic modifications precisely.

What formats and batch limits apply when generating multiple images at once?

Batch generation allows creating up to 10 images per request. The system outputs files in PNG, JPEG, or WebP formats, accommodating high-volume e-commerce and marketing needs.

Do I need an API key to automate text-to-image workflows?

Yes, automating image generation requires a valid REDFOX_API_KEY. This key authenticates your requests when submitting prompt constraints, reference images, and fidelity settings to the model.

Are there limitations on customizing output size and background options?

Customization is limited to preset resolutions, output quality levels, and background options. You must specify these user-defined constraints alongside your prompt to ensure the generated output meets your design requirements.