|
--- |
|
tags: |
|
- text-to-image |
|
- stable-diffusion |
|
- diffusers |
|
- image-generation |
|
- flux |
|
- safetensors |
|
widget: |
|
- text: A young asian girl, filmfotos,film grain, reversal film photography |
|
output: |
|
url: images/1.png |
|
- text: >- |
|
A young Japanese girl, profile, blue hours, Tokyo tower, filmfotos,film |
|
grain, reversal film photography |
|
output: |
|
url: images/2.png |
|
- text: Tokyo street photography, filmfotos,film grain, reversal film photography |
|
output: |
|
url: images/3.png |
|
base_model: black-forest-labs/FLUX.1-dev |
|
instance_prompt: filmfotos, film grain, reversal film photography |
|
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 |
|
language: |
|
- en |
|
library_name: diffusers |
|
--- |
|
# FilmPortrait |
|
|
|
<div class="container"> |
|
<img src="./poster.jpeg" width="1024"/> |
|
</div> |
|
|
|
FilmPortrait is a LoRA model finetuned on FLUX.1-dev, specifically designed to enhance the film texture. It embodies a subdued, low-saturation color palette reminiscent of classic Japanese cinema, which is particularly evident in its portrayal of characters (with a subtle bias towards Asian features), serene still lifes, and sweeping landscapes. The model delivers an exceptional aesthetic experience, capturing the essence of a bygone era with modern precision. |
|
|
|
<div class="container"> |
|
<img src="./cover.jpeg" width="1024"/> |
|
</div> |
|
|
|
<Gallery /> |
|
|
|
|
|
## Trigger words |
|
|
|
You should use `filmfotos, film grain, reversal film photography` to trigger the image generation. |
|
|
|
|
|
## 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/FilmPortrait', weight_name='filmfotos.safetensors') |
|
pipe.fuse_lora(lora_scale=1.0) |
|
pipe.to("cuda") |
|
|
|
prompt = "a young girl, filmfotos, film grain, reversal film photography" |
|
|
|
image = pipe(prompt, |
|
num_inference_steps=24, |
|
guidance_scale=3.5, |
|
width=768, height=1024, |
|
).images[0] |
|
image.save(f"example.png") |
|
``` |
|
|
|
## Online Inference |
|
|
|
You can also download this model at [Shakker AI](https://www.shakker.ai/modelinfo/baa0dc46adb34547860a17a571065c9d?from=feed), where we provide an online interface to generate images. |
|
|
|
|
|
## Acknowledgements |
|
This model is trained by our copyrighted users [DynamicWang](https://www.shakker.ai/userpage/dfca7abc67c04a9492ea738d864de070/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). |