Instructions to use bartar/prci with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bartar/prci 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("bartar/prci") prompt = "Photorealistic photo of prci, gray nissan qashqai, standing on a grey brick pavement, trees and blue sky in the background. Taken by phone" 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 | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: prci | |
| 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 | |
| widget: | |
| - text: >- | |
| Photorealistic photo of prci, gray nissan qashqai, standing on a grey brick | |
| pavement, trees and blue sky in the background. Taken by phone | |
| output: | |
| url: images/example_88v40fgl6.png | |
| - text: >- | |
| Photorealistic photo of prci, side of blue toyota avensis, neighboorhood | |
| houses and blue sky in the background. Taken by phone | |
| output: | |
| url: images/example_ls5wtfmis.png | |
| - text: >- | |
| Photorealistic photo of prci, a dark blue bmw m8 coupe, standing on a | |
| sidewalk in neighboorhood, realistic lighting, no plate | |
| output: | |
| url: images/example_5nc9cy385.png | |
| - text: >- | |
| Photorealistic photo of prci, black skoda octavia 2019 with a broken left | |
| side, after crash accident, open hood, standing on a grey bricked pavement | |
| with a empty parking field, brick, some cars in the background standing in | |
| line, grey sky | |
| output: | |
| url: images/example_z05h8t0i5.png | |
| # Photorealistic Car Images | |
| A Flux LoRA trained locally on dataset of various low/midrange cars close-up photos with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) | |
| You can use it to get better quality of car photos with realistic reflections, and more realistic backgrounds. | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `prci` to trigger the image generation with lora. | |
| Recommended prompt format is: | |
| "prci, [car color, brand, model], [environment/background description]" | |
| ## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, Forge, etc. | |
| Weights for this model are available in Safetensors format. | |