Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Sawata97
/
flux2_4b_koni_animestyle

Text-to-Image
Diffusers
lora
template:diffusion-lora
Model card Files Files and versions
xet
Community
1

Instructions to use Sawata97/flux2_4b_koni_animestyle with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use Sawata97/flux2_4b_koni_animestyle 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.2-klein-4B", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("Sawata97/flux2_4b_koni_animestyle")
    
    prompt = "一位拥有浅蓝色波浪长发与翠绿色眼眸的少女,坐在一棵枝繁叶茂的大树树荫下的草地上。她穿着现代风格的白色短袖衬衫和深蓝色百褶裙,双腿并拢微微屈起,双手放松地搭在膝盖上。阳光透过树叶的缝隙,在她身上和周围的草地上投下斑驳的光点。她的表情宁静,目光柔和地望向侧前方。画面采用现代动画插画风格,细节清晰,色彩明亮柔和,背景是虚化的公园草地和远处的树木。"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
flux2_4b_koni_animestyle
191 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Sawata97's picture
Sawata97
Update README.md
b392813 verified 7 months ago
  • images
    Add 5 files 7 months ago
  • .gitattributes
    2.31 kB
    initial commit 7 months ago
  • Flux_klein_4b_anime_Koni.safetensors
    185 MB
    xet
    Add 5 files 7 months ago
  • README.md
    4.94 kB
    Update README.md 7 months ago