Compfyui: simple workflow
Sumber: https://onnocenter.or.id/wiki/index.php/Compfyui:_simple_workflow
Oke Dzaq, ini dia **workflow visual paling dasar di ComfyUI** buat **Text-to-Image** (generate gambar dari teks) supaya kamu ngerti alurnya dulu sebelum masuk ke yang lebih kompleks kayak video 🎥
---
- 🔧 **Basic Workflow: Text to Image di ComfyUI**
- 📌 Node-by-Node Flow:
``` [CheckpointLoaderSimple] → Load model (misal: sd15.safetensors)
↓
[CLIPTextEncode] → Encode prompt teks kamu (misal: "anime girl in cyberpunk city")
↓
[EmptyLatentImage] → Ukuran canvas (misal: 512x768)
↓
[KSampler] → Proses sampling/generasi gambar
↓
[VAEDecode] → Decode latent jadi gambar asli
↓
[SaveImage] → Simpan hasilnya ke file ```
---
- 📊 Diagram Alur Sederhana:
```
┌────────────────────────────┐
│ CheckpointLoaderSimple │ ← Load model .safetensors
└────────────┬───────────────┘
↓
┌────────────────────────────┐
│ CLIPTextEncode │ ← Masukin prompt kamu
└────────────┬───────────────┘
↓
┌────────────────────────────┐
│ EmptyLatentImage │ ← Ukuran gambar (W x H)
└────────────┬───────────────┘
↓
┌────────────────────────────┐
│ KSampler │ ← Sampling step pakai CFG, Seed, Steps
└────────────┬───────────────┘
↓
┌────────────────────────────┐
│ VAEDecode │ ← Convert latent → gambar
└────────────┬───────────────┘
↓
┌────────────────────────────┐
│ SaveImage │ ← Simpan gambar ke disk
└────────────────────────────┘
```
---
- 📝 Contoh Parameter Dasar:
- **Prompt**: *"a futuristic city, glowing lights, night, cyberpunk style"* - **Width x Height**: `512 x 768` - **Steps**: `20` - **CFG Scale**: `7.0` - **Sampler**: `Euler a` atau `DPM++ 2M` - **Seed**: `12345` (atau random)
---
- 📂 Lokasi File Output:
- Default: `/ComfyUI/output/` - Nama file biasanya mengandung timestamp atau hash
---
Kalau kamu mau, aku bisa: - Kirim **file `.json` workflow dasar** ini buat langsung load di ComfyUI - Tambahin fitur kayak **Negative Prompt**, **LoRA**, atau **Upscaler** - Atau ubah jadi **Text-to-Video** alur ModelScope / Zeroscope
Mau sekalian file `.json` workflow ini aku buatin buat kamu drag langsung ke ComfyUI?