> For the complete documentation index, see [llms.txt](https://docs.emc.network/emc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emc.network/emc/zhong-wen/ai-applications/edge-matrix-stable-diffusion-sample.md).

# EMC Stable Diffusion 样例

[该应用程序](https://6tq33-2iaaa-aaaap-qbhpa-cai.icp0.io/#/)基于EMC网络和IC（Internet Computer）canisters，并提供了一个UI工具，用于根据节点信息和配置的IDL.json文件动态生成图像。

### 描述&#x20;

EMC Stable Diffusion示例是一种工具，利用EMC网络节点生成的数据生成图像表示。通过利用节点信息和提供的IDL.json配置文件，该工具使用户可以创建直观呈现数据的视觉吸引力图像。

### 特点&#x20;

* 基于EMC网络节点数据生成图像&#x20;
* 使用提供的IDL.json配置文件&#x20;
* 用户友好的UI与工具进行交互&#x20;
* 轻松可视化和分析来自EMC网络节点的数据

### 安装&#x20;

1. 克隆代码库：`git@github.com:EMCProtocol-dev/EMC-SD.git`&#x20;
2. 安装依赖项：`npm install`

### 使用方法&#x20;

1. 根据您的需求配置IDL.json文件。&#x20;
2. 运行以下命令启动工具：`npm start`&#x20;
3. 在浏览器中通过提供的URL访问工具。&#x20;
4. 通过UI与EMC网络节点数据交互，生成图像。

### 贡献&#x20;

欢迎贡献！请fork该代码库并提交拉取请求，共享您的改进或修复bug。

### License

This project is licensed under the MPL-2.0 License.

### Screenshots

<figure><img src="https://1412687580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAV1WE0GjBZ37BF6lF45G%2Fuploads%2FHFtwNH64IvfR660XlXec%2Fimage.png?alt=media&amp;token=86952cc4-ae13-4f90-98f7-2a4b6b237d43" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1412687580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAV1WE0GjBZ37BF6lF45G%2Fuploads%2F9xJtjF9v2nhIPpKKVaxW%2Fimage.png?alt=media&amp;token=c1462668-0ed8-439b-9c83-61b68acc0f60" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1412687580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAV1WE0GjBZ37BF6lF45G%2Fuploads%2FLse6HygpqX7nyZMCZHt0%2Fimage.png?alt=media&amp;token=5bc1d388-9f75-48e4-ab33-2554cbafea1d" alt=""><figcaption></figcaption></figure>
