Install
openclaw skills install cs-free-image-generator-nv使用 NVIDIA MoCL 模型(via NVIDIA API Playground)进行免费文图生成(Text-to-Image)。当用户要求"生成图片"、"画一张图"、"text to image"、"文生图"时触发。
openclaw skills install cs-free-image-generator-nv基于 NVIDIA API Playground 的 MoCL 模型,将自然语言描述转化为图像。
python3 scripts/cs-free-image-generator-nv.py \
--prompt "描述文字" \
--width 1024 \
--height 1024
| 参数 | 必填 | 默认值 | 说明 |
|---|---|---|---|
--prompt | ✅ | — | 图像描述文本(英文效果更佳) |
--width | ✅ | — | 图像宽度(1-4096) |
--height | ✅ | — | 图像高度(1-4096) |
/tmp/cs-free-image-generator/nv/<Unix时间戳>.json# 生成一只可爱的柯基犬 (1024×1024)
python3 scripts/cs-free-image-generator-nv.py \
--prompt "一只可爱的柯基犬" \
--width 1024 \
--height 1024
dotenv 自动从 ~/.openclaw/.env 加载 NVIDIA_API_KEY(override=True),强制从 .env 读取最新值,避免旧进程缓存干扰。