cm-imagegen

Community

Images generation via CodexManager API.

AuthorBoChao1Zhang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generate or edit raster images for projects using CodexManager's Images API, leveraging the current provider base_url and OPENAI_API_KEY instead of the built-in image_gen tool.

Core Features & Use Cases

  • Generate or edit images (e.g., website assets, UI mocks, logos, infographics) through CodexManager's Images API.
  • CLI-driven workflow with two subcommands, generate and edit, powered by scripts/cm_image_gen.py.
  • Respect provider config and output conventions: use CODEX_HOME/config.toml to locate the provider base_url, and CODEXMANAGER_IMAGE_OUTPUT_DIR for output directories; saves results under generated-images by default.

Quick Start

Run the CLI to generate images by providing a prompt, e.g., python ./scripts/cm_image_gen.py generate --prompt 'A minimal hero image'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cm-imagegen
Download link: https://github.com/BoChao1Zhang/dotfiles/archive/main.zip#cm-imagegen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.