Raemu-Flux / README.md
Raelina's picture
Create README.md
44663a2 verified
metadata
tags:
  - text-to-image
  - stable-diffusion
  - Diffusers
  - image-generation
  - flux
  - safetensors
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
base_model: black-forest-labs/FLUX.1-dev
library_name: diffusers

Raemu Flux

Sample Image 1
Sample Image 2
Sample Image 3
Sample Image 4
Sample Image 5
Sample Image 6

Overview

Raemu Flux is a finetuned model built on top of Flux.1-dev, specifically focused on anime. It has been finetuned with dataset nearly 1,500 carefully curated, high-quality aesthetic anime images, resulting in noticeable improvements in anime scene rendering and visual quality.

Inference

import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("Raelina/Raemu-Flux", torch_dtype=torch.bfloat16)
# to run on low vram GPUs (i.e. between 4 and 32 GB VRAM)
pipe.enable_sequential_cpu_offload()
pipe.vae.enable_slicing()
pipe.vae.enable_tiling()

prompt = "A woman anime hold sign that says hello world"
image = pipe(
    prompt,
    width=896,
    height=1152,
    guidance_scale=3.5,
    num_inference_steps=20,
    max_sequence_length=512,
    generator=torch.Generator("cpu").manual_seed(0)
).images[0]

image.save("raemu-flux.png")

Usage

Be sure to include anime in your prompt. otherwise, the output may appear realistic. For example:

A woman anime hold sign that says Hello World.

License

The model falls under flux-1-dev-non-commercial-license