Instructions to use cocktailpeanut/optimus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use cocktailpeanut/optimus 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("cocktailpeanut/optimus") prompt = "optimus is cleaning the house with broomstick" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - flux | |
| - lora | |
| - diffusers | |
| - template:sd-lora | |
| - fluxgym | |
| widget: | |
| - output: | |
| url: sample/optimus_001000_00_20240916125554.png | |
| text: optimus is cleaning the house with broomstick | |
| - output: | |
| url: sample/optimus_001000_01_20240916125612.png | |
| text: optimus is competing in a bboy break dancing competition | |
| - output: | |
| url: sample/optimus_001000_02_20240916125629.png | |
| text: optimus is playing the game of go, against a human | |
| - output: | |
| url: sample/optimus_001000_03_20240916125646.png | |
| text: optimus is driving a car | |
| - text: optimus chilling on a yacht with bikini ladies | |
| output: | |
| url: images/example_rpzgstmpa.png | |
| - text: optimus is playing tennis in a tennis court | |
| output: | |
| url: images/example_gm8bpi0z4.png | |
| - text: optimus is a DJ performing at a hip nightclub, surrounded by hot people | |
| output: | |
| url: images/example_heev81kfo.png | |
| - text: optimus is chilling on a yacht with many bikini ladies on his side | |
| output: | |
| url: images/example_uf13dj16i.png | |
| - text: optimus has angel wings and flies around in new york city | |
| output: | |
| url: images/example_hetrfzm5n.png | |
| - text: optimus is in a japanese manga page | |
| output: | |
| url: images/example_dcyajrq9j.png | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: optimus | |
| 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 | |
| # optimus | |
| Trained with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `optimus` 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. | |