Instructions to use PulpMud/champion-maker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PulpMud/champion-maker 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("PulpMud/champion-maker") prompt = "This two-panel image showcases game art and abilities for the video game character <Volturn>; [TOP] the splash art features a cloaked figure wreathed in crackling midnight-blue lightning, their silhouette barely visible against a storm-wracked night sky. Silver armor pieces catch the light of their electrical discharges, while thunder clouds roil ominously in the background; [BOTTOM] Gameplay panels demonstrate <Volturn>'s abilities in action: showing chain lightning effects that illuminate the darkness, electric dash movements leaving trails of sparks, and ultimate ability summons massive lightning strikes that briefly turn night to day." 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 | |
| - ai-toolkit | |
| widget: | |
| - text: 'This two-panel image showcases game art and abilities for the video game | |
| character <Volturn>; [TOP] the splash art features a cloaked figure wreathed | |
| in crackling midnight-blue lightning, their silhouette barely visible against | |
| a storm-wracked night sky. Silver armor pieces catch the light of their electrical | |
| discharges, while thunder clouds roil ominously in the background; [BOTTOM] | |
| Gameplay panels demonstrate <Volturn>''s abilities in action: showing chain | |
| lightning effects that illuminate the darkness, electric dash movements leaving | |
| trails of sparks, and ultimate ability summons massive lightning strikes that | |
| briefly turn night to day.' | |
| output: | |
| url: samples/1738207645569__000005000_0.jpg | |
| - text: 'This two-panel image showcases game art and abilities for the video game | |
| character <Seedling>; [TOP] the splash art depicts a cheerful, child-sized | |
| creature made of living bark and leaves, with flowers blooming in their footsteps | |
| and butterflies circling their glowing green hair. Sunbeams pierce through | |
| the forest canopy, creating a warm, welcoming atmosphere; [BOTTOM] Gameplay | |
| panels demonstrate <Seedling>''s abilities in action: showing colorful nature | |
| magic that causes plants to instantly grow, healing abilities that create | |
| circles of flowering grass, and playful attacks where they launch acorns that | |
| burst into miniature trees.' | |
| output: | |
| url: samples/1738207692054__000005000_1.jpg | |
| - text: 'This two-panel image showcases game art and abilities for the video game | |
| character <Prism>; [TOP] the splash art features a crystalline humanoid figure | |
| composed entirely of translucent, rainbow-refracting glass. Their form appears | |
| both delicate and dangerous, with sharp edges catching light and creating | |
| kaleidoscopic patterns on their surroundings; [BOTTOM] Gameplay panels demonstrate | |
| <Prism>''s abilities in action: showing abilities where they create mirrors | |
| and glass barriers, shatter and reform their body to dodge attacks, and unleash | |
| prismatic beams that split into multiple colorful rays of damaging light.' | |
| output: | |
| url: samples/1738207738560__000005000_2.jpg | |
| base_model: black-forest-labs/FLUX.1-dev | |
| 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 | |
| # champion-maker | |
| Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) | |
| <Gallery /> | |
| ## Trigger words | |
| No trigger words defined. | |
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc. | |
| Weights for this model are available in Safetensors format. | |
| [Download](/PulpMud/champion-maker/tree/main) them in the Files & versions tab. | |
| ## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers) | |
| ```py | |
| from diffusers import AutoPipelineForText2Image | |
| import torch | |
| pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda') | |
| pipeline.load_lora_weights('PulpMud/champion-maker', weight_name='champion-maker.safetensors') | |
| image = pipeline('This two-panel image showcases game art and abilities for the video game character <Volturn>; [TOP] the splash art features a cloaked figure wreathed in crackling midnight-blue lightning, their silhouette barely visible against a storm-wracked night sky. Silver armor pieces catch the light of their electrical discharges, while thunder clouds roil ominously in the background; [BOTTOM] Gameplay panels demonstrate <Volturn>'s abilities in action: showing chain lightning effects that illuminate the darkness, electric dash movements leaving trails of sparks, and ultimate ability summons massive lightning strikes that briefly turn night to day.').images[0] | |
| image.save("my_image.png") | |
| ``` | |
| For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters) | |