by lidge-ai
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-ai/ima2-genLast scanned: 11/29/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@typescript-eslint/eslint-plugin: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/parser: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/type-utils: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/typescript-estree: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "@typescript-eslint/utils: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "ajv: Vulnerability found",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "fast-uri: fast-uri vulnerable to inconsistent host case normalization via percent-encoded octets",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "minimatch: minimatch has potential denial of service via globparts amplification",
"severity": "medium"
},
{
"type": "npm-audit",
"message": "typescript-eslint: Vulnerability found",
"severity": "medium"
},
{
"file": "README.md",
"line": 272,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
},
{
"file": "README.md",
"line": 147,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://ima2gen.com/install-mac.sh | bash\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-11-29T13:30:30.765Z",
"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-ai. Local-first visual generation runtime and studio for people and coding agents, with reproducible image and video workflows across multiple providers. It has 922 GitHub stars.
Yes. ima2-gen passed AgentsLLM'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-ai/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-ai on GitHub, so you can review or fork the full source.
Yes. AgentsLLM 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!
npm install -g ima2-gen
ima2 serve
Write a prompt, attach references, pick a lane and model. Every result keeps its prompt, timing and settings, so you can copy it, continue from it, or animate it.
Keep a good image and push it in several directions at once. Each branch remembers its parent, so nothing gets overwritten.
Annotate, erase, cut backgrounds and export with real alpha. One-click GPT transparency is checked on the server before the app calls it transparent.
See which lanes are ready, type a prompt, and pick up recent work without digging through folders.
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. It runs a small server on your machine, keeps every image in ~/.ima2/generated, and talks to the providers you connect: OpenAI OAuth/API, Grok OAuth/API, Antigravity CLI, Gemini API, AtlasCloud, MiniMax, NovelAI and registered ComfyUI workflows. Runway and Higgsfield stay separate MCP-backed integrations. Prompts and references go only to the provider you pick for each job.
🐼 Partner Pick · 合作推荐:买 AI 别花冤枉钱!花钱前先查【模真真 Mozhenzhen】/ Stop overpaying for AI — check Mozhenzhen before you buy:
The desktop app runs the same local server and studio in a Mac window with a menu bar icon. It is signed with a Developer ID and notarized by Apple, and it brings its own runtime, so you do not need Node.js.
ima2-<version>-mac-arm64.dmg from the newest ima2 Desktop release.The Mac App guide covers checksums, updates and settings. On an Intel Mac, Windows or Linux, use npm or a one-line installer.
npm install -g ima2-gen
ima2 setup
ima2 serve
Then open http://localhost:3333. If 3333 is taken, ima2-gen binds the next free port and writes the real URL to ~/.ima2/server.json; ima2 open always finds it.
Pick explicit image and video defaults once, then generate:
ima2 models
ima2 defaults set image oauth/gpt-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 gen and generate-mode ima2 video fail closed with NO_DEFAULT_MODEL until a CLI target is configured, unless the call passes --model <lane>/<model> or an explicit --provider <lane>. An upgrade can never silently switch providers or billing lanes.
Each script checks the package-derived Node.js floor, installs Node LTS if needed, installs ima2-gen once, and runs the offline installation check before launching ima2 serve. It does not stop unrelated processes or clear global locks.
macOS
curl -fsSL https://ima2gen.com/install-mac.sh | bash
Windows (PowerShell)
irm https://ima2gen.com/install-windows.ps1 | iex
Linux / WSL
curl -fsSL https://ima2gen.com/install-linux.sh | bash
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.
ima2 setup offers four authentication choices:
Video generation needs Grok OAuth (option 2 or 3). If you already use GPT OAuth, run ima2 grok login to add video; it defaults to the manual-paste flow.
To update, run:
ima2 update # or: ima2 update --check
It installs the latest release globally, restarts the login service or background server
it owns, and waits until the new version answers. A server running in a terminal
(ima2 serve) only needs a restart afterwards. ima2 tells you when an update is waiting:
interactive commands print one line and the web UI shows an update button in the top
strip. Set IMA2_DISABLE_UPDATE_CHECK=1 to turn the background check off. Without the
command, stop the server with Ctrl+C (or ima2 stop) and run npm install -g ima2-gen@latest.
Ctrl+C shuts down cleanly: it closes the database, stops child processes and releases file locks. If an install fails, check the reported npm permissions or stop the specific ima2 process yourself; the installer does not perform broad process cleanup.
Using npx instead? See docs/NPX_QUICKSTART.md for the npx ima2-gen serve workflow.