Instructions to use CapGo/duncan_flux with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CapGo/duncan_flux with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("CapGo/duncan_flux") prompt = "duxari, a small dog with white and light brown fur, panting, sits confidently behind the wheel of a sleek, brightly colored race car. His racing helmet, complete with a visor, is snugly fitted on his head, and a custom racing suit with his name stitched on the back completes the look." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - flux | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - fluxgym | |
| widget: | |
| - output: | |
| url: sample/duncan-flux_004100_00_20241031043429.png | |
| text: duxari, a small dog with white and light brown fur, panting, sits confidently | |
| behind the wheel of a sleek, brightly colored race car. His racing helmet, | |
| complete with a visor, is snugly fitted on his head, and a custom racing suit | |
| with his name stitched on the back completes the look. | |
| - output: | |
| url: sample/duncan-flux_004100_01_20241031043439.png | |
| text: duxari, a small dog with white and light brown fur, floats weightlessly | |
| inside a spacecraft, wearing a custom-tailored astronaut suit with a tiny | |
| helmet. The stars glimmer through the window as duxari gazes out at a distant | |
| planet. His paws hover above the control panel, where glowing buttons and | |
| monitors display cosmic data. The soft hum of the ship's systems fills the | |
| air as duxari prepares for a daring spacewalk, his tiny tail wagging in anticipation | |
| of exploring the vastness of space. | |
| - output: | |
| url: sample/duncan-flux_004100_02_20241031043449.png | |
| text: duxari, a small dog with a mix of white and light brown fur, is sitting | |
| on a Victorian-style armchair in an ornate library. The walls are lined with | |
| shelves filled with leather-bound books, and the room is illuminated by a | |
| grand chandelier hanging from the ceiling. duxari is wearing a velvet smoking | |
| jacket and a monocle, exuding an air of sophistication. On a nearby table, | |
| an antique globe and a decanter of fine whiskey are visible, adding to the | |
| ambiance of the scene. The soft glow of a fireplace casts warm shadows across | |
| the room, creating a cozy, luxurious atmosphere as duxari gazes thoughtfully | |
| into the distance. | |
| - output: | |
| url: sample/duncan-flux_004100_03_20241031043458.png | |
| text: duxari is immortalized as a statue in a grand museum. The statue, carved | |
| from smooth marble, captures duxari in a playful pose, one paw slightly raised | |
| as if about to pounce. His fur is meticulously detailed, and his expressive | |
| eyes seem to gleam with life despite the stone. The statue is displayed on | |
| a polished pedestal, surrounded by soft lighting that accentuates the intricate | |
| craftsmanship. Visitors marvel at the lifelike representation, the museum's | |
| hushed atmosphere lending a reverence to duxari's eternal presence. | |
| - output: | |
| url: sample/duncan-flux_004100_04_20241031043508.png | |
| text: duxari portrayed in a detailed pencil sketch, with fine, intricate lines | |
| capturing the texture of his fur, the expression in his eyes, and the gentle | |
| curves of his body. The background is a simple cross-hatched texture, adding | |
| depth and shading to the scene. | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: duxari | |
| license: other | |
| license_name: flux-1-dev-non-commercial-license | |
| license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md | |
| # duncan_flux | |
| A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `duxari` to trigger the image generation. | |
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc. | |
| Weights for this model are available in Safetensors format. | |