by lidge-jun
Local-first visual generation runtime and studio for people and coding agents, with reproducible image and video workflows across multiple providers.
# Add to your Claude Code skills
git clone https://github.com/lidge-jun/ima2-genLast scanned: 8/15/2026
{
"issues": [
{
"type": "npm-audit",
"message": "body-parser: body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement",
"severity": "low"
},
{
"file": "README.md",
"line": 160,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
},
{
"file": "README.md",
"line": 65,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://lidge-jun.github.io/ima2-gen/install-mac.sh | bash\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-08-15T04:29:42.704Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}ima2-gen is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by lidge-jun. Local-first visual generation runtime and studio for people and coding agents, with reproducible image and video workflows across multiple providers. It has 751 GitHub stars.
Yes. ima2-gen passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/lidge-jun/ima2-gen" and add it to your Claude Code skills directory (see the Installation section above).
ima2-gen is primarily written in TypeScript. It is open-source under lidge-jun on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ima2-gen against similar tools.
No comments yet. Be the first to share your thoughts!
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
| Contract | Value |
|---|---|
| Node engine | >=22 |
| npm toolchain | npm@11.18.0 |
| Release Node | 24.17.0 |
| CLI entry | bin/ima2.js |
| OpenAI SDK | ^7.4.0 |
| Express | ^5.1.0 |
The installer derives its Node.js floor from package metadata and runs an offline installation check before launching the server.
🌐 Live site: lidge-jun.github.io/ima2-gen · 한국어
📖 Developer docs: Documentation site · 한국어
ima2-gen is a local-first visual generation runtime and studio for people and coding agents, with reproducible image and video workflows across multiple providers.
Install globally and generate images and videos through the core registry: OpenAI OAuth/API, Grok OAuth/API, Antigravity CLI, Gemini API, AtlasCloud, MiniMax, NovelAI, and registered ComfyUI workflows. Runway and Higgsfield remain separate MCP-backed integrations. Iterate with history, references, node branches, multimode batches, and Canvas Mode cleanup — now with one-click GPT background transparency (server-verified real alpha), annotation hover feedback, and a full light/dark/system theme.

npm install -g ima2-gen
ima2 setup
ima2 serve
Then open http://localhost:3333.
docker build -t ima2-gen .
docker run -d -p 3333:3333 -e IMA2_LAN_TOKEN=change-me -v ima2-data:/data ima2-gen
See docs/DOCKER.md for compose usage, required environment, and limitations.
To generate from the CLI, inspect the live lane catalog and choose explicit image/video defaults once:
ima2 models
ima2 defaults set image oauth/gpt-5.6-luna
ima2 defaults set video grok/grok-imagine-video-1.5
ima2 gen "a clean product photo of a red guitar pedal"
ima2 video "a cat playing piano" --duration 5 --resolution 720p
ima2 video "animate this scene" --ref photo.png --duration 10
ima2 gen and generate-mode ima2 video fail closed with NO_DEFAULT_MODEL until a CLI target is configured, unless that call passes --model <lane>/<model> or an explicit --provider <lane>. This prevents an upgrade from silently switching providers or billing lanes.
If 3333 is already occupied, ima2-gen binds the next available port and writes the actual URL to ~/.ima2/server.json. Use ima2 open or the URL printed in the terminal instead of assuming the port.
Using npx? See docs/NPX_QUICKSTART.md for the
npx ima2-gen serveworkflow.
Don't have Node.js or npm? Use the platform install script — it detects your environment, installs Node LTS if needed, then installs ima2-gen.
macOS:
curl -fsSL https://lidge-jun.github.io/ima2-gen/install-mac.sh | bash
Windows (PowerShell):
irm https://lidge-jun.github.io/ima2-gen/install-windows.ps1 | iex
Linux / WSL:
curl -fsSL https://lidge-jun.github.io/ima2-gen/install-linux.sh | bash
Each script checks the package-derived Node.js floor, installs Node LTS through the best available method, installs once, and runs the offline installation check before launching ima2 serve. It does not stop unrelated processes or clear global locks.
ima2 setup offers four authentication choices:
Video generation requires Grok OAuth (option 2 or 3). Run ima2 grok login separately if you already have GPT OAuth configured and want to add video support; it defaults to the manual-paste flow.
Stop the running server with Ctrl+C, then:
(or from another terminal: ima2 stop)
npm install -g ima2-gen@latest
Ctrl+C now performs a clean shutdown — closing the database, stopping child processes, and releasing file locks. If an installation fails, inspect the reported npm permissions or stop the specific ima2 process yourself; the installer does not perform broad process cleanup.
ima2 vectorize, from AssetGen/Assets, or from Canvas Export. Canvas labels its older self-contained wrapper as SVG (embedded raster) so it cannot be mistaken for a trace.ima2-gen ships three packaged skills for AI coding agents. These are Markdown instruction files that agents load to get structured workflows for image/video generation, frontend asset production, and design direction discovery.
| Skill | Command | What It Covers |
|---|---|---|
| Core | ima2 skill |
CLI reference, prompting protocol, provider routing, Korean text, video workflows |
| Frontend | ima2 skill front |
Asset pipeline (parallel gen, variant selection, provider routing), motion/video for web, responsive, a11y, anti-slop, 30+ reference files |
| UI/UX Design | ima2 skill uiux |
Image-first design direction discovery, UX states, design-isms, product personalities, DESIGN.md workflow, 18 reference files |
ima2 skill ls # list available skills
ima2 skill front # print the frontend skill
ima2 skill uiux # print the design skill
ima2 skill front path # print file path (for agents)
ima2 skill front --json # JSON wrapper (for agents)
ima2 skill front refs # list reference modules (35 files)
ima2 skill front ref motion # load one reference module
ima2 skill install --dir <path> # install skills to agent's skill dir
ima2 skill install --tmp # install to temp dir (fallback)
The Frontend and UI/UX skills are production-grade design engineering guides
adapted for the ima2 workflow. They cover typography, color systems, layout
discipline, Korean UX patterns, motion choreography, and visual verification,
with every asset generation step mapped to ima2 gen, ima2 video, and
ima2 multimode commands.
The web UI uses a single GET /api/events Server-Sent Events connection for all generation progress. Multimode, node, and video requests are submitted as async POST (202 { requestId }) and progress events are multiplexed through a shared event bus. This el