https://github.com/lucataco/cog-flux-dev-lora
LoRA Explorer model to test with LoRAs using Flux.1[Dev] as the base model
https://github.com/lucataco/cog-flux-dev-lora
cog
Last synced: about 1 year ago
JSON representation
LoRA Explorer model to test with LoRAs using Flux.1[Dev] as the base model
- Host: GitHub
- URL: https://github.com/lucataco/cog-flux-dev-lora
- Owner: lucataco
- License: apache-2.0
- Created: 2024-08-13T23:22:05.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-11T05:10:36.000Z (almost 2 years ago)
- Last Synced: 2025-07-16T21:39:21.115Z (about 1 year ago)
- Topics: cog
- Language: Python
- Homepage: https://replicate.com/lucataco/flux-dev-lora
- Size: 3.68 MB
- Stars: 50
- Watchers: 2
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FLUX.1-dev LoRA Explorer Cog Model
This is an implementation of [black-forest-labs/FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev) as a [Cog](https://github.com/replicate/cog) model.
CodeName LoRA Explorer, to explore the model with different LoRA weights.
## Development
Follow the [model pushing guide](https://replicate.com/docs/guides/push-a-model) to push your own model to [Replicate](https://replicate.com).
## How to use
Make sure you have [cog](https://github.com/replicate/cog) installed.
To run a prediction:
cog predict -i prompt="a beautiful castle frstingln illustration" -i extra_lora="alvdansen/frosting_lane_flux"

## Tests
HF
```
cog predict -i prompt="a beautiful castle frstingln illustration" -i hf_lora="alvdansen/frosting_lane_flux" -i output_format="png"
```
CivitAI
```
cog predict -i prompt="pnt style Illustration of a wizard" -i hf_lora="https://civitai.com/api/download/models/735262?type=Model&format=SafeTensor" -i output_format="png"
```
Replicate
```
cog predict -i prompt="photo of TOK with purple hair" -i hf_lora="https://replicate.delivery/yhqm/9vSmRCa8Vv7bFtKfCfXTRzTq4X71tZW0LtLCb1l49bTSo8TTA/trained_model.tar" -i output_format="png"
```
## License
The code in this repository is licensed under the [Apache-2.0 License](LICENSE).
Flux Dev falls under the [`FLUX.1 [dev]` Non-Commercial License](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
`FLUX.1 [dev]` fine-tuned weights and their outputs are non-commercial by default, but can be used commercially when running on Replicate.