Instructions to use dataautogpt3/FLUX-SyntheticAnime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dataautogpt3/FLUX-SyntheticAnime 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("dataautogpt3/FLUX-SyntheticAnime") prompt = "1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| license: other | |
| license_name: flux1dev | |
| tags: | |
| - text-to-image | |
| - diffusers | |
| - lora | |
| - flux | |
| - flux-diffusers | |
| - template:sd-lora | |
| base_model: black-forest-labs/FLUX.1-dev | |
| instance_prompt: Paper Cutout Style | |
| widget: | |
| - text: 1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head | |
| output: | |
| url: assets/angel.png | |
| - text: Still frame from a 1980s vintage manga, cell shaded, a wall made of eyes, VHS quality, | |
| output: | |
| url: assets/eyes.png | |
| - text: Still frame from a 1980s vintage manga, cell shaded, where a girl is holding a lantern to a wall made out of faces, VHS quality, | |
| output: | |
| url: assets/wall.png | |
| - text: Still frame from a 1980s vintage manga where an anime couple dip their toes in a galaxy lake, nature, VHS quality | |
| output: | |
| url: assets/galaxy.png | |
| license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md | |
| <Gallery /> | |
| ## Model description | |
| Lora trained on the unique style and prompting AI generated image aesthetic of r/SyntheticAnime. over 300 images were used to train this lora for 15 epochs. | |
| 32 rank lora | |
| ## Trigger words | |
| You should use `1980s anime screengrab, VHS quality,` or `syntheticanime` to trigger the image generation. | |
| ## Use it with the [:firecracker: diffusers library](https://github.com/huggingface/diffusers) | |
| ```py | |
| from diffusers import AutoPipelineForText2Image | |
| import torch | |
| pipeline = AutoPipelineForText2Image.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16).to('cuda') | |
| pipeline.load_lora_weights('dataautogpt3/FLUX-SyntheticAnime', weight_name='Flux_1_Dev_LoRA_syntheticanime.safetensors') | |
| image = pipeline('1980s anime screengrab, VHS quality, a woman with her face glitching and disorted, a halo above her head').images[0] | |
| ``` | |
| 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) | |
| ## License | |
| Please adhere to the licensing terms as described [here](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md). |