Xpersona
Z

Z-image Local image generation with OpenVINO (no API key)

CLAWHUB · Unverified

generate an image, create a picture, draw something, make an image of, text to image, paint a picture, illustrate, visualize, local image generation, AI art,...

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s173azbgamm32k2k6jqanh87d983hkws:local-image-gen-aipc
  1. Install using `clawhub skill install s173azbgamm32k2k6jqanh87d983hkws:local-image-gen-aipc` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/juan-oy/local-image-gen-aipc before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-juan-oy-local-image-gen-aipc/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

88,864 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: local-image-gen-aipc
#displayName: Local Image Generation (Windows · Z-Image-Turbo · OpenVINO)


description: >
generate an image, create a picture, draw something, make an image of, text to image,
paint a picture, illustrate, visualize, local image generation, AI art, image synthesis,
offline image generation, no API key, local inference, generate art, create artwork,
produce an image, render an image, AI drawing, image from text.
Runs Z-Image-Turbo on-device on Windows via Intel OpenVINO. Prioritizes Intel iGPU
(Xe / Arc), falls back to CPU. Bilingual prompts (English + Chinese) supported.
SETUP requires network: downloads pip dependencies from GitHub and the model (\~10 GB)
from modelscope.cn. INFERENCE is fully offline after setup — no cloud API calls.
os: windows
requires:

* python>=3.10
* git
network:
setup: required    # github.com (pip deps), modelscope.cn (\~10 GB model)
inference: offline
user-invocable: true
allowed-tools: Bash(python *), Bash(powershell *), Bash(git *), Read, Glob, Write, message
---


**Model**: `snake7gun/Z-Image-Turbo-int4-ov` (ModelScope INT4)  
**SKILL_VERSION**: `v1.0.3`

> **Network usage**: Setup downloads pip dependencies (some pinned to git+https commits)
> from `github.com`, and the model (~10 GB, resume supported) from `modelscope.cn`.
> Inference is fully offline — no network calls once setup is complete.

**First time?** Before using this skill, run these two scripts once in a terminal:

```
python setup.py          # creates venv, installs dependencies (~5 min)
python download_model.py # downloads the model (~10 GB, resumable)
```

Both scripts are in the skill directory alongside this SKILL.md.

## Directory layout (all auto-created)

```
{USERNAME}_openvino\
├── venv\                          ← shared venv (created by setup.py)
└── imagegen\
    ├── state.json                 ← written by setup.py
    ├── generate_image.py          ← deployed by setup.py (versioned)
    ├── Z-Image-Turbo-int4-ov\    ← downloaded by download_model.py (~10 GB)
    └── outputs\YYYYMMDD_HHMMSS_topic.png
```

---

##  Agent instructions

1. **Windows / PowerShell only.** Never use Linux commands (`ls`, `rm`, `cat`). Never use `&&` or `call`.
2. **Every step reads `state.json` itself** — do not pass paths between steps manually.
3. **Use `VENV_PY` from state.json for all inference and package-import calls** — never use system Python for inference or Step 2 DEP_CHECK. Exception: `setup.py`, `check_env.py`, `download_model.py`, and the Step 2 script-write command intentionally run with system Python (they only use stdlib or create/validate the venv, so they must not depend on it).
4. **CRITICAL — Never modify `generate_image.py` manually.** It is deployed and versioned by `setup.py`. If it fails or is missing, re-run `setup.py`.
5. **Goal**: generate an image and send the preview to the conversation.

**Auto-recovery policy — try before asking user:**

_meta.json

{
  "ownerId": "kn75xq7qvvbsb570pefwj4hav58393qf",
  "slug": "local-image-gen-aipc",
  "version": "1.0.3",
  "publishedAt": 1776042733620
}

skill-card.md

## Description:

Generates images from English or Chinese text prompts locally on Windows using Z-Image-Turbo with Intel OpenVINO, preferring Intel iGPU and falling back to CPU.

This skill is ready for commercial/non-commercial use.

## Publisher:

[juan-oy](https://clawhub.ai/user/juan-oy)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and Windows users use this skill to set up local OpenVINO image generation and create PNG images from text prompts without a cloud API after setup.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill has broad automatic setup authority, including silent prerequisite installation and host modifications.

Mitigation: Review setup actions before first use, prefer manually installing Python and Git, and run setup in a contained user environment.

Risk: Setup depends on external package and model downloads, including pinned Git dependencies and an approximately 10 GB ModelScope model.

Mitigation: Verify installer and model sources, review or lock dependencies, and allow the download only on networks where these sources are trusted.

Risk: The skill creates persistent local files for its virtual environment, model files, state, generated script, and image outputs.

Mitigation: Confirm available disk space and review the generated output directory before using it on a primary or managed machine.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/juan-oy/skills/local-image-gen-aipc)
- [ModelScope Z-Image-Turbo INT4 model files](https://modelscope.cn/models/snake7gun/Z-Image-Turbo-int4-ov/files)
- [Pinned Optimum Intel dependency](https://github.com/openvino-dev-samples/optimum-intel.git@2f62e5aee74b4acba3836e1f26678c0db0a09c00)
- [Pinned Diffusers dependency](https://github.com/huggingface/diffusers.git@a1f36ee3ef4ae1bf98bd260e539197259aa981c1)
- [Artifact requirements](artifact/requirements_imagegen.txt)

## Skill Output:

**Output Type(s):** [Files, Shell commands, Configuration instructions, Guidance]

**Output Format:** [Markdown guidance with PowerShell commands and PNG image file output]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Accepts a required text prompt plus optional steps, size, seed, and output path; setup downloads dependencies and an approximately 10 GB model, then inference runs offline.]

## Skill Version(s):

1.0.3 (source: server release metadata and SKILL.md SKILL_VERSION v1.0.3)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

requirements_imagegen.txt

--extra-index-url https://download.pytorch.org/whl/cpu

# OpenVINO 推理引擎 — pinned: 2026.1.0 breaks pooled_projections stack in OVZImagePipeline
openvino==2026.0.0

# PyTorch CPU(OVZImagePipeline 内部依赖)
torch==2.8
torchvision==0.23.0

# Optimum-Intel 指定版本(含 OVZImagePipeline,Z-Image-Turbo 必须)
git+https://github.com/openvino-dev-samples/optimum-intel.git@2f62e5aee74b4acba3836e1f26678c0db0a09c00

# Diffusers 指定版本(含 Z-Image-Turbo 调度器支持)
git+https://github.com/huggingface/diffusers.git@a1f36ee3ef4ae1bf98bd260e539197259aa981c1

# 模型下载
modelscope

# 图像保存
Pillow

# 模型加载基础库
transformers
accelerate
huggingface_hub

# 数值计算(Pillow / transformers 约束)
numpy<2.0

Sponsored

Ads related to Z-image Local image generation with OpenVINO (no API key) and adjacent AI workflows.