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

# Ollama x/z-image-turbo Skill

## 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) :
```bash
python3 /Users/openclaw/.openclaw/skills/ollama-x-z-image-turbo/runner.py \
  --prompt "<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: <numéro>
message: <légende>
filePath: /Users/openclaw/.openclaw/workspace/tmp/ollama_image.png
```

## Paramètres disponibles
| Paramètre   | Défaut | Description                     |
|-------------|--------|---------------------------------|
| --prompt    | requis | Description de l'image          |
| --width     | 1024   | Largeur en pixels               |
| --height    | 1024   | Hauteur en pixels               |
| --steps     | 20     | Étapes de débruitage            |
| --seed      | aléa   | Graine pour reproductibilité    |
| --negative  | aucun  | Prompt négatif                  |
| --timeout   | 300    | Timeout 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`


---
Source attribution: modbender
Original project: https://github.com/modbender/skill-library-mcp/blob/d9c8fe903b5b4e82237dbe8d0df8567783022e18/data/ollama-x-z-image-turbo/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2025 skill-library-mcp contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: modbender
Original project: https://github.com/modbender/skill-library-mcp/blob/d9c8fe903b5b4e82237dbe8d0df8567783022e18/data/ollama-x-z-image-turbo/SKILL.md
Attribution basis: Source repository record

Fields of work: Design, Marketing
Roles: Content Marketer, Graphic Designer, UX Designer
Specialties: Design
Tools: Ollama, WhatsApp
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: aa590501628e9322febac41f851481609a004d46a1b23fea438e208a0e436996
