
Image Generation
Generates article and documentation illustrations through a Codex-first path, with OpenAI and Gemini API fallbacks.
- skills.sh installs
- 4K
- last updated
- Aug 21, 2026
What it does
- Covers the full image workflow: requirement check, provider selection, prompt writing, parameter tuning, output placement, and visual verification
- Routes generation through the Codex built-in
image_gentool first, thenscripts/generate_image.pywith--provider autofalling back from OpenAI to Gemini - Prepends a minimalist flat-style prefix by default, with
--style-prefixand--no-styleavailable to override it - Designed for technical writers who need diagrams and concept visuals placed beside existing images in their Markdown articles
Install
$ npx -y skills add zc277584121/marketing-skills --skill image-generation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Image Generation Skill
Generate illustration images for blog posts, documentation, and technical articles. The workflow is provider-aware:
- Codex built-in path first — when the current agent is Codex and the built-in
image_gentool is available, use it directly. This path does not requireOPENAI_API_KEY. - OpenAI API fallback — outside Codex, or when the built-in tool is unavailable, use the local script with
OPENAI_API_KEYif present. - Gemini fallback — if OpenAI API generation is unavailable or fails, use the same script with
GEMINI_API_KEYand the existing Gemini image model.
Load provider-specific references only when needed:
- Codex built-in path:
references/codex-built-in.md - OpenAI API fallback:
references/openai-api.md - Gemini fallback:
references/gemini-api.md
When to Use
- User asks to generate an illustration, diagram, concept image, article visual, or documentation visual
- User is writing an article and needs visual explanations for concepts or workflows
- User explicitly asks for a generated raster image
Step 1: Determine the Image Requirements
Before generating, clarify only what is necessary:
Details
- Repository
- github.com/zc277584121/marketing-skills
- Categories
- AI Image, Video & Voice, Technical Documentation
- First seen
- May 16, 2026
More from zc277584121/marketing-skills
All 14Similar to Image Generation
More AI Image, Video & Voice
Mcp ImageMCP servershinpr195 starsGenerates and edits images via Gemini, OpenAI, or BytePlus Seedream, with optional prompt enhancement.
gpt-image-2Skillruncomfy-com/skills274.8K installsImage generation and editing with OpenAI GPT Image 2, prioritizing embedded text, logos, and multilingual typography precision.
image-genSkillmarswaveai/skills1.2K installsGenerate AI images from text prompts with optional reference images and selectable model, resolution, and aspect ratio.
imgPluginnyldn/claude-octopus4.5K starsGenerate and edit images with OpenAI GPT Image 2 and Gemini 3.1 Flash Image Preview.
baoyu-image-genSkillxy121718/baoyu-skills181 installsAI image generation through OpenAI, Google, DashScope, Replicate, and xheai APIs with reference-image and aspect-ratio support.
ai-image-generationSkillruncomfy-com/skills394.5K installsSmart router across 11+ image models via the runcomfy CLI, picking the right one for each intent.