Instructions to use tugan0329/flux-dev-otake with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tugan0329/flux-dev-otake 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("tugan0329/flux-dev-otake") prompt = "A photo of a cartoon wolf OTAKE standing in a snowy winter scene, surrounded by softly falling snowflakes and frosted pine trees. The wolf is wearing a colorful parka with festive white patterns, a cozy red scarf, and a red Christmas hat with a fluffy white trim. OTAKE has a serious expression, gazing intently into the distance, with his orange fur contrasting against the snowy backdrop. The atmosphere is serene, capturing the chilly essence of Christmas day." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| 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 | |
| language: | |
| - en | |
| tags: | |
| - flux | |
| - diffusers | |
| - lora | |
| - replicate | |
| base_model: black-forest-labs/FLUX.1-dev | |
| pipeline_tag: text-to-image | |
| instance_prompt: OTAKE | |
| widget: | |
| - text: >- | |
| A photo of a cartoon wolf OTAKE standing in a snowy winter scene, surrounded | |
| by softly falling snowflakes and frosted pine trees. The wolf is wearing a | |
| colorful parka with festive white patterns, a cozy red scarf, and a red | |
| Christmas hat with a fluffy white trim. OTAKE has a serious expression, | |
| gazing intently into the distance, with his orange fur contrasting against | |
| the snowy backdrop. The atmosphere is serene, capturing the chilly essence | |
| of Christmas day. | |
| example_title: Christmas Snow | |
| output: | |
| url: images/otake1.jpeg | |
| - text: >- | |
| A cartoon wolf OTAKE standing confidently on a cobblestone path with a | |
| spooky Halloween castle looming in the background. The wolf is wearing a | |
| dramatic black cape with jagged edges and a silver clasp, along with a dark | |
| orange vest adorned with subtle spiderweb patterns. A carved pumpkin with an | |
| eerie grin sits beside OTAKE on the ground. The wolf’s orange fur and | |
| serious expression are fully visible, illuminated by the soft glow of the | |
| moon overhead. Twisted trees and faint mist add to the chilling Halloween | |
| atmosphere. | |
| example_title: Halloween | |
| output: | |
| url: images/otake2.jpeg | |
| - text: >- | |
| A cartoon wolf OTAKE standing proudly in a vibrant Chinese New Year scene | |
| celebrating the Year of the Dragon. The wolf is dressed in a traditional red | |
| and gold Chinese jacket with intricate patterns, holding a glowing red | |
| lantern in one hand. Surrounding the wolf are festive decorations, including | |
| hanging red lanterns, gold ingots, and firecrackers. A majestic dragon | |
| dances in the background, its scales shimmering in shades of red and gold | |
| under the light of fireworks bursting in the night sky. The wolf’s orange | |
| fur and confident smile are fully visible, exuding a celebratory and festive | |
| vibe. | |
| example_title: Chinese Year of Dragon | |
| output: | |
| url: images/otake3.jpeg | |
| - text: >- | |
| A photo of a cartoon wolf OTAKE, sitting by a campfire roasting | |
| marshmallows. The wolf is wearing a green hoodie and has a relaxed, content | |
| expression. | |
| example_title: Campfire | |
| output: | |
| url: images/example_zkg8pbdty.png | |
| - text: >- | |
| A photo of a cartoon wolf OTAKE, holding an umbrella in a rainy city street. | |
| The orange wolf wears a navy blue trench coat and looks thoughtful. | |
| example_title: Rainy Day | |
| output: | |
| url: images/example_08ws8ls5l.png | |
| - text: >- | |
| A photo of a cartoon wolf OTAKE, leaping through the air with a basketball | |
| in hand. The orange wolf wears a red jersey and displays a determined | |
| expression. | |
| example_title: Basketball | |
| output: | |
| url: images/example_ccvco2fyt.png | |
| - text: >- | |
| A cartoon wolf OTAKE , advanced wolf scientist in a high-tech lab, wearing a | |
| sleek visor with data scrolling across it, carefully holding a test tube | |
| filled with glowing liquid, eyes focused intently, surrounded by futuristic | |
| monitors displaying strange extraterrestrial DNA sequences, sci-fi and | |
| enigmatic mood. The wolf’s orange fur and curious smile are fully visible. | |
| output: | |
| url: images/example_q301v85e7.png | |
| - text: >- | |
| A cartoon wolf OTAKE, wolf explorer with orange fur, wearing a small | |
| backpack, holding a high-tech scanner device, large blue eyes filled with | |
| curiosity, standing in an ancient jungle temple covered in glowing alien | |
| symbols, vines and mist surrounding the scene, mysterious and adventurous | |
| mood. | |
| output: | |
| url: images/example_1tbrx92l5.png | |
| - text: >- | |
| a cartoon wolf OTAKE , orange fur archaeologist with blue eyes, carefully | |
| examining an ancient alien artifact emitting a soft blue glow, large curious | |
| blue eyes reflecting the mysterious symbols, standing in a dark underground | |
| chamber with floating holographic ruins, eerie and suspenseful atmosphere | |
| output: | |
| url: images/example_hxx7eamfn.png | |
| # Flux Dev Otake | |
| <Gallery /> | |
| Trained on Replicate using: | |
| https://replicate.com/ostris/flux-dev-lora-trainer/train | |
| ## Trigger words | |
| You should use `OTAKE` to trigger the image generation. | |
| ## 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.float16).to('cuda') | |
| pipeline.load_lora_weights('tugan0329/flux-dev-otake', weight_name='lora.safetensors') | |
| image = pipeline('your prompt').images[0] | |
| ``` | |
| 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) | |