Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

rubyonsoft/image-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

image-gen skill v1.0

Codex/Claude skill for generating images through Codex's built-in image_gen tool by spawning a fresh codex exec session.

The main workflow is documented in SKILL.md. The short version:

  • Uses ChatGPT OAuth via Codex, not an OPENAI_API_KEY fallback.
  • Spawns an ephemeral Codex session to keep image prompts isolated from the caller's long-running context.
  • Verifies generated PNGs from ~/.codex/generated_images/<session_id>/ig_*.png instead of trusting model-reported paths.
  • Uses a stable transparent PNG contract: generate on solid #FF00FF or #00FF00, then run scripts/chroma_key_transparent.py.
  • Includes experimental batch and continuation scripts under scripts/.

Install

From Codex skill installer workflows, install this repository as a root skill:

python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
 --repo aldegad/image-gen \
 --path .

For local umbrella installs, keep this repository as the public upstream and symlink/copy it through your own agent-skill installer.

Requirements

which codex
codex login status
codex features list | grep image_generation

Transparent PNG post-processing requires Python Pillow (PIL). ImageMagick (magick) remains useful for optional inspection.

License

MIT

About

Codex image_gen skill wrapper with fresh exec isolation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /