让你的编程 Agent 直接使用 KIE 上 200+ 图片、视频、音乐和语音模型。
kie-models 教会 Agent 使用 KIE 模型市场:查找模型、读取参数、上传输入文件、提交任务、轮询到完成,并保存结果。npx)。kie-models 和 kie-chat-agents。以后再运行一次同样的命令即可更新到最新版本。KIE_API_KEY 读取密钥,不需要把密钥写进项目里。~/.zshrc、~/.bashrc):$env:KIE_API_KEY = "your_key"
setx KIE_API_KEY "your_key"setx 只对之后新开的窗口生效。想立刻用上,同时设 $env:。KIE_API_KEY 的 shell 里重启 Agent,然后直接用自然语言提需求:Use the kie-models skill to run gpt-image-2-text-to-image on KIE. Prompt: "a white ceramic mug on a light oak table, soft daylight, product photo". Aspect ratio 1:1, resolution 1K. Save the image to ./output../output。