Instructions to use KamiyabAli/frames with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KamiyabAli/frames 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("KamiyabAli/frames") prompt = "FRM$ a majestic mountain range with snow-capped peaks in the background, illuminated by the setting sun. The sky is a beautiful mix of oranges, pinks, and purples, creating a stunning backdrop for the majestic peaks." 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 | |
| widget: | |
| - text: >- | |
| FRM$ a majestic mountain range with snow-capped peaks in the background, | |
| illuminated by the setting sun. The sky is a beautiful mix of oranges, | |
| pinks, and purples, creating a stunning backdrop for the majestic peaks. | |
| output: | |
| url: images/example_o2ro7h0f0.png | |
| - text: >- | |
| FRM$ a realistic mountain landscape during the day, captured from a camera. | |
| A winding river flows through a lush green valley, with only one towering | |
| mountain in the distance covered in snow. The rest of the landscape is green | |
| and vibrant, contrasting with the white peak. The sky is partly cloudy, with | |
| soft, rolling clouds casting shadows over the terrain. Sunlight filters | |
| through the clouds, creating dynamic lighting across the valley, while the | |
| river glistens in the daylight. The snow-covered mountain stands as a | |
| striking focal point against the serene, natural surroundings. | |
| output: | |
| url: images/example_kol0okh07.png | |
| - text: >- | |
| FRM$ a small, secluded lake nestled amidst a valley of stylized, low-poly | |
| mountains, reminiscent of the Firewatch art style. A simple wooden | |
| watchtower overlooks the lake, its silhouette sharp against the warm, orange | |
| and pink hues of a sunset sky. A small herd of deer graze peacefully near | |
| the lakeshore. The overall scene should evoke a sense of tranquility and | |
| isolation, with a vibrant yet slightly muted color palette. | |
| output: | |
| url: images/example_e1q0jgkne.png | |
| - text: >- | |
| FRM$ a picturesque valley in Montana, rendered in a vibrant, slightly | |
| exaggerated Far Cry 5 style. Rugged, pine-covered mountains rise sharply in | |
| the background. A small, clear lake reflects the mountainous landscape and | |
| a slightly overcast sky, dappled with rays of sunlight breaking through the | |
| clouds. A weathered wooden watchtower, perhaps with some crude additions or | |
| signs of habitation, overlooks the lake. A small herd of white-tailed deer | |
| graze nervously near the lake's edge, their ears twitching, aware of a | |
| lurking presence just out of frame. Hints of wildflowers and tall grass add | |
| to the detailed natural environment. The overall mood should be both | |
| beautiful and subtly unsettling, hinting at the potential for danger within | |
| this idyllic scene. | |
| output: | |
| url: images/example_6u1m2zzb4.png | |
| - text: >- | |
| FRM$ a river flowing near a mountain and plains land, firewatch style, | |
| watch tower on mountain, purplish dominant color, animals | |
| output: | |
| url: images/firewatch.jpeg | |
| - output: | |
| url: sample/frames_001000_00_20241111172106.png | |
| text: >- | |
| FRM$ a breathtaking view of the Great Smoky Mountains from the top of a | |
| mountain at sunset. The sky is a beautiful mix of oranges, pinks, and | |
| purples, and the clouds are illuminated by the setting sun. The mountains | |
| are silhouetted against the sky, creating a stunning landscape. | |
| - output: | |
| url: sample/frames_001000_01_20241111172118.png | |
| text: >- | |
| FRM$ a beautiful sunset with a silhouette of trees in the foreground. The | |
| sky is painted in a range of warm colors, from deep oranges to bright | |
| yellows, and the sun is setting in the distance. The trees are silhouetted | |
| against the sky, creating a peaceful and serene atmosphere. | |
| - output: | |
| url: sample/frames_001000_02_20241111172129.png | |
| text: >- | |
| FRM$ a stunning view of a body of water from the top of a hill, with the sun | |
| setting in the background. The sky is a beautiful mix of oranges, pinks, and | |
| purples, and the hills are silhouetted against the horizon. The water is | |
| calm and still, reflecting the colors of the sky. | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: FRM$ | |
| 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 | |
| # frames | |
| A Flux LoRA trained on a local computer with [Fluxgym](https://github.com/cocktailpeanut/fluxgym) | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `FRM$` 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. | |