IZ

iconben/z-image-studio

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

130 stars 13 forks 品質 86 トレンド 14Apache-2.0

iconben/z-image-studio は、https://github.com/iconben/z-image-studio. からインポートされたMCPサーバー候補です。

概要

iconben/z-image-studio は、https://github.com/iconben/z-image-studio. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

CLI、webUI、そしてZ-Image-Turboテキストから画像生成モデル(Tongyi-MAI/Z-Image-Turboおよびそのバリエーション)のためのMCPサーバー。

このツールは、Windows/Mac/Linuxユーザーがローカルマシン上で効率的に動作するよう設計されています。NVIDIA(CUDA)、AMD(ROCm)、intel(XPU)、**Apple Silicon(MPS)**向けに最適化されており、対応GPUが検出されない場合はCPUにフォールバックします。

特徴

ハイブリッドインターフェース:

  • CLI:端末からの高速で直接的な画像生成。
  • Web UI:インタラクティブ生成のための最新のウェブインターフェース。
  • MCPサーバー:AIエージェントによる呼び出し能力。

CLIとコア機能

  • Z-イメージターボモデル:高品質なTongyi-MAI/Z-Image-Turboモデルとdiffusersによるクアタイズバリアントを利用しています。
  • MPSアクセラレーション:Apple Silicon搭載のMacユーザーに最適化されています。
  • ROCmサポート:AMDGPU向けにLinux上で明示的にサポートされています。
  • Intel XPUサポート:Intel対応PyTorchビルドを実行している場合にIntel XPUをサポートします。
  • 注意スライシング自動検出:メモリ使用を自動で管理します(例:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Z-Image Studio

A Cli, a webUI, and a MCP server for the Z-Image-Turbo text-to-image generation model (Tongyi-MAI/Z-Image-Turbo and its variants).

This tool is designed to run efficiently on local machines for Windows/Mac/Linux users. It features specific optimizations for NVIDIA (CUDA), AMD on Linux (ROCm), Intel (XPU), and Apple Silicon (MPS), falling back to CPU if no compatible GPU is detected.

Features

Hybrid Interfaces:

  • CLI: Fast, direct image generation from the terminal.
  • Web UI: Modern web interface for interactive generation.
  • MCP Server: Capability to be called by AI agents.

CLI and core features

  • Z-Image-Turbo Model: Utilizes the high-quality Tongyi-MAI/Z-Image-Turbo model and quatized variants via diffusers.
  • MPS Acceleration: Optimized for Mac users with Apple Silicon.
  • ROCm Support: Explicitly supported on Linux for AMD GPUs.
  • Intel XPU Support: Supports Intel XPU when running an Intel-enabled PyTorch build.
  • Attention Slicing Auto-detection: Automatically manages memory usage (e.g., enables attention slicing for systems with lower RAM/VRAM) to prevent Out-of-Memory errors and optimize performance.
  • Seed Control: Reproducible image generation via CLI or Web UI.
  • Multiple LoRA Support: Upload/manage LoRAs in the web UI, apply up to 4 with per-LoRA strengths in a single generation; CLI supports multiple --lora entries with optional strengths.
  • Automatic Dimension Adjustment: Ensures image dimensions are compatible (multiples of 16).
  • Customizable Output Directory: Image output directory can be customized via config file and environment variable.
GitHub で README 全文を見る

インストール

docker run -d \
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "z-image-studio": { "command": "zimg-mcp", "args": [], "env": {} } } }