Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

OpenTrouter
/
Trouter-Imagine-1

Text-to-Image
Diffusers
English
stable-diffusion
image-generation
diffusion
ai-art
generative-ai
Model card Files Files and versions
xet
Community

Instructions to use OpenTrouter/Trouter-Imagine-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use OpenTrouter/Trouter-Imagine-1 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("OpenTrouter/Trouter-Imagine-1", 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
  • Local Apps
  • Draw Things
  • DiffusionBee
Trouter-Imagine-1
349 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 14 commits
Trouter-Library's picture
Trouter-Library
Update README.md
27ed923 verified 6 months ago
  • .gitattributes
    1.62 kB
    Banner.png 6 months ago
  • 1000033355.png
    195 kB
    xet
    Banner.png 6 months ago
  • README.md
    13.8 kB
    Update README.md 6 months ago
  • app.py
    4.55 kB
    Create app.py 6 months ago
  • config.json
    13.4 kB
    Create config.json 6 months ago
  • examples.py
    31.7 kB
    Create examples.py 6 months ago
  • inference.py
    24.3 kB
    Create inference.py 6 months ago
  • model.py
    17.7 kB
    Create model.py 6 months ago
  • pipeline.py
    18.7 kB
    Create pipeline.py 6 months ago
  • utils.py
    28.1 kB
    Create utils.py 6 months ago