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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Uglehs
/
photomanipulation

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

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

  • Libraries
  • Diffusers

    How to use Uglehs/photomanipulation 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("Uglehs/photomanipulation")
    
    prompt = "This image depicts the transformation of a simple portrait into a symbolic environmental concept. [ORIGINAL] shows a woman with red hair wearing a black dress, standing against a neutral gray background and holding a transparent glass sphere in her hand, with a contemplative expression and soft lighting emphasizing her pose. [ALTERED] reimagines the sphere as the Earth, with vivid blue oceans and green continents visible, while water appears to leak from cracks in the globe, trickling down her hand and pooling below, creating a striking commentary on environmental fragility."
    image = pipe(prompt).images[0]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
photomanipulation
24.5 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Uglehs's picture
Uglehs
Rename In_Context_Photo_Manipulation(1).safetensors to In_Context_Photo_Manipulation.safetensors
c15833f verified over 1 year ago
  • images
    Add 5 files over 1 year ago
  • .gitattributes
    2.31 kB
    initial commit over 1 year ago
  • In_Context_Photo_Manipulation.safetensors
    19.3 MB
    xet
    Rename In_Context_Photo_Manipulation(1).safetensors to In_Context_Photo_Manipulation.safetensors over 1 year ago
  • README.md
    4.35 kB
    initial commit over 1 year ago