← Back to Skills Marketplace
savior1987

Cs Free Image Generator Nv

by Chenfeng · GitHub ↗ · v1.3.0 · MIT-0
cross-platform ⚠ suspicious
237
Downloads
1
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install cs-free-image-generator-nv
Description
使用 NVIDIA MoCL 模型(via NVIDIA API Playground)进行免费文图生成(Text-to-Image)。当用户要求"生成图片"、"画一张图"、"text to image"、"文生图"时触发。
README (SKILL.md)

NVIDIA MoCL 文图生成

基于 NVIDIA API Playground 的 MoCL 模型,将自然语言描述转化为图像。

使用方式

python3 scripts/cs-free-image-generator-nv.py \
  --prompt "描述文字" \
  --width 1024 \
  --height 1024

参数说明

参数 必填 默认值 说明
--prompt 图像描述文本(英文效果更佳)
--width 图像宽度(1-4096)
--height 图像高度(1-4096)

输出

  • 响应 JSON 保存至:/tmp/cs-free-image-generator/nv/\x3CUnix时间戳>.json
  • 包含 base64 编码的图像数据,可解码保存为 PNG/JPEG 文件

示例

# 生成一只可爱的柯基犬 (1024×1024)
python3 scripts/cs-free-image-generator-nv.py \
  --prompt "一只可爱的柯基犬" \
  --width 1024 \
  --height 1024

注意事项

  • 环境变量:使用 dotenv 自动从 ~/.openclaw/.env 加载 NVIDIA_API_KEYoverride=True),强制从 .env 读取最新值,避免旧进程缓存干扰。
  • 宽高限制:1-4096,超出范围会报错
  • 响应体自动保存,方便追溯调用结果
Usage Guidance
This skill appears to do what it says (POST your prompt to an NVIDIA image-generation endpoint and save the JSON), but it has two practical red flags you should address before use: - NVIDIA_API_KEY is required at runtime but is not declared in the skill metadata. Confirm where you will supply this key (agent secret storage is preferable) and don't rely on undocumented behavior. - The script force-loads ~/.openclaw/.env with override=True. That will read and overwrite environment variables from that file — review its contents for any sensitive keys before allowing the skill to run. Recommendations: - If you trust the source, set NVIDIA_API_KEY explicitly in a controlled secret store (do not leave it in an accessible .env file) and verify the endpoint matches NVIDIA's official API. - Ask the skill author to update metadata to declare NVIDIA_API_KEY as a required primary credential and to avoid override=True or at least document it clearly. - Inspect or sandbox runs initially; check the /tmp/cs-free-image-generator/nv/ files to confirm only expected data is saved. If you do not trust the author or cannot confirm the .env contents, avoid installing.
Capability Analysis
Type: OpenClaw Skill Name: cs-free-image-generator-nv Version: 1.3.0 The skill bundle provides a legitimate implementation for image generation using the NVIDIA API. The Python script (cs-free-image-generator-nv.py) correctly validates input parameters, uses standard environment variable loading for the API key from the expected path (~/.openclaw/.env), and communicates exclusively with the official NVIDIA API endpoint (ai.api.nvidia.com). No evidence of data exfiltration, obfuscation, or malicious intent was found.
Capability Assessment
Purpose & Capability
The name/description (NVIDIA MoCL text-to-image) matches the script behavior: it POSTS prompts to an NVIDIA GenAI endpoint and returns/saves image JSON. However, the registry metadata declares no required environment variables while both SKILL.md and the script rely on NVIDIA_API_KEY — a clear mismatch.
Instruction Scope
Runtime instructions and script are narrowly scoped to: load environment, call the NVIDIA API, print the JSON response, and save it under /tmp/cs-free-image-generator/nv/<timestamp>.json. That scope aligns with the stated purpose. The instructions explicitly tell the agent to force-load ~/.openclaw/.env (override=True), which can alter environment values and should be treated as potentially surprising behavior.
Install Mechanism
No install spec; this is effectively an instruction + small script that uses standard Python libraries and requests. Nothing is downloaded from untrusted URLs or installed automatically; risk from install mechanism is low.
Credentials
The skill requires NVIDIA_API_KEY at runtime but the package metadata lists no required env vars or primary credential. The script uses dotenv.load_dotenv with override=True against ~/.openclaw/.env, which will forcibly replace existing environment values in-process — this can unexpectedly expose or overwrite secrets. Requesting a single provider API key would be proportionate, but failing to declare it and forcing a local .env read is concerning.
Persistence & Privilege
The skill is not always-enabled, does not modify other skills or global settings, and does not request persistent elevated privileges. Autonomous invocation is allowed by default (normal for skills) and not by itself a reason to flag.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cs-free-image-generator-nv
  3. After installation, invoke the skill by name or use /cs-free-image-generator-nv
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.3.0
- 强制使用 `dotenv` 从 `~/.openclaw/.env` 加载 `NVIDIA_API_KEY`(`override=True`),确保始终读取最新的环境变量,避免缓存问题 - 其余功能和参数说明保持不变
v1.2.0
- Now automatically loads `NVIDIA_API_KEY` from `~/.openclaw/.env` using `dotenv` (`override=False`), so manual configuration is no longer needed when running in the OpenClaw environment. - Documentation updated to reflect automatic environment variable loading. - No functional changes to command usage or output.
v1.0.1
更新 ownerId
v1.0.0
初始版本
Metadata
Slug cs-free-image-generator-nv
Version 1.3.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is Cs Free Image Generator Nv?

使用 NVIDIA MoCL 模型(via NVIDIA API Playground)进行免费文图生成(Text-to-Image)。当用户要求"生成图片"、"画一张图"、"text to image"、"文生图"时触发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 237 downloads so far.

How do I install Cs Free Image Generator Nv?

Run "/install cs-free-image-generator-nv" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cs Free Image Generator Nv free?

Yes, Cs Free Image Generator Nv is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cs Free Image Generator Nv support?

Cs Free Image Generator Nv is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cs Free Image Generator Nv?

It is built and maintained by Chenfeng (@savior1987); the current version is v1.3.0.

💬 Comments