LogoClawIndex
CasesSkillsAbout
LogoClawIndex

codex-imagegen - Generate and Edit Images via Codex CLI Imagegen

Generates or edits images (icons, banners, illustrations, OG images) in PNG/JPEG/WebP format using the Codex CLI built-in $imagegen skill with gpt-image-2.

Tags

Updated: 2026-06-30

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • generate image generation prompts
  • run codex exec non-interactively
  • move and resize output images
  • parse codex stdout for paths
  • edit existing images
  • generate batch image sets

Inputs

  • Image generation prompt
  • Output file path
  • Source image file
  • Output dimensions

Outputs

  • Image files in PNG/JPEG/WebP format
  • Resized image files
  • Absolute paths of generated images

Requirements

  • Codex CLI v0.130+ installed and authenticated
  • macOS sips or Linux ImageMagick for image resizing
  • Bash tool timeout of at least 300000 ms
  • OPENAI_API_KEY for batch API billing (optional)

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
image generation
codex CLI
gpt-image-2
image editing
PNG
icons
banners
OG images
generate image generation prompts
run codex exec non-interactively
move and resize output images
parse codex stdout for paths
Image generation prompt
Output file path
Source image file
Image files in PNG/JPEG/WebP format
Resized image files
Absolute paths of generated images