Instructions to use erwancodes/TeslaOptimusFluxD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use erwancodes/TeslaOptimusFluxD 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("erwancodes/TeslaOptimusFluxD") prompt = "Optimus is a robot with the text \"TESLA\" on its chest. it's a dj in a nighclub and wears a cowboy hat. It's dancing<lora:Optimus:0.9>" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: images/00025-2731823840.png | |
| text: >- | |
| Optimus is a robot with the text "TESLA" on its chest. it's a dj in a | |
| nighclub and wears a cowboy hat. It's dancing<lora:Optimus:0.9> | |
| - output: | |
| url: images/00015-4091116713.png | |
| text: >- | |
| Optimus is a robot with the text "TESLA" on its chest. it's skateboarding in | |
| a grocery store <lora:Optimus:0.9> | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: Optimus is a robot with the text "TESLA" on its chest | |
| # Tesla Optimus | |
| <Gallery /> | |
| ## Model description | |
| Tesla Optimus - Flux1.D | |
| Source : https://civitai.com/models/869694/tesla-optimus-flux1d | |
| ## Trigger words | |
| You should use `Optimus is a robot with the text "TESLA" on its chest` to trigger the image generation. | |
| ## Download model | |
| [Download](/ErwanSagnardon/TeslaOptimusFluxD/tree/main) them in the Files & versions tab. | |