본문으로 건너뛰기
cccskills
무료GitHub에 공개

z-image-txt2img

Build Z-Image txt2img workflows. RedCraft checkpoint, Z-Image Turbo/Base LoRAs, ControlNet, and sampler presets

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md11.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Z-Image Text-to-Image Workflows

Launch flag. Z-Image does not sample correctly under --use-sage-attention (black / garbled output). Launch ComfyUI with --use-pytorch-cross-attention for Z-Image. See comfyui-launch-flags.

Overview

Z-Image is a 6B-parameter image generation model from Alibaba's Tongyi Lab using a Scalable Single-Stream DiT (S3-DiT) architecture. It uses a Qwen text encoder (not CLIP-L/T5). Its VAE shares the Flux VAE architecture (same tensor shapes, so the file is the same 320MB size) but ships different weights. It is NOT byte-identical to Flux's ae.safetensors and must be kept as a separate file (z-image-ae.safetensors) to avoid clobbering the Flux VAE. Two variants:

  1. Z-Image Base (and RedCraft finetune). Full model, supports negative prompts, LoRA training, ControlNet. 10-30 steps.
  2. Z-Image Turbo. DMD-distilled, 8-10 steps, no effective negative prompts (CFG baked in).

Models

RedCraft Redzimage DX1 (Installed — Combined Checkpoint)

ComponentNodeModelNotes
CheckpointCheckpointLoaderSimpleredcraftRedzimageUpdatedJAN30_redzibDX1.safetensors17GB, bundles UNET+CLIP+VAE

RedCraft is a Z-Image Base finetune by the RedCraft team. Designed for faster inference than stock Z-Image Base. Uses CheckpointLoaderSimple since it's a combined checkpoint, so no separate loaders are needed.

Z-Image Turbo (Separate Components — May Need Download)

ComponentNodeModelNotes
UNETUNETLoaderz_image_turbo_bf16.safetensorsNot currently installed
CLIPCLIPLoader (type=qwen_image)qwen_3_4b.safetensorsNot currently installed
VAEVAELoaderz-image-ae.safetensors320MB. Flux VAE architecture but different weights — NOT the same file as Flux's ae.safetensors. From Comfy-Org/z_image_turbo (split_files/vae/ae.safetensors)

Z-Image Base (Separate Components — May Need Download)

ComponentNodeModelNotes
UNETUNETLoaderz_image_base_bf16.safetensorsNot currently installed
CLIPCLIPLoader (type=qwen_image)qwen_3_4b.safetensorsNot currently installed
VAEVAELoaderz-image-ae.safetensors320MB. Flux VAE architecture but different weights — NOT the same file as Flux's ae.safetensors

Conditioning

TextEncodeZImageOmni (Built-in)

For Z-Image separate component loading. Supports reference images via CLIP Vision:

Required Inputs:
  - clip: CLIP
  - prompt: STRING (multiline)
  - auto_resize_images: BOOLEAN (default true)

Optional Inputs:
  - image_encoder: CLIP_VISION (for reference images)
  - vae: VAE
  - image1-3: IMAGE (up to 3 reference images)

Outputs:
  [0] CONDITIONING

CLIPTextEncode (For RedCraft Checkpoint)

When using CheckpointLoaderSimple, standard CLIPTextEncode works since the checkpoint bundles the correct tokenizer:

{
  "class_type": "CLIPTextEncode",
  "inputs": { "clip": ["<checkpoint>", 1], "text": "<prompt>" }
}

Sampler Settings

RedCraft DX1

PresetStepsCFGSamplerSchedulerNotes
Distilled Fast101.0eulersimpleQuick iteration
Standard304.0eulersimpleFull quality

Z-Image Turbo

PresetStepsCFGSamplerSchedulerNotes
Author recommended141.0res_2ssimpleCopaxTimeless author pick
Beauty/fashion101.0euler_ancestralbetaSmooth skin, fashion photography
Sharpest101.0dpmpp_sdebetaSharpest, most natural (560-image test)

Z-Image Base (Two-Stage)

Stage 1, primary generation:

ParameterValue
Steps22
CFG4.0 (range 4–7)
Samplerres_2s
Schedulerbeta
Denoise1.0

Stage 2, detail refinement (optional img2img pass):

ParameterValue
Steps3
CFG4.0
Samplerres_2s
Schedulernormal
Denoise0.15

Negative Prompts

RedCraft / Z-Image Base

Supports negative prompts at CFG > 1.0:

3D, ai generated, semi realistic, illustrated, drawing, comic, digital painting, 3D model, blender, video game screenshot, screenshot, render, high-fidelity, smooth textures, CGI, masterpiece, text, writing, subtitle, watermark, logo, blurry, low quality, jpeg, artifacts, grainy

Z-Image Turbo

Negative prompts are not effective. CFG is baked in via distillation. Use the positive prompt to guide away from unwanted elements instead.

