{"id":28857683,"url":"https://github.com/zanvari/stable-diffusion-lab","last_synced_at":"2026-05-09T09:03:11.105Z","repository":{"id":299742843,"uuid":"1004048716","full_name":"zanvari/stable-diffusion-lab","owner":"zanvari","description":"Hands-on tutorials for generating and editing images using Stable Diffusion with Hugging Face Diffusers — includes text-to-image, inpainting, and image-to-image pipelines.","archived":false,"fork":false,"pushed_at":"2025-06-18T04:08:27.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-18T04:31:39.815Z","etag":null,"topics":["diffusers","generative-ai","gradio","huggingface","image-generation","notebooks","stable-diffusion","streamlit","text-to-image","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/zanvari.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,"zenodo":null}},"created_at":"2025-06-18T03:34:33.000Z","updated_at":"2025-06-18T04:11:33.000Z","dependencies_parsed_at":"2025-06-18T04:42:03.372Z","dependency_job_id":null,"html_url":"https://github.com/zanvari/stable-diffusion-lab","commit_stats":null,"previous_names":["zanvari/stable-diffusion-lab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zanvari/stable-diffusion-lab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanvari%2Fstable-diffusion-lab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanvari%2Fstable-diffusion-lab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanvari%2Fstable-diffusion-lab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanvari%2Fstable-diffusion-lab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zanvari","download_url":"https://codeload.github.com/zanvari/stable-diffusion-lab/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zanvari%2Fstable-diffusion-lab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260862920,"owners_count":23074180,"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":["diffusers","generative-ai","gradio","huggingface","image-generation","notebooks","stable-diffusion","streamlit","text-to-image","tutorial"],"created_at":"2025-06-20T02:02:06.223Z","updated_at":"2026-05-09T09:03:11.100Z","avatar_url":"https://github.com/zanvari.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧪 Stable Diffusion Lab\n\nA hands-on, tutorial-driven project for experimenting with various Stable Diffusion pipelines using Hugging Face's `diffusers` library.\n\n## 📚 Tutorials Included\n\n| Notebook | Description |\n|----------|-------------|\n| [`01_txt2img_tutorial.ipynb`](./notebooks/txt2img_tutorial.ipynb) | Generate images from text prompts |\n| [`02_inpainting_tutorial.ipynb`](./notebooks/inpainting_tutorial.ipynb) | Modify masked image areas using prompts |\n| [`03_img2img_tutorial.ipynb`](./notebooks/img2img_tutorial.ipynb) | Transform images using guiding prompts |\n\n---\n\n## ✨ Prompt Ideas\n\n### Text-to-Image Prompts\n- `\"A futuristic cityscape at sunset, highly detailed\"`\n- `\"A magical forest with glowing plants and floating lanterns\"`\n- `\"An astronaut playing guitar on the moon, digital art\"`\n- `\"A cat wearing a spacesuit in a spaceship cockpit\"`\n\n### Inpainting Use Cases\n- Remove objects from background and regenerate surroundings\n- Replace sky with dramatic sunset\n- Change outfits or accessories in portraits\n- Fill missing or damaged parts of an image creatively\n\n### Image-to-Image Prompts\n- `\"Turn this pencil sketch into a realistic portrait\"`\n- `\"Make this daytime photo look like night with neon lights\"`\n- `\"Convert this rough landscape into a digital oil painting\"`\n\n---\n\n## 🖥️ App Interfaces\n\n| App | File | Description |\n|-----|------|-------------|\n| Gradio | [`app/gradio_app.py`](./app/gradio_app.py) | Launches a Gradio web UI for text-to-image generation |\n| Streamlit | [`app/streamlit_app.py`](./app/streamlit_app.py) | Launches a Streamlit app with prompt input and image output |\n\nTo run locally:\n```bash\n# Gradio\npython app/gradio_app.py\n\n# Streamlit\nstreamlit run app/streamlit_app.py\n```\n\n---\n\n## 🧰 Requirements\n\n```bash\npip install -r requirements.txt\n```\n\n---\n\n## 🧠 Author\n\nBy **Zahra Anvari**\n\n---\n\n## 📜 License\n\nThis project is licensed under the MIT License. You are free to use, modify, and distribute it with attribution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanvari%2Fstable-diffusion-lab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzanvari%2Fstable-diffusion-lab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzanvari%2Fstable-diffusion-lab/lists"}