Instructions to use joyfox/Qwen-Image-EVA-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use joyfox/Qwen-Image-EVA-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("joyfox/Qwen-Image-EVA-LoRA") prompt = "mrx, The image is a digital illustration of an animated female character, likely from an anime or manga series. She has long, flowing orange hair with two small red horns on her head, which could suggest she is a fantasy or supernatural character. Her eyes are blue and expressive, adding to her lively demeanor. The character is wearing a form-fitting bodysuit that is predominantly red with black accents, including stripes along the legs and around the waist. The suit also features a green collar and cuffs, as well as some silver-colored buttons and fastenings, giving it a sleek and tactical appearance.She is posing playfully with one hand on her hip and the other near her face, winking at the viewer. This pose conveys confidence and a sense of fun. The background is minimalistic, featuring what appears to be a metallic wall with rivets, which complements the industrial aesthetic often found in sci-fi or mecha-related genres. There is no explicit context provided within the image itself, but the character's attire and design suggest themes of action, adventure, or science fiction. " image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| { | |
| "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb", | |
| "revision": 0, | |
| "last_node_id": 74, | |
| "last_link_id": 137, | |
| "nodes": [ | |
| { | |
| "id": 7, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 390, | |
| 260 | |
| ], | |
| "size": [ | |
| 425.27801513671875, | |
| 180.6060791015625 | |
| ], | |
| "flags": {}, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "CLIP", | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 137 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "条件", | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "slot_index": 0, | |
| "links": [ | |
| 52 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "CLIPTextEncode", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| " low quality, bad anatomy, extra digits, missing digits, extra limbs, missing limbs", | |
| [ | |
| false, | |
| true | |
| ] | |
| ], | |
| "color": "#322", | |
| "bgcolor": "#533" | |
| }, | |
| { | |
| "id": 72, | |
| "type": "CR SDXL Aspect Ratio", | |
| "pos": [ | |
| 58.07819366455078, | |
| 462.2980041503906 | |
| ], | |
| "size": [ | |
| 270, | |
| 278 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "label": "宽度", | |
| "name": "width", | |
| "type": "INT", | |
| "links": [ | |
| 131 | |
| ] | |
| }, | |
| { | |
| "label": "高度", | |
| "name": "height", | |
| "type": "INT", | |
| "links": [ | |
| 132 | |
| ] | |
| }, | |
| { | |
| "label": "放大系数", | |
| "name": "upscale_factor", | |
| "type": "FLOAT", | |
| "links": null | |
| }, | |
| { | |
| "label": "批次大小", | |
| "name": "batch_size", | |
| "type": "INT", | |
| "links": null | |
| }, | |
| { | |
| "name": "empty_latent", | |
| "type": "LATENT", | |
| "links": null | |
| }, | |
| { | |
| "name": "show_help", | |
| "type": "STRING", | |
| "links": null | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfyroll", | |
| "ver": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", | |
| "Node name for S&R": "CR SDXL Aspect Ratio" | |
| }, | |
| "widgets_values": [ | |
| 1024, | |
| 1024, | |
| "5:8 portrait 832x1216", | |
| "Off", | |
| 1, | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 58, | |
| "type": "EmptySD3LatentImage", | |
| "pos": [ | |
| 485.6163635253906, | |
| 486.9629211425781 | |
| ], | |
| "size": [ | |
| 270, | |
| 106 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "width", | |
| "type": "INT", | |
| "widget": { | |
| "name": "width" | |
| }, | |
| "link": 131 | |
| }, | |
| { | |
| "name": "height", | |
| "type": "INT", | |
| "widget": { | |
| "name": "height" | |
| }, | |
| "link": 132 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "Latent", | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 107 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "EmptySD3LatentImage", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| 1328, | |
| 1328, | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 8, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 880, | |
| 140 | |
| ], | |
| "size": [ | |
| 210, | |
| 46 | |
| ], | |
| "flags": {}, | |
| "order": 10, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "Latent", | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 128 | |
| }, | |
| { | |
| "label": "VAE", | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 76 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "图像", | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "slot_index": 0, | |
| "links": [ | |
| 130 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "VAEDecode", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 39, | |
| "type": "VAELoader", | |
| "pos": [ | |
| 22.094314575195312, | |
| 353.613037109375 | |
| ], | |
| "size": [ | |
| 330, | |
| 60 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "slot_index": 0, | |
| "links": [ | |
| 76 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "VAELoader", | |
| "models": [ | |
| { | |
| "name": "qwen_image_vae.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors", | |
| "directory": "vae" | |
| } | |
| ], | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_vae.safetensors" | |
| ] | |
| }, | |
| { | |
| "id": 69, | |
| "type": "PreviewImage", | |
| "pos": [ | |
| 1188.1756591796875, | |
| 116.52494812011719 | |
| ], | |
| "size": [ | |
| 231.24708557128906, | |
| 405.22698974609375 | |
| ], | |
| "flags": {}, | |
| "order": 11, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "图像", | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 130 | |
| } | |
| ], | |
| "outputs": [], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "PreviewImage" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 3, | |
| "type": "KSampler", | |
| "pos": [ | |
| 836.0579223632812, | |
| 228.26914978027344 | |
| ], | |
| "size": [ | |
| 300, | |
| 474 | |
| ], | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "模型", | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 125 | |
| }, | |
| { | |
| "label": "正面条件", | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 46 | |
| }, | |
| { | |
| "label": "负面条件", | |
| "name": "negative", | |
| "type": "CONDITIONING", | |
| "link": 52 | |
| }, | |
| { | |
| "label": "Latent", | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 107 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "Latent", | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "slot_index": 0, | |
| "links": [ | |
| 128 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "KSampler", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| 390380178815688, | |
| "randomize", | |
| 20, | |
| 4, | |
| "euler", | |
| "simple", | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 37, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| 20, | |
| 50 | |
| ], | |
| "size": [ | |
| 330, | |
| 90 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "label": "模型", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "slot_index": 0, | |
| "links": [ | |
| 133 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "UNETLoader", | |
| "models": [ | |
| { | |
| "name": "qwen_image_fp8_e4m3fn.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors", | |
| "directory": "diffusion_models" | |
| } | |
| ], | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_fp8_e4m3fn.safetensors", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 38, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| 20, | |
| 190 | |
| ], | |
| "size": [ | |
| 330, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "label": "CLIP", | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "slot_index": 0, | |
| "links": [ | |
| 134 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "CLIPLoader", | |
| "models": [ | |
| { | |
| "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors", | |
| "directory": "text_encoders" | |
| } | |
| ], | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "qwen_2.5_vl_7b_fp8_scaled.safetensors", | |
| "qwen_image", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 66, | |
| "type": "ModelSamplingAuraFlow", | |
| "pos": [ | |
| 840, | |
| 30 | |
| ], | |
| "size": [ | |
| 300, | |
| 58 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "模型", | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 135 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "模型", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 125 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "ModelSamplingAuraFlow", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| 3.5 | |
| ] | |
| }, | |
| { | |
| "id": 6, | |
| "type": "CLIPTextEncode", | |
| "pos": [ | |
| 371.1182556152344, | |
| 23.80982208251953 | |
| ], | |
| "size": [ | |
| 422.84503173828125, | |
| 164.31304931640625 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "CLIP", | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 136 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "条件", | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "slot_index": 0, | |
| "links": [ | |
| 46 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "CLIPTextEncode", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "yfyf, The image features a young woman with an engaging and gentle expression. She is likely in her late twenties or early thirties, judging by her youthful appearance and the style of her makeup. Her hair is styled in soft waves that cascade over her shoulders, adding to her approachable demeanor. The woman's attire, consisting of a light yellow cardigan over a white top, suggests a casual yet put-together look suitable for a variety of settings.She holds a wooden spoon near her face, which could imply she is either about to taste something or is playfully posing with it. This action adds a dynamic element to the otherwise serene composition. The background is softly blurred but hints at a domestic setting with natural lighting coming from a window on the left side, indicated by the bright illumination and vertical lines that suggest curtains or blinds. The overall color palette is warm and inviting, contributing to the pleasant atmosphere of the photograph.", | |
| [ | |
| false, | |
| true | |
| ] | |
| ], | |
| "color": "#232", | |
| "bgcolor": "#353" | |
| }, | |
| { | |
| "id": 74, | |
| "type": "LoraLoader", | |
| "pos": [ | |
| 454.8883361816406, | |
| -158.42337036132812 | |
| ], | |
| "size": [ | |
| 270, | |
| 126 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "label": "模型", | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 133 | |
| }, | |
| { | |
| "label": "CLIP", | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 134 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "label": "模型", | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 135 | |
| ] | |
| }, | |
| { | |
| "label": "CLIP", | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "links": [ | |
| 136, | |
| 137 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "LoraLoader" | |
| }, | |
| "widgets_values": [ | |
| "qwen-image/liuyifei.safetensors", | |
| 1, | |
| 1 | |
| ] | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 46, | |
| 6, | |
| 0, | |
| 3, | |
| 1, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 52, | |
| 7, | |
| 0, | |
| 3, | |
| 2, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 76, | |
| 39, | |
| 0, | |
| 8, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 107, | |
| 58, | |
| 0, | |
| 3, | |
| 3, | |
| "LATENT" | |
| ], | |
| [ | |
| 125, | |
| 66, | |
| 0, | |
| 3, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 128, | |
| 3, | |
| 0, | |
| 8, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 130, | |
| 8, | |
| 0, | |
| 69, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 131, | |
| 72, | |
| 0, | |
| 58, | |
| 0, | |
| "INT" | |
| ], | |
| [ | |
| 132, | |
| 72, | |
| 1, | |
| 58, | |
| 1, | |
| "INT" | |
| ], | |
| [ | |
| 133, | |
| 37, | |
| 0, | |
| 74, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 134, | |
| 38, | |
| 0, | |
| 74, | |
| 1, | |
| "CLIP" | |
| ], | |
| [ | |
| 135, | |
| 74, | |
| 0, | |
| 66, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 136, | |
| 74, | |
| 1, | |
| 6, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 137, | |
| 74, | |
| 1, | |
| 7, | |
| 0, | |
| "CLIP" | |
| ] | |
| ], | |
| "groups": [], | |
| "config": {}, | |
| "extra": { | |
| "ds": { | |
| "scale": 0.9646149645000015, | |
| "offset": [ | |
| 163.99254583616843, | |
| 385.24942409368316 | |
| ] | |
| }, | |
| "frontendVersion": "1.24.4", | |
| "ue_links": [], | |
| "links_added_by_ue": [], | |
| "VHS_latentpreview": false, | |
| "VHS_latentpreviewrate": 0, | |
| "VHS_MetadataImage": true, | |
| "VHS_KeepIntermediate": true | |
| }, | |
| "version": 0.4 | |
| } |