Recommended positive-side avoidance template:

over-smooth skin, plastic skin, doll face, anime, CGI, waxy texture, blurry face, fake pores, exaggerated makeup, over-sharpening, unrealistic symmetry, flat lighting, low detail skin, extra fingers, distorted anatomy

Resolutions

AspectResolutionNotes
Square1024x1024Standard
Square (native)1328x1328Higher quality at native resolution
Portrait 3:4896x1152
Portrait 5:8832x1216
Portrait 9:16768x1344
Landscape 16:91280x720

Dimensions must be divisible by 16.

LoRA System

ZImageTurbo LoRAs

Located in loras/ZImageTurbo/ with subfolders:

  • style/: style LoRAs (e.g., TurboPussyZ_v2.safetensors)
  • concept/: concept LoRAs (e.g., body from below.safetensors, ZITnsfwLoRA.safetensors)
  • character/: character LoRAs (e.g., NSFW_master_ZIT_000008766.safetensors)
  • action/: action LoRAs

Use with Z-Image Turbo base model. Typical LoRA strength: 0.6 to 1.0.

ZImageBase LoRAs

Located in loras/ZImageBase/ with subfolders:

  • style/: style LoRAs (e.g., NSGIRL-Z-Image-LoRA-By-MM744.safetensors)
  • concept/: concept LoRAs

Use with Z-Image Base or RedCraft. Typical LoRA strength: 0.6 to 1.0.

Z-Image-Aesthetic-Base v1

General aesthetic improvement LoRA:

  • File: Z-Image-Aesthetic-Base v1.safetensors (352MB)
  • Settings: euler_ancestral + beta, 30 steps, CFG 4, strength 0.6 to 1.0

Applying LoRAs

{
  "class_type": "LoraLoader",
  "inputs": {
    "model": ["<checkpoint_or_unet>", 0],
    "clip": ["<checkpoint_or_clip>", 1],
    "lora_name": "ZImageTurbo\\style\\TurboPussyZ_v2.safetensors",
    "strength_model": 0.8,
    "strength_clip": 0.8
  }
}

When using CheckpointLoaderSimple for RedCraft, model output is index 0 and CLIP output is index 1. When stacking multiple LoRAs, chain them sequentially.

ControlNet

ZImageFunControlnet (Built-in)

Experimental built-in node for Z-Image ControlNet. Patches the model with a control signal:

Required Inputs:
  - model: MODEL
  - model_patch: MODEL_PATCH (from ControlNet loader)
  - vae: VAE
  - strength: FLOAT (default 1.0, range -10 to 10)

Optional Inputs:
  - image: IMAGE (reference/control image)
  - inpaint_image: IMAGE
  - mask: MASK

Outputs:
  [0] MODEL (patched)

Z-Image-Turbo-Fun-Controlnet-Union

A unified ControlNet supporting multiple condition types:

  • Canny, HED, Depth, Pose, MLSD
  • Strength: 0.65 to 0.80 (v2.1 recommended range)
  • Best paired with res_2s, res_5s, or res_2m samplers + beta57 scheduler

Complete Workflow: RedCraft DX1 (Fast, 10-Step)

{
  "1": { "class_type": "CheckpointLoaderSimple", "inputs": { "ckpt_name": "redcraftRedzimageUpdatedJAN30_redzibDX1.safetensors" }},
  "2": { "class_type": "CLIPTextEncode", "inputs": { "clip": ["1", 1], "text": "<positive prompt>" }, "_meta": { "title": "Positive" }},
  "3": { "class_type": "CLIPTextEncode", "inputs": { "clip": ["1", 1], "text": "" }, "_meta": { "title": "Negative" }},
  "4": { "class_type": "EmptyLatentImage", "inputs": { "width": 1024, "height": 1024, "batch_size": 1 }},
  "5": { "class_type": "KSampler", "inputs": {
    "model": ["1", 0],
    "positive": ["2", 0],
    "negative": ["3", 0],
    "latent_image": ["4", 0],
    "seed": 42, "steps": 10, "cfg": 1, "sampler_name": "euler", "scheduler": "simple", "denoise": 1
  }},
  "6": { "class_type": "VAEDecode", "inputs": { "samples": ["5", 0], "vae": ["1", 2] }},
  "7": { "class_type": "SaveImage", "inputs": { "images": ["6", 0], "filename_prefix": "redcraft" }}
}

Complete Workflow: RedCraft DX1 with LoRA Stack

