本地 Ollama 文生图工具。使用 x/z-image-turbo 模型生成图片,分辨率 1024x1024,每张图约耗时 90 秒。当用户说"生成图片"、"文生图"、"画一张图"、或提交中文提示词生成图像时使用。

v1.0.0

本地 Ollama 文生图工具。使用 x/z-image-turbo 模型生成图片,分辨率 1024x1024,每张图约耗时 90 秒。当用户说"生成图片"、"文生图"、"画一张图"、或提交中文提示词生成图像时使用。

0· 136·0 current·0 all-time
byThomas@jiafeimao-gjf
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (local Ollama text→image using x/z-image-turbo) matches the code and instructions. No unrelated binaries, env vars, or external services are requested.
Instruction Scope
SKILL.md and the script limit network activity to http://localhost:11434 (local Ollama). The script writes PNG files to an images/ directory. Note: SKILL.md does not declare the Python requests dependency required by scripts/t2i.py, and the usage example references an absolute path under ~/.openclaw which may not match every install location.
Install Mechanism
No install spec — instruction-only plus a small helper script. Nothing is downloaded or installed by the skill itself.
Credentials
The skill requires no environment variables, credentials, or config paths. Prompts are sent only to the local Ollama endpoint; no secrets are requested or stored by the skill.
Persistence & Privilege
always:false and no code that modifies other skills or system-wide agent settings. The script only creates/uses its own output directory.
Assessment
What to check before installing/use: 1) Ensure you run a trusted Ollama instance at http://localhost:11434 and that you have pulled the x/z-image-turbo model as instructed; if your Ollama is configured to forward requests externally, prompts could leave your machine — verify Ollama's network/telemetry settings. 2) The script uses the Python requests package; install it if missing (pip install requests). 3) The example uses an absolute skill path (~/.openclaw/...), adjust if your skill is installed elsewhere. 4) The script saves base64-decoded images into an images/ directory (filenames randomized) — verify disk location and free space. 5) Minor bug: the printed 'file size' is the length of the base64 string, not exact byte size of the PNG. Overall the skill appears to do only local image generation and file writes and does not request credentials or contact remote services, so it is coherent with its description.

Like a lobster shell, security has layers — review code before you run it.

latestvk978vptgwyfabv08rxzrkwyt2983dwpv

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments