Skip to content

Food generator macOS app with CoreML Diffusion Models based on Swift. Generate diffusions in 4 seconds on MacBook Air M2

License

Notifications You must be signed in to change notification settings

germanjke/food-generator-vision

Repository files navigation

Food Generator🍔 with Stable Diffusion🎨 on macOS🍏

Discover the power of stable diffusion models in macOS applications with our Swift-based project. This application seamlessly integrates the cutting-edge capabilities of stable diffusion models into the macOS environment, making it accessible to a wide range of developers.

This project builds upon the foundation of the swift-coreml-diffusers library, which, in turn, inherits its functionality from the renowned Python library, diffusers, developed by Hugging Face. This powerful lineage ensures that our application leverages state-of-the-art techniques and models to deliver impressive results.

Experience the simplicity of creating your own application that can perform inference directly on your MacBook with M1/M2 processors, without the need for dedicated GPU resources. Explore the world of stable diffusion models and harness their potential within your macOS projects. Join us in shaping the future of machine learning on macOS!

  1. Download model weights from Advanced Generation Settings (only once)
  2. Write down which products you have in the refrigerator
  3. Choose a cuisine
  4. Discover generation settings
  5. Enjoy your prepared meal

Your pictures can be generated in 4 seconds on m2 macbook air

You can come up with something everyday:

But you can also blow your mind:

Requirements

  • MacBook M1/M2
  • macOS Ventura 13.1>=
  • Xcode 15.0>= (beta is ok)

How to Run/Build

  1. git clone https://github.com/germanjke/food-generator-vision.git
  2. Open project in Xcode
  3. Product -> Run or Build

What can be improved

  1. Discover more models
  2. Finetune models for you tasks
  3. Write app which you want ...

About

Food generator macOS app with CoreML Diffusion Models based on Swift. Generate diffusions in 4 seconds on MacBook Air M2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages