|
--- |
|
base_model: black-forest-labs/FLUX.1-schnell |
|
license: apache-2.0 |
|
tags: |
|
- autotrain |
|
- spacerunner |
|
- text-to-image |
|
- flux |
|
- lora |
|
- diffusers |
|
- template:sd-lora |
|
widget: |
|
- text: A city skyline at sunset. The sky is an intense golden-yellow, giving the image a warm glow. The water in front of the skyline with a small boat crossing the scene, in the style of TIMESTRETCH |
|
output: |
|
url: samples/623e54c6-4c5e-491a-85f8-7c0cfc92b4a8.jpg |
|
- text: Boy playing basketball on a court, with the tall skyscraper in the background in the style of TIMESTRETCH |
|
output: |
|
url: samples/01fcd6fb-fd17-4693-9846-feea1650f439.jpg |
|
- text: A man in a suit is walking across a scene with a large, boxy modern building in the background in the style of TIMESTRETCH |
|
output: |
|
url: samples/fd3222a5-8a0e-4ddb-a585-a1cde2bd5dc6.jpg |
|
instance_prompt: in the style of TIMESTRETCH |
|
--- |
|
|
|
# timestretchlora |
|
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) |
|
<Gallery /> |
|
|
|
## Trigger words |
|
|
|
You should use `in the style of TIMESTRETCH` to trigger the image generation. |
|
|
|
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc. |
|
|
|
Weights for this model are available in Safetensors format. |
|
|
|
[Download](/lazarzivanovicc/timestretchlora/tree/main) them in the Files & versions tab. |
|
|
|
## 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-schnell', torch_dtype=torch.bfloat16).to('cuda') |
|
pipeline.load_lora_weights('lazarzivanovicc/timestretchlora', weight_name='timestretchlora') |
|
image = pipeline('People in a bustling cafe in the style of TIMESTRETCH').images[0] |
|
image.save("my_image.png") |
|
``` |
|
|
|
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) |
|
|
|
|