Boogu image 0.1 Edit Int8
Edit images with the Boogu Image Edit model, now optimized with convrot int8 quantization for faster inference and better quality than fp8. This workflow…
Sobre
Edit images with the Boogu Image Edit model, now optimized with convrot int8 quantization for faster inference and better quality than fp8. This workflow…
O que você fornece
- Lendo o fluxo de trabalho
É executado no ComfyUI. Este fluxo de trabalho não pode ser executado nesta página. Baixe-o e abra-o no ComfyUI.
Baixar workflowAinda não há exemplos de resultados para este fluxo de trabalho.
Dentro do workflow
Uma prévia somente leitura do gráfico de nós. Abra-o no Comfy Cloud ou faça o download para editar os nós.
Loading the graph
Open full-size workflow previewArquivos neste workflow
- Comfy Cloud
- Sim
- Autor
- Autor indisponível
Requer nós personalizados
- Lendo o fluxo de trabalho
Use este fluxo de trabalho a partir do código
Gerado a partir do grafo e das entradas do fluxo de trabalho quando possível; caso contrário, são exibidos exemplos armazenados. Revise as credenciais e os endpoints antes de executar o código, pois isso pode gerar cobranças.
What you need
- Runs on
- Comfy Cloud
- Chave
- COMFY_API_KEY
Requer um plano pago do Cloud e créditos.
# Python 3.10+: pip install comfy-sdk==0.4.0
import os
from comfy_sdk import Comfy
api_key = os.environ.get("COMFY_API_KEY", "").strip()
if not api_key: raise RuntimeError("Set COMFY_API_KEY")
os.environ.setdefault("COMFY_BASE_URL", "https://cloud.comfy.org")
client = Comfy(api_key=api_key)
workflow = client.workflows.from_json({
"32": {
"class_type": "LoadImage",
"inputs": {
"image": "giant_tulip_wanderer.png"
},
"_meta": {
"title": "Load Image"
}
},
"46": {
"class_type": "GetImageSize",
"inputs": {
"image": [
"49",
0
]
},
"_meta": {
"title": "Get Image Size"
}
},
"49": {
"class_type": "ResizeImageMaskNode",
"inputs": {
"input": [
"32",
0
],
"resize_type": "scale total pixels",
"resize_type.megapixels": 1,
"scale_method": "lanczos"
},
"_meta": {
"title": "Resize Image/Mask"
}
},
"53": {
"class_type": "ImageCompare",
"inputs": {
"compare_view": None,
"image_a": [
"32",
0
],
"image_b": [
"55",
0
]
},
"_meta": {
"title": "Compare Images"
}
},
"55": {
"class_type": "SaveImageAdvanced",
"inputs": {
"filename_prefix": "Boogu_image_edit",
"format": "png",
"format.bit_depth": "8-bit",
"format.input_color_space": "sRGB",
"images": [
"45:3",
0
]
},
"_meta": {
"title": "Save Image (Advanced)"
}
},
"45:2": {
"class_type": "UNETLoader",
"inputs": {
"unet_name": "boogu_image_edit_int8_convrot.safetensors",
"weight_dtype": "default"
},
"_meta": {
"title": "Load Diffusion Model"
}
},
"45:21": {
"class_type": "SamplerCustom",
"inputs": {
"add_noise": True,
"cfg": 3.5,
"latent_image": [
"45:8",
0
],
"model": [
"45:2",
0
],
"negative": [
"45:36",
1
],
"noise_seed": 22,
"positive": [
"45:36",
0
],
"sampler": [
"45:22",
0
],
"sigmas": [
"45:26",
0
]
},
"_meta": {
"title": "SamplerCustom"
}
},
"45:22": {
"class_type": "KSamplerSelect",
"inputs": {
"sampler_name": "dpmpp_2m"
},
"_meta": {
"title": "KSamplerSelect"
}
},
"45:26": {
"class_type": "BasicScheduler",
"inputs": {
"denoise": 1,
"model": [
"45:33",
0
],
"scheduler": "simple",
"steps": 25
},
"_meta": {
"title": "BasicScheduler"
}
},
"45:3": {
"class_type": "VAEDecode",
"inputs": {
"samples": [
"45:21",
0
],
"vae": [
"45:5",
0
]
},
"_meta": {
"title": "VAE Decode"
}
},
"45:33": {
"class_type": "ModelSamplingAuraFlow",
"inputs": {
"model": [
"45:2",
0
],
"sampling": "flow",
"shift": 3.16
},
"_meta": {
"title": "ModelSamplingAuraFlow"
}
},
"45:36": {
"class_type": "TextEncodeBooguEdit",
"inputs": {
"clip": [
"45:7",
0
],
"images.image_1": [
"32",
0
],
"negative_prompt": "",
"prompt": "Keep the character unchanged, replace the desert background and scene. The model is on the dune.",
"vae": [
"45:5",
0
]
},
"_meta": {
"title": "TextEncodeBooguEdit"
}
},
"45:5": {
"class_type": "VAELoader",
"inputs": {
"vae_name": "ae.safetensors"
},
"_meta": {
"title": "Load VAE"
}
},
"45:7": {
"class_type": "CLIPLoader",
"inputs": {
"clip_name": "qwen3vl_8b_fp8_scaled.safetensors",
"device": "default",
"type": "boogu"
},
"_meta": {
"title": "Load CLIP"
}
},
"45:8": {
"class_type": "EmptyLatentImage",
"inputs": {
"batch_size": 1,
"height": [
"46",
1
],
"width": [
"46",
0
]
},
"_meta": {
"title": "Empty Latent Image"
}
}
})
# run() also passes api_key to the partner nodes in this workflow.
job = client.run(workflow, api_key=api_key)