FilmPortrait / README.md
wanghaofan's picture
Update README.md
74f498f verified
|
raw
history blame
2.83 kB
metadata
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

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.

Comparison

The following example shows a simple comparison with FLUX.1-dev under the same parameter setting.

Trigger words

You should use filmfotos, film grain, reversal film photography to trigger the image generation.

Inference

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=0.9)
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, where we provide an online interface to generate images.

Acknowledgements

This model is trained by our copyrighted users DynamicWang. We release this model under permissions. The model follows flux-1-dev-non-commercial-license.