← Back to Skills Marketplace
netyingxiao

ModelScope AI Image Generator

by netyingxiao · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
178
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install modelscope-img-gen
Description
魔搭(ModelScope)AI 图片生成。支持多种模型、LoRA 微调。触发词:生成图片、AI绘画、文生图、image generation、generate image。当用户要求生成图片、画图、AI 作画,或提到魔搭、ModelScope、通义万象时使用。
Usage Guidance
This skill's behavior is consistent with a ModelScope image generator, but the registry metadata omitted the API-key requirement. Before installing, review the included scripts/generate.py yourself and confirm you trust the source. If you use it, provide a dedicated ModelScope API key (avoid using any high-privilege or shared keys), and consider running the script in an isolated environment. Note that the script can save the key to ~/.modelscope/api_key — verify the file path and permissions, and remove the file if you later revoke the key. Finally, install the minimal dependencies (requests, pillow) and prefer passing the key via CLI or an ephemeral environment variable rather than storing it permanently if you have concerns.
Capability Analysis
Type: OpenClaw Skill Name: modelscope-img-gen Version: 1.0.0 The skill is a legitimate tool for generating images using the ModelScope API. The core logic in `scripts/generate.py` handles API authentication, asynchronous task polling, and image downloading in a standard manner. API keys are managed through environment variables or a local configuration file (`~/.modelscope/api_key`) with basic permission handling. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
The skill claims to be a ModelScope image generator and the code/SKILL.md implement that exactly (calls ModelScope inference endpoints, supports LoRA). However, the registry metadata lists no required environment variables or primary credential while both the script and SKILL.md require an API key (MODELSCOPE_API_KEY or config file). That mismatch is an incoherence in the manifest.
Instruction Scope
SKILL.md and the script stay within the stated purpose: they instruct how to supply an API key, call ModelScope endpoints, poll for task completion, download the generated image and save it locally. There is no instruction to read unrelated system state or transmit unrelated data.
Install Mechanism
There is no install spec (instruction-only), which reduces risk. The package includes a Python script that requires requests and pillow (noted in SKILL.md). No external archives or obscure download URLs are used. The presence of an executable script without an install step is acceptable but SKILL metadata could list these dependencies.
Credentials
The script expects an API key via CLI/env/config (~/.modelscope/api_key) and can save that key to a local file. Requesting a single ModelScope API credential is proportionate to the stated purpose, but the skill metadata does not declare it (missing required env/primary credential). The ability to write the API key to ~/.modelscope/api_key should be noted by users.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It does write a per-user config file (~/.modelscope/api_key) when asked to save a key, which is expected behavior for a CLI client.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install modelscope-img-gen
  3. After installation, invoke the skill by name or use /modelscope-img-gen
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: AI image generation with LoRA support
Metadata
Slug modelscope-img-gen
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is ModelScope AI Image Generator?

魔搭(ModelScope)AI 图片生成。支持多种模型、LoRA 微调。触发词:生成图片、AI绘画、文生图、image generation、generate image。当用户要求生成图片、画图、AI 作画,或提到魔搭、ModelScope、通义万象时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 178 downloads so far.

How do I install ModelScope AI Image Generator?

Run "/install modelscope-img-gen" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is ModelScope AI Image Generator free?

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

Which platforms does ModelScope AI Image Generator support?

ModelScope AI Image Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ModelScope AI Image Generator?

It is built and maintained by netyingxiao (@netyingxiao); the current version is v1.0.0.

💬 Comments