{"id":23233333,"url":"https://github.com/XLabs-AI/x-flux-comfyui","last_synced_at":"2025-08-19T18:31:43.701Z","repository":{"id":253034319,"uuid":"841589028","full_name":"XLabs-AI/x-flux-comfyui","owner":"XLabs-AI","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-21T15:51:22.000Z","size":1803,"stargazers_count":981,"open_issues_count":86,"forks_count":67,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-10-22T03:20:13.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/XLabs-AI.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-12T17:53:28.000Z","updated_at":"2024-10-22T01:46:52.000Z","dependencies_parsed_at":"2024-09-05T19:40:57.830Z","dependency_job_id":"0b6e225c-70a6-4d20-85bf-ffb424445ef0","html_url":"https://github.com/XLabs-AI/x-flux-comfyui","commit_stats":null,"previous_names":["xlabs-ai/x-flux-comfyui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XLabs-AI%2Fx-flux-comfyui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XLabs-AI%2Fx-flux-comfyui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XLabs-AI%2Fx-flux-comfyui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XLabs-AI%2Fx-flux-comfyui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XLabs-AI","download_url":"https://codeload.github.com/XLabs-AI/x-flux-comfyui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230367780,"owners_count":18215325,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-19T03:01:17.486Z","updated_at":"2024-12-19T03:01:45.932Z","avatar_url":"https://github.com/XLabs-AI.png","language":"Python","funding_links":[],"categories":["Workflows (3395) sorted by GitHub Stars","All Workflows Sorted by GitHub Stars","📦 Latest Models (2024-2025)"],"sub_categories":["🔥 Flux.1 (Black Forest Labs) - August 2024"],"readme":"# *[Guide](/Guide.md)*\n\n# How to use\n![FLUX Finetuning scripts](./assets/flux-comfy-ui-nodes-dark-rev1.png)\n![FLUX Finetuning scripts](./assets/image1.png)\n\n## Installation:\n\n1. Go to `ComfyUI/custom_nodes`\n2. Clone this repo, path should be `ComfyUI/custom_nodes/x-flux-comfyui/*`, where * is all the files in this repo\n3. Go to  `ComfyUI/custom_nodes/x-flux-comfyui/` and run `python setup.py`\n4. Run ComfyUI after installing and enjoy!\n\nAfter the first launch, the `ComfyUI/models/xlabs/loras` and `ComfyUI/models/xlabs/controlnets` folders will be created automatically. \u003cbr/\u003e\nSo, to use lora or controlnet just put models in these folders. \u003cbr/\u003e\nAfter that, you may need to click \"Refresh\" in the user-friendly interface to use the models. \u003cbr/\u003e\nFor controlnet you need install https://github.com/Fannovel16/comfyui_controlnet_aux \u003cbr/\u003e\n## Low memory mode\nYou can launch Flux utilizing 12GB VRAM memory usage.\n1. Follow installation as described in repo https://github.com/city96/ComfyUI-GGUF\n2. Use flux1-dev-Q4_0.gguf from repo https://github.com/city96/ComfyUI-GGUF \u003cbr/\u003e\n3. Launch ComfyUI with parameters:\n```bash\npython3 main.py --lowvram --preview-method auto --use-split-cross-attention\n```\nIn our workflows, replace \"Load Diffusion Model\" node with \"Unet Loader (GGUF)\"\n\n![FLUX Finetuning scripts](./assets/low_memory_mode.png)\n\n## Models\n\nWe trained **Canny ControlNet**, **Depth ControlNet**, **HED ControlNet** and **LoRA** checkpoints for [`FLUX.1 [dev]`](https://github.com/black-forest-labs/flux) \u003cbr/\u003e\nYou can download them on HuggingFace:\n\n- [flux-controlnet-collections](https://huggingface.co/XLabs-AI/flux-controlnet-collections)\n- [flux-controlnet-canny](https://huggingface.co/XLabs-AI/flux-controlnet-canny)\n- [flux-RealismLora](https://huggingface.co/XLabs-AI/flux-RealismLora)\n- [flux-lora-collections](https://huggingface.co/XLabs-AI/flux-lora-collection)\n- [flux-furry-lora](https://huggingface.co/XLabs-AI/flux-furry-lora)\n- [flux-ip-adapter](https://huggingface.co/XLabs-AI/flux-ip-adapter/)\n## IP Adapter\n\n### Instruction\n1. Update x-flux-comfy with `git pull` or reinstall it.\n2. Download Clip-L `model.safetensors` from [OpenAI VIT CLIP large](https://huggingface.co/openai/clip-vit-large-patch14), and put it to `ComfyUI/models/clip_vision/*`.\n3. Download our IPAdapter from [huggingface](https://huggingface.co/XLabs-AI/flux-ip-adapter/tree/main), and put it to `ComfyUI/models/xlabs/ipadapters/*`.\n4. Use `Flux Load IPAdapter` and `Apply Flux IPAdapter` nodes, choose right CLIP model and enjoy your genereations.\n5. You can find example workflow in folder workflows in this repo.\n\n### Limitations\nThe IP Adapter is currently in beta.\nWe do not guarantee that you will get a good result right away, it may take more attempts to get a result. But we will make efforts to make this process easier and more efficient over time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXLabs-AI%2Fx-flux-comfyui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXLabs-AI%2Fx-flux-comfyui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXLabs-AI%2Fx-flux-comfyui/lists"}