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

AIDC-AI
/
UNIC-Adapter

Diffusers
English
Multimodal-Image-Generation
Image-Generation
Model card Files Files and versions
xet
Community

Instructions to use AIDC-AI/UNIC-Adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use AIDC-AI/UNIC-Adapter with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("AIDC-AI/UNIC-Adapter", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
UNIC-Adapter / examples
12.5 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 2 commits
duanlunhao
update readme
e794ac7 10 months ago
  • example_0.png
    1.13 MB
    xet
    update readme 10 months ago
  • example_1.png
    1.67 MB
    xet
    update readme 10 months ago
  • example_2.png
    1.27 MB
    xet
    update readme 10 months ago
  • example_3.png
    972 kB
    xet
    update readme 10 months ago
  • example_4.png
    1.09 MB
    xet
    update readme 10 months ago
  • example_5.png
    2.12 MB
    xet
    update readme 10 months ago
  • example_6.png
    1.85 MB
    xet
    update readme 10 months ago
  • example_7.png
    593 kB
    xet
    update readme 10 months ago
  • example_8.png
    1.03 MB
    xet
    update readme 10 months ago
  • example_9.png
    741 kB
    xet
    update readme 10 months ago