TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Deploy your own real-time SDXL Lightning API

2 pointsby ekzhangover 1 year ago

1 comment

ekzhangover 1 year ago
We made a small web app for SDXL Lightning, running your own Python code on GPUs. It generates images in real time.<p>We know there was a fal.ai post yesterday, and that garnered a lot of interest. We also made this quick demo yesterday but didn&#x27;t end up sharing it then. So after seeing this, we thought it would be interesting to mention as an alternative tool for people who like deploying their own code and custom models rather than using prebuilt APIs. :)<p>As mentioned in title, the backend code is open-source too. It&#x27;s 80 lines of Python running on serverless functions, and you can deploy it yourself, or customize it to any model you choose:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;modal-labs&#x2F;modal-examples&#x2F;blob&#x2F;main&#x2F;06_gpu_and_ml&#x2F;stable_diffusion&#x2F;stable_diffusion_xl_lightning.py">https:&#x2F;&#x2F;github.com&#x2F;modal-labs&#x2F;modal-examples&#x2F;blob&#x2F;main&#x2F;06_gp...</a>