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…
تنزيل سير العملجرّبه في Cloud وثائق API
حول
Edit images with the Boogu Image Edit model, now optimized with convrot int8 quantization for faster inference and better quality than fp8. This workflow…
ما تقدّمه
- جارٍ قراءة سير العمل
يعمل في ComfyUI. لا يمكن تشغيل سير العمل هذا على هذه الصفحة. نزّله وافتحه في ComfyUI.
تنزيل سير العمللا توجد مخرجات نموذجية لسير العمل هذا بعد.
داخل سير العمل
معاينة للقراءة فقط لرسم العقد البياني. افتحه في Comfy Cloud أو نزّله لتعديل العقد.
Loading the graph
Open full-size workflow previewالملفات في سير العمل هذا
- Comfy Cloud
- نعم
- المؤلف
- المؤلف غير متاح
يتطلب عُقدًا مخصصة
- جارٍ قراءة سير العمل
استخدم سير العمل هذا من خلال التعليمات البرمجية
يتم إنشاؤه من مخطط سير العمل والمدخلات عندما يكون ذلك ممكنًا؛ وإلا فتُعرض الأمثلة المخزنة. راجع بيانات الاعتماد ونقاط النهاية قبل تشغيل التعليمات البرمجية، إذ قد تترتب عليها رسوم.
1 الحصول على مفتاح API ↗
What you need
- Runs on
- Comfy Cloud
- المفتاح
- COMFY_API_KEY
يتطلب خطة Cloud مدفوعة ورصيدًا.
تنزيل API JSONوثائق API ↗
# 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)