Show HN: Run Stable Diffusion Directly on iPhone

  • Apple released CoreML Stable Diffusion library a little over a year ago [1]. Hugging Face released their version of the example app for the CoreML Stable Diffusion library [2].

    The app should be able to run on iPhone 14 Pro, I believe the requirements is about 6-8Gb of RAM. And I was not able to run it on iPhone 13 Mini, because it has only 4Gb of RAM.

    - [1] https://github.com/apple/ml-stable-diffusion

    - [2] https://github.com/huggingface/swift-coreml-diffusers

  • How does this compare to Draw Things?

  • Testing on my iPhone 15 pro - I couldn't find it in the app store with a search but I looked up the developer and was able to download it there. Working so far, first image took a while (a few minutes, as the app warned me), but subsequent images were a bit faster (~1.5 minutes). Phone does get pretty warm though.

  • Great work, Sindre! Didn't realize you were in the AI and app space. You've got quite a prolific OSS portfolio spanning decades at this point.

  • Runs pretty slow and hot on my 15 Pro. Seems like a pretty old model as well.

  • The storage capacity of Stable Diffusion on my computer has exceeded 100 GB, so I don't consider it a productive option.

  • It really would not work with 14 plus?

  • Nice, good job

  • Stable Diffusion runs on iPhone without any issues on DiffusionHub.io

  • The author of this app has also made a bunch of nice Mac apps, mostly menubar apps. I use several in my daily work.

  • Requires iPhone 15 pro

  • I tried using it to generate some sprites for a game I've been thinking about. Kept telling me it couldn't show me the image because it wasn't safe (I asked for robot pirates). Couldn't see a way to turn off the nsfw protection. Uninstalled it :(

  • [dead]

  • [flagged]

  • [flagged]