dgx-spark-playbooks/nvidia/station-comfyui/assets/workflow_api/flux-text-to-image.api.json
2026-05-26 18:25:53 +00:00

122 lines
2.7 KiB
JSON

{
"6": {
"inputs": {
"text": "A majestic snow leopard resting on a cliff at golden hour, photorealistic, 8k detail",
"clip": ["11", 0]
},
"class_type": "CLIPTextEncode",
"_meta": { "title": "CLIP Text Encode (Positive Prompt)" }
},
"8": {
"inputs": {
"samples": ["13", 0],
"vae": ["10", 0]
},
"class_type": "VAEDecode",
"_meta": { "title": "VAE Decode" }
},
"9": {
"inputs": {
"filename_prefix": "flux_output",
"images": ["8", 0]
},
"class_type": "SaveImage",
"_meta": { "title": "Save Image" }
},
"10": {
"inputs": {
"vae_name": "ae.safetensors"
},
"class_type": "VAELoader",
"_meta": { "title": "Load VAE" }
},
"11": {
"inputs": {
"clip_name1": "t5xxl_fp16.safetensors",
"clip_name2": "clip_l.safetensors",
"type": "flux"
},
"class_type": "DualCLIPLoader",
"_meta": { "title": "DualCLIPLoader (T5-XXL + CLIP-L)" }
},
"12": {
"inputs": {
"unet_name": "flux1-dev.safetensors",
"weight_dtype": "default"
},
"class_type": "UNETLoader",
"_meta": { "title": "Load FLUX.1 Dev Diffusion Model" }
},
"13": {
"inputs": {
"noise": ["25", 0],
"guider": ["22", 0],
"sampler": ["16", 0],
"sigmas": ["17", 0],
"latent_image": ["27", 0]
},
"class_type": "SamplerCustomAdvanced",
"_meta": { "title": "Advanced Sampler" }
},
"16": {
"inputs": {
"sampler_name": "euler"
},
"class_type": "KSamplerSelect",
"_meta": { "title": "Sampler Select (Euler)" }
},
"17": {
"inputs": {
"scheduler": "simple",
"steps": 20,
"denoise": 1.0,
"model": ["30", 0]
},
"class_type": "BasicScheduler",
"_meta": { "title": "Basic Scheduler" }
},
"22": {
"inputs": {
"model": ["30", 0],
"conditioning": ["26", 0]
},
"class_type": "BasicGuider",
"_meta": { "title": "Basic Guider" }
},
"25": {
"inputs": {
"noise_seed": 42
},
"class_type": "RandomNoise",
"_meta": { "title": "Random Noise" }
},
"26": {
"inputs": {
"guidance": 3.5,
"conditioning": ["6", 0]
},
"class_type": "FluxGuidance",
"_meta": { "title": "FLUX Guidance (3.5)" }
},
"27": {
"inputs": {
"width": 1024,
"height": 1024,
"batch_size": 1
},
"class_type": "EmptySD3LatentImage",
"_meta": { "title": "Empty Latent (1024x1024)" }
},
"30": {
"inputs": {
"max_shift": 1.15,
"base_shift": 0.5,
"width": 1024,
"height": 1024,
"model": ["12", 0]
},
"class_type": "ModelSamplingFlux",
"_meta": { "title": "Model Sampling FLUX" }
}
}