File size: 4,002 Bytes
a30aa3c 9a03393 a30aa3c 9a03393 a30aa3c 9a03393 a30aa3c 9a03393 a30aa3c 9a03393 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- image-generation
- flux
- safetensors
widget:
- text: >-
This poster shows a smartphone on a black background. The iphone screen
shows a miniature scene, an amusement park scene, seamlessly integrated into
the phone's frame. The scene is set from the top left to the bottom right of
the phone, creating a perspective that draws the viewer into the tiny world.
In the middle is a huge Ferris wheel, surrounded by many amusement
facilities and shops
output:
url: images/577fa923f011853d6e96afd3dbd05810cf85625fec0614a36ca5e490.jpg
- text: >-
This poster shows a smartphone on a black background. The iphone screen
shows a miniature scene, a street scene, seamlessly integrated into the
iphone's frame. The scene is set from the top left to the bottom right of
the phone, creating a perspective that draws the viewer into the tiny world.
In the middle of the picture is the apple Store, which is a glass house. It
is surrounded by shopping malls and shops
output:
url: images/a29b8763a8f733dea09c1ab07a42263ef6e304cb81be3f5c97fbf8f6.jpg
- text: >-
This poster shows a smartphone against a dark background. The phone screen
reveals a miniature stereoscopic scene of eiffel tower, Paris, seamlessly
integrated into the phone’s frame
output:
url: images/c4f5c765bc8d3d396ed13d65666895ab23ada35c78ca6d91bf814613.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: null
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
---
# FLUX.1-dev-LoRA-Micro-landscape-on-Mobile-Phone
This is a LoRA trained on FLUX.1-dev for micro landscape on mobile phone by [DalaBengba](https://www.shakker.ai/userpage/1dfc365becb94c78b5a79499ca3c8685/publish) on [Shakker AI](https://www.shakker.ai/modelinfo/d6d1c836954a420aa87dc4672621fb6d?from=feed).
<div class="container">
<img src="./poster.jpg" width="1024"/>
</div>
## Showcases
<Gallery />
## Trigger words
The trigger word is not required. The recommended scale is `0.6` to `0.9` in diffusers.
## Usage suggestion
When you come up with a scene, you can directly give it to GPT to enrich the details. At the beginning, you can tell it this: 'I am using AI drawing software for creation, and I need you to help me write some prompts in natural language. Start the sentence like this: `This poster shows a smartphone against a dark background. The phone screen reveals a miniature scene of a xxxxxxx landscape, seamlessly integrated into the phone’s frame. In this sentence, xxxxxxx represents the specific scene. After this sentence, add some specific details about the scene.`
## Inference
```python
import torch
from diffusers import FluxPipeline
pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-Micro-landscape-on-Mobile-Phone", weight_name="FLUX-dev-lora-micro-landscape.safetensors")
pipe.fuse_lora(lora_scale=0.7)
pipe.to("cuda")
prompt = "This poster shows a smartphone against a dark background. The phone screen reveals a miniature stereoscopic scene of New York City, seamlessly integrated into the phone’s frame."
image = pipe(prompt,
num_inference_steps=24,
guidance_scale=3.5,
).images[0]
image.save(f"example.png")
```
## Online Inference
You can also run this model at [Shakker AI](https://www.shakker.ai/modelinfo/d6d1c836954a420aa87dc4672621fb6d?from=feed), where we provide an online interface to generate images.
## Acknowledgements
This model is trained by our copyrighted users [DalaBengba](https://www.shakker.ai/userpage/1dfc365becb94c78b5a79499ca3c8685/publish). We release this model under permissions. The model follows [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
|