📦 Image Generation (Ollama x/z-image-turbo · macOS only) — 技能工具

v1.0.0

Génère une image en local via Ollama x/z-image-turbo sur macOS et l'envoie sur WhatsApp selon le prompt donné.

0· 813·1 当前·1 累计
by @eric51 (Eric51)·MIT-0
下载技能包
License
MIT-0
最后更新
2026/3/1
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
可疑
medium confidence
The skill generally matches its stated purpose (generate images with Ollama and send via WhatsApp) but has several incoherences and surprising pieces (undeclared binary requirements, extra FastAPI endpoints that post externally, and hard-coded agent paths) that warrant caution before installing.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/9

- Initial release of the skill. - Generates images using the Ollama `x/z-image-turbo` model (macOS only). - Automatically sends the generated image to WhatsApp with a caption. - Supports custom generation parameters (size, steps, seed, negative prompt). - Requires a local Ollama instance running on macOS with the corresponding model installed.

无害

安装命令

点击复制
官方npx clawhub@latest install ollama-x-z-image-turbo
🇨🇳 镜像加速npx clawhub@latest install ollama-x-z-image-turbo --registry https://cn.longxiaskill.com

技能文档

Description

Génère des images via Ollama (modèle x/z-image-turbo) et les envoie sur WhatsApp.

Déclenchement

Quand l'utilisateur demande de générer/créer/dessiner une image (ou variantes), suivre ces étapes :

Étape 1 — Générer l'image

Exécuter via exec avec pty=true (obligatoire) :
python3 /Users/openclaw/.openclaw/skills/ollama-x-z-image-turbo/runner.py \
  --prompt "" \
  --width 1024 --height 1024 --steps 20 \
  --out /Users/openclaw/.openclaw/workspace/tmp/ollama_image.png -v

Important :

  • pty=true est obligatoire (Ollama nécessite un TTY)
  • timeout=120 minimum recommandé
  • Ajuster --width, --height, --steps selon la demande

Étape 2 — Envoyer sur WhatsApp

Utiliser l'outil message :
action: send
channel: whatsapp
to: 
message: 
filePath: /Users/openclaw/.openclaw/workspace/tmp/ollama_image.png

Paramètres disponibles

ParamètreDéfautDescription
--promptrequisDescription de l'image
--width1024Largeur en pixels
--height1024Hauteur en pixels
--steps20Étapes de débruitage
--seedaléaGraine pour reproductibilité
--negativeaucunPrompt négatif
--timeout300Timeout en secondes

Exemples de demandes utilisateur

  • "Génère une image d'un chat astronaute"
  • "Crée-moi une illustration d'un coucher de soleil"
  • "Dessine un robot dans une forêt"
  • "Fais une image de …"

Prérequis

  • Ollama actif sur http://127.0.0.1:11434
  • Modèle installé : x/z-image-turbo:latest
数据来源:ClawHub ↗ · 中文优化:龙虾技能库