{
  "1": { "class_type": "CheckpointLoaderSimple", "inputs": { "ckpt_name": "redcraftRedzimageUpdatedJAN30_redzibDX1.safetensors" }},
  "2": { "class_type": "LoraLoader", "inputs": {
    "model": ["1", 0], "clip": ["1", 1],
    "lora_name": "Z-Image-Aesthetic-Base v1.safetensors",
    "strength_model": 0.8, "strength_clip": 0.8
  }},
  "3": { "class_type": "LoraLoader", "inputs": {
    "model": ["2", 0], "clip": ["2", 1],
    "lora_name": "ZImageBase\\style\\NSGIRL-Z-Image-LoRA-By-MM744.safetensors",
    "strength_model": 0.7, "strength_clip": 0.7
  }},
  "4": { "class_type": "CLIPTextEncode", "inputs": { "clip": ["3", 1], "text": "<positive prompt>" }},
  "5": { "class_type": "CLIPTextEncode", "inputs": { "clip": ["3", 1], "text": "<negative prompt>" }},
  "6": { "class_type": "EmptyLatentImage", "inputs": { "width": 896, "height": 1152, "batch_size": 1 }},
  "7": { "class_type": "KSampler", "inputs": {
    "model": ["3", 0],
    "positive": ["4", 0],
    "negative": ["5", 0],
    "latent_image": ["6", 0],
    "seed": 42, "steps": 30, "cfg": 4, "sampler_name": "euler", "scheduler": "simple", "denoise": 1
  }},
  "8": { "class_type": "VAEDecode", "inputs": { "samples": ["7", 0], "vae": ["1", 2] }},
  "9": { "class_type": "SaveImage", "inputs": { "images": ["8", 0], "filename_prefix": "redcraft_lora" }}
}

Prompt Style

Natural language descriptions work best (uses Qwen LLM tokenizer, not CLIP):

Good: "Professional headshot of a confident businesswoman in her 30s, natural makeup, soft studio lighting, neutral gray background, sharp focus on eyes, Canon EOS R5"
Bad: "masterpiece, best quality, 1girl, businesswoman, studio"

VRAM Considerations

ConfigVRAMNotes
RedCraft DX1 checkpoint~17GBFits comfortably on RTX 4090
Z-Image Turbo separate~8GB UNET + CLIPVery lightweight
Z-Image Base separate~12GB
  • Always clear_vram before switching to Z-Image from another model family
  • RedCraft is one of the most VRAM-efficient quality models available

Tips

  1. RedCraft DX1 with 10 steps / CFG 1.0 is fast and high quality for quick iteration
  2. For maximum sharpness with Turbo LoRAs, use dpmpp_sde + beta scheduler
  3. The Z-Image-Aesthetic-Base v1 LoRA at 0.6 to 0.8 strength improves output quality across all Z-Image Base variants
  4. Z-Image is strong at photorealistic human generation and is the go-to for portrait and fashion photography
  5. When switching between Turbo and Base LoRAs, use the matching base model variant

Sources

  • Official: none found.
  • Empirical: sampler values, wiring, and prompt notes from working graphs in packs/ and observed renders; not a vendor prompting guide.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Train custom LoRAs with ostris AI-Toolkit. Covers WAN 2.2/2.1 (people, styles, video motion) and Z-Image (Turbo & Base, low-VRAM image LoRAs). Use when the user wants to train a WAN or Z-Image LoRA; covers local + RunPod setup, dataset prep, key params, and using the result in a ComfyUI workflow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

artokun/comfyui-mcp8602026년 10월 19일 업데이트

Anime/illustration text-to-image (ANIMA 1.0, ~2B Cosmos DiT). Use for anime, manga, illustrated characters; accepts Danbooru tags + natural language; runs/trains on <6GB VRAM; includes anime inpainting via Anima-LLLite ControlNet

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

artokun/comfyui-mcp8602026년 10월 19일 업데이트

Train a custom anime LoRA on the ANIMA base model with Citron's local Gradio trainer (kohya sd-scripts), <6GB VRAM, character/style LoRAs; covers setup, dataset prep, training params, and using the result in the anima-base workflow

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

artokun/comfyui-mcp8602026년 10월 19일 업데이트

civitai

무료

Discover Civitai models with the BUILT-IN download_model action:"search_civitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

artokun/comfyui-mcp8602026년 10월 19일 업데이트

Diagnose and fix video/image color OBJECTIVELY with the get_image (action:"analyze_color") tool (scopes/stats such as black/white points, contrast, saturation, clipping, cast) instead of eyeballing a contact sheet. Covers the "washed out" signature, why reference color-match (mkl/ColorMatch/ColorMatchAdobe) CAN'T add contrast a flat source lacks, the levels/contrast-stretch fix (core AdjustContrast / CurveEditor), the measure→fix→re-measure loop, the side-by-side sandbox pattern, and where to place the fix in a render graph (after decode, before save). Use when a render looks washed out / flat / dull / over-saturated / color-cast, or when deciding between a color-match and a contrast/levels fix.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

artokun/comfyui-mcp8602026년 10월 19일 업데이트

Core ComfyUI knowledge covering workflow format, node types, pipeline patterns, and MCP tool usage

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

artokun/comfyui-mcp8602026년 10월 19일 업데이트

artokun의 스킬 모두 보기

이 스킬의 문제 신고