推出 img-cli 一款开源 CLI,让你的 AI 智能体能够生成图像、视频和音频。 • 适用于任何智能体:Claude Code、Codex、Cursor,或任何能运行 shell 命令的工具 • 一个 CLI 适配所有提供商:命令相同,参数相同,只需改一个词即可切换模型 • 只需一个 TOML 文件即可添加任何提供商,无需编写代码 • JSON 输出和稳定的退出码,专为脚本和智能体打造 $ img-cli image -m grsai:nano-banana-2.1 "a red apple" https://img-cli.dev
看原文
Introducing img-cli An open-source CLI that gives your AI agent the ability to generate images, video, and audio. • Works with any agent: Claude Code, Codex, Cursor, or anything that can run a shell command • One CLI for every provider: same commands, same flags, switch models by changing one word • Add any provider with a single TOML file, no code • JSON output and stable exit codes, built for scripts and agents $ img-cli image -m grsai:nano-banana-2.1 "a red apple" https://img-cli.dev