← Back to Skills Marketplace
jiafeimao-gjf

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

by Thomas · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
192
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ollama-t2i
Description
本地 Ollama 文生图工具。使用 x/z-image-turbo 模型生成图片,分辨率 1024x1024,每张图约耗时 90 秒。当用户说"生成图片"、"文生图"、"画一张图"、或提交中文提示词生成图像时使用。
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ollama-t2i
  3. After installation, invoke the skill by name or use /ollama-t2i
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Ollama 文生图 1.0.0 首次发布: - 支持通过 x/z-image-turbo 模型在本地生成 1024x1024 图片(约 90 秒/张)。 - 使用简单命令行工具,支持单次与批量中文提示词生图。 - 输出图片自动保存于 images 目录并包含耗时统计。 - 适配本地 Ollama 服务与模型。
Metadata
Slug ollama-t2i
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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

本地 Ollama 文生图工具。使用 x/z-image-turbo 模型生成图片,分辨率 1024x1024,每张图约耗时 90 秒。当用户说"生成图片"、"文生图"、"画一张图"、或提交中文提示词生成图像时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 192 downloads so far.

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

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

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

Yes, 本地 Ollama 文生图工具。使用 x/z-image-turbo 模型生成图片,分辨率 1024x1024,每张图约耗时 90 秒。当用户说"生成图片"、"文生图"、"画一张图"、或提交中文提示词生成图像时使用。 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

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

本地 Ollama 文生图工具。使用 x/z-image-turbo 模型生成图片,分辨率 1024x1024,每张图约耗时 90 秒。当用户说"生成图片"、"文生图"、"画一张图"、或提交中文提示词生成图像时使用。 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

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

It is built and maintained by Thomas (@jiafeimao-gjf); the current version is v1.0.0.

💬 Comments