{"id":20348516,"url":"https://github.com/onebeyond/poc-local-stable-diffusion","last_synced_at":"2026-05-11T06:57:16.575Z","repository":{"id":182339252,"uuid":"668318437","full_name":"onebeyond/poc-local-stable-diffusion","owner":"onebeyond","description":"PoC of local implementation of stable diffusion with slack","archived":false,"fork":false,"pushed_at":"2023-07-20T08:11:54.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-14T23:32:36.922Z","etag":null,"topics":["ai","llm","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/onebeyond.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-19T14:19:06.000Z","updated_at":"2023-08-09T15:20:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"da2b19d1-b25c-4809-a348-31b63147be11","html_url":"https://github.com/onebeyond/poc-local-stable-diffusion","commit_stats":null,"previous_names":["onebeyond/poc-local-stable-diffusion"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fpoc-local-stable-diffusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fpoc-local-stable-diffusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fpoc-local-stable-diffusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onebeyond%2Fpoc-local-stable-diffusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onebeyond","download_url":"https://codeload.github.com/onebeyond/poc-local-stable-diffusion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241877485,"owners_count":20035417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","llm","stable-diffusion"],"created_at":"2024-11-14T22:20:58.067Z","updated_at":"2026-05-11T06:57:11.529Z","avatar_url":"https://github.com/onebeyond.png","language":"Python","funding_links":[],"categories":["AI"],"sub_categories":[],"readme":"# poc-local-stable-diffusion\n\n- [poc-local-stable-diffusion](#poc-local-stable-diffusion)\n  - [environment variables](#environment-variables)\n  - [Model provisioning](#model-provisioning)\n  - [Running the app](#running-the-app)\n\nPoC of local implementation of stable diffusion with slack\n\n## environment variables\n\nYou need to setup a `.env` file with this information:\n\n- **SLACK_BOT_AUTH_TOKEN** is the token that we get from Slack when we register our Slack app. This token is used to authenticate our app, and it allows us to access the Slack API.\n\n- **SLACK_APP_AUTH_TOKEN** is the token that we get from Slack when we register our Slack app. This token is used to authenticate our app, and it allows us to access the Slack API.\n\n- **SLACK_BOT_USER_ID** is the token that we get from Slack when we register our Slack app. This token is used to authenticate our app, and it allows us to access the Slack API.\n\n- **MODEL_PATH** is the path to the model that we want to use for our Slack bot. This is the path to the model that we want to use for our Slack bot.\n\n## Model provisioning\n\nJust head to [huggingface.co](https://huggingface.co) and download the model and put it in the `model` folder defined at `MODEL_PATH`.\n\nThis proof of concept uses the `stabilityai/stable-diffusion-2-1` model.\n\n## Running the app\n\nYou need to have python 3.10 installed at least, we recommend the use of a virtual environment to handle it\n\n```bash\npython -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\npython main.py\n```\n\n\u003e ⚠️ You need a capable CUDA GPU to run this model, if you don't have one, you can use Google Colab/Azure AI or any cloud provided GPU instance to run it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fpoc-local-stable-diffusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonebeyond%2Fpoc-local-stable-diffusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonebeyond%2Fpoc-local-stable-diffusion/lists"}