{"id":25404883,"url":"https://github.com/general-developer/stable_diffusion_library","last_synced_at":"2025-09-04T00:07:57.803Z","repository":{"id":277524502,"uuid":"932697435","full_name":"General-Developer/stable_diffusion_library","owner":"General-Developer","description":"Stable Diffusion Library Stable Diffusion Is Library for generated text to Image","archived":false,"fork":false,"pushed_at":"2025-04-06T14:48:35.000Z","size":74299,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-06T15:24:48.712Z","etag":null,"topics":["ai","dart","flutter","ggml","ml","stable-diffusion"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/General-Developer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yaml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["azkadev","generalfoss","general-developer"]}},"created_at":"2025-02-14T10:58:33.000Z","updated_at":"2025-04-06T14:48:38.000Z","dependencies_parsed_at":"2025-02-14T11:43:13.888Z","dependency_job_id":"05b93b2b-aa33-4768-908f-ed79a7e499a9","html_url":"https://github.com/General-Developer/stable_diffusion_library","commit_stats":null,"previous_names":["general-developer/stable_diffusion_library"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fstable_diffusion_library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fstable_diffusion_library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fstable_diffusion_library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/General-Developer%2Fstable_diffusion_library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/General-Developer","download_url":"https://codeload.github.com/General-Developer/stable_diffusion_library/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248622569,"owners_count":21135070,"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","dart","flutter","ggml","ml","stable-diffusion"],"created_at":"2025-02-16T04:24:59.756Z","updated_at":"2025-04-12T19:35:14.824Z","avatar_url":"https://github.com/General-Developer.png","language":"C++","funding_links":["https://github.com/sponsors/azkadev","https://github.com/sponsors/generalfoss","https://github.com/sponsors/general-developer"],"categories":[],"sub_categories":[],"readme":"# Stable Diffusion Library\n \n**Stable Diffusion Library** Stable Diffusion Is Library for generated text to Image\n\n[![](https://raw.githubusercontent.com/General-Developer/stable_diffusion_library/refs/heads/main/assets/demo_background.png)](https://youtu.be/drlqUwJEOg4)\n\n[![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/powered.png)](https://www.youtube.com/@Global_Corporation)\n\n**Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER**\n\n## 📚️ Docs\n\n1. [Documentation](https://youtube.com/@GENERAL_DEV)\n2. [Youtube](https://youtube.com/@GENERAL_DEV)\n3. [Telegram Support Group](https://t.me/DEVELOPER_GLOBAL_PUBLIC)\n4. [Contact Developer](https://github.com/General-Developer) (check social media or readme profile github)\n\n## 🔖️ Features\n\n1. [x] 📱️ **Cross Platform** support (Device, Edge Severless functions)\n2. [x] 📜️ **Standarization** Style Code\n3. [x] ⌨️ **Cli** (Terminal for help you use this library or create project)\n4. [x] 🔥️ **Api** (If you developer bot / userbot you can use this library without interact cli just add library and use 🚀️)\n5. [x] 🧩️ **Customizable Extension** (if you want add extension so you can more speed up on development)\n6. [x] ✨️ **Pretty Information** (user friendly for newbie)\n \n## ❔️ Fun Fact\n\n- **This library 100%** use on every my create project (**App, Server, Bot, Userbot**)\n\n- **This library 100%** support all models from [stable-diffusion.cpp](https://github.com/leejet/stable-diffusion.cpp) (depending on your device specs, if high then it can be up to turbo, but if low, just choose tiny/small)\n \n## 📈️ Proggres\n \n- **10-02-2025**\n  Starting **Release Stable** With core Features\n\n## Resources\n\n1. [MODEL](https://huggingface.co/ggml-org/Meta-Llama-3.1-8B-Instruct-Q4_0-GGUF)\n\n### 📥️ Install Library\n\n1. **Dart**\n\n```bash\ndart pub add stable_diffusion_library\n```\n\n2. **Flutter**\n\n```bash\nflutter pub add stable_diffusion_library_flutter ggml_library_flutter\n```\n\n## 🚀️ Quick Start\n\nExample Quickstart script minimal for insight you or make you use this library because very simple\n\n```dart\n\nimport 'dart:io';\nimport 'package:stable_diffusion_library/stable_diffusion_library.dart';\nimport 'package:stable_diffusion_library/raw/lcpp.dart';\n\nvoid main(List\u003cString\u003e args) async {\n  print(\"start\");\n\n  File modelFile = File(\"../../../../../big-data/llama/Meta-Llama-3.1-8B-Instruct.Q8_0.gguf\");\n\n  final StableDiffusionLibrary stableDiffusionLibrary = StableDiffusionLibrary(\n    sharedLibraryPath: \"../stable_diffusion_library_flutter/linux/libllama.so\",\n  );\n  await stableDiffusionLibrary.ensureInitialized();\n  stableDiffusionLibrary.loadModel(modelPath: modelFile.path);\n\n  /// call this if you want use llama if in main page / or not in page llama\n  /// dont call if on low end specs device\n  /// if device can't handle\n  /// this program will auto exit because llama need reseources depends model\n  /// and fast with modern cpu\n  await stableDiffusionLibrary.initialized();\n\n  await for (final result in stableDiffusionLibrary.prompt(messages: [\n    ChatMessage(\n      role: \"user\",\n      content: \"What is Linux?\",\n    )\n  ])) {\n    print(result);\n  }\n\n  await stableDiffusionLibrary.dispose();\n  stableDiffusionLibrary.stop();\n  stableDiffusionLibrary.close();\n  exit(0);\n}\n\n```\n\n## Reference\n \n1. [stable-diffusion.cpp](https://github.com/leejet/stable-diffusion.cpp)\n  ffi bridge main script so that this program can run\n\n\n**Copyright (c) 2024 GLOBAL CORPORATION - GENERAL DEVELOPER**\n\n\n## Example Project Use This Library\n\n\n1. [AZKA GRAM](https://github.com/azkadev/azkagram) / [Global GRAM](https://github.com/globalcorporation/global_gram_app)\n    \n **Telegram Application** with **redesign** with new some features userbot and other **features which is not officially provided on Telegram** First this project open source but we closed it to **close source** because our program is easy to read and allows other people to edit the source code and then use it for criminal acts\n \n|                                                 CHAT PAGE                                                  |                                                SIGN UP PAGE                                                |                                                                                                  HOME PAGE |                                          GUIDE PAGE                                           |\n|:----------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------:|:---------------------------------------------------------------------------------------------:|\n| ![](https://user-images.githubusercontent.com/82513502/205481759-b6815e2f-bd5d-4d72-9570-becd3829dd36.png) | ![](https://user-images.githubusercontent.com/82513502/173319331-9e96fbe7-3e66-44b2-8577-f6685d86a368.png) | ![](https://user-images.githubusercontent.com/82513502/173319541-19a60407-f410-4e95-8ac0-d0da2eaf2457.png) | ![](https://raw.githubusercontent.com/GLXCORP/glx_bot_app/main/screenshots/home_telegram.png) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneral-developer%2Fstable_diffusion_library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeneral-developer%2Fstable_diffusion_library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeneral-developer%2Fstable_diffusion_library/lists"}