# 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="/files/yQF45zg2Zdr4LEsN3siM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4DzUtnubx9SXh8UjTclm" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/KW7B1HtnpGLsaHMLzPKl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emc.network/emc/zhong-wen/ai-applications/edge-matrix-stable-diffusion-sample.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
