> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-zh/chuan-dai-wu-yu-biao-qing-dong-zuo/guan-li-he-ji/uploading-smart-wearables.md).

# 上传智能可穿戴物

将智能可穿戴物上传到编辑器的指南

在使用 [SDK7](https://github.com/decentraland/docs/blob/main/creator/sdk7/projects/smart-wearables.md)生成你的智能穿戴设备后，下一步是将其上传到构建器。本文档说明如何上传、发布并将你的智能穿戴设备上架销售。

## 上传你的文件

请记住，在上传文件之前，你需要先创建一个集合。如果你不知道怎么做，请查看 [创建集合](https://github.com/decentraland/docs/blob/main/creator/wearables-and-emotes/manage-collections/creating-a-collection.md)。要上传你的智能穿戴设备，请将文件拖放到 ***新物品*** 窗口中，或浏览你的电脑。系统会自动检测该文件是否为智能穿戴设备。 **请注意，集合的最大文件大小为 3MB**.

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-32a13848017b3792bbf9bbc591f11fc2da231d28%2F01_new_item.png?alt=media\&token=f514efcf-8b37-46b4-9780-ae6460870a39)

当你上传文件时，系统会要求你上传一个视频展示。

## 上传你的视频展示

该视频展示将显示在市场中，让买家了解智能穿戴设备的工作方式。

要上传你的视频展示，请拖放一个 **.mp4** 视频文件到 ***为你的智能穿戴设备上传一个视频*** 窗口中，或浏览你的电脑。 **请记住，视频文件最大大小为 4MB，最长时长为 15 秒**.

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-f2c7f518ad8a17453075d4862151a232410b6237%2F01_new_video.png?alt=media\&token=e32c48bd-58d5-4b4b-a594-0cb42e65129b)

当你上传视频展示后，系统会要求你输入名称并定义稀有度和类别。如果你愿意，也可以为智能穿戴设备添加缩略图。

### 稀有度

选择你物品的稀有度。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-bc8be677494f8b15499bbe1db5bb2f20f5e0e230%2F03_rarity.png?alt=media\&token=d81a2689-893f-4841-ab40-3e1334f64ee1)

| 稀有度 | 物品数量    |
| --- | ------- |
| 唯一  | 1       |
| 神话  | 10      |
| 珍稀  | 50      |
| 传说  | 100     |
| 史诗  | 1,000   |
| 稀有  | 5,000   |
| 不常见 | 10,000  |
| 常见  | 100,000 |

### 类别

穿戴物品会根据它们修改头像的哪一部分，被组织到不同的类别中。在这一步，你必须选择合适的物品类别。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-9fbab4a5fb9597eef00b7ebae574ed04d0396550%2F04_category.png?alt=media\&token=c77d12ba-811e-446a-b5b2-7b021c572f38)

### 自定义缩略图

你可以点击相机图标并从电脑中选择想要的图片来添加缩略图。 **请确保缩略图是 256px 的正方形 .png 文件格式，并且具有透明背景。** 请注意，审核委员会不会批准带有非透明背景缩略图的集合。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-7020e3b77b88235da1912ecae73a4a7f501b2f5d%2F06_thumbnail.png?alt=media\&token=698af2bd-c69c-4163-9cca-8b0c990cc32f)

{% hint style="warning" %}
⚠️ 拥有一张高质量的穿戴物渲染图对于让它对潜在的市场用户更具吸引力至关重要。 **请务必避免添加除穿戴物本身以外的图形，因为这可能会导致审核委员会拒绝它。**

<img src="https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-d2ef5a8a57c7ba9f22e28270ee9f2a1940962afd%2F07_thumbnail.png?alt=media" alt="" data-size="original">
{% endhint %}

### 更新视频展示

要更新你的视频展示，只需点击相机图标并在电脑中浏览选择视频。 **请记住，允许的最大文件大小为 4MB，时长不得超过 15 秒**.

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-1728ea4ddc36d74937a1f05cc6d841198dc14041%2F06_video.png?alt=media\&token=b14942a0-92bc-4bc3-a8e6-ba82d31b27e1)

### 属性

在缩略图旁边，你会看到你的穿戴物属性，例如模型的三角形数量、材质数量以及纹理。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-7feae71a4a0ed1c3b6297795d6d8978fcdefcd1f%2F08_properties.png?alt=media\&token=1c8d4081-1194-4592-b233-bb2339d215c1)

## 上传嘴巴、眼睛和眉毛

嘴巴、眼睛和眉毛类别在编辑器中的表现不同，因为这些只是 .png 文件。要上传它们，只需将 png 文件拖放为透明图片（256X256 像素）。嘴巴会自动根据肤色着色，眉毛也会自动根据头发颜色着色。

{% hint style="warning" %}
如果你希望资源带有遮罩，使嘴巴或眉毛的一部分不受着色影响，请上传一个同时包含 png 和 mask 文件的 zip 文件。请记住，mask 文件需要带有后缀“\\\_mask”才能生效。
{% endhint %}

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-59b06bc1e09cccd097ed688a5a9e76dd935bc266%2F02_mouth_wearable.png?alt=media\&token=dae39211-2ff9-4a60-8db5-e8c55fcbc246)

在完成穿戴物上传后，你会看到一个类似这样的界面，展示你集合中的物品。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-6e7977869ef12a99cc0f11d201e0ff7b1157cd14%2F11_list_wearables.png?alt=media\&token=056905fc-e5b8-4c27-b52c-23217bd51361)

## 设置你的智能穿戴设备价格

你可以通过点击 ***设置价格***&#x6765;设置你的穿戴物价格。此设置随时都可以编辑，所以如果你之后想更改，也不用担心。价格以 MANA 计价。请记住，当你铸造穿戴物时，它们会直接在 Matic/Polygon 上铸造。实际上，当用户购买你的物品时，交易将使用 Matic/Polygon MANA 完成。

你也可以 ***设为免费***，这意味着价格为 0 MANA，受益地址将为空。请注意，将产品作为首次销售免费提供，并不妨碍它在二级销售中以任何价格出售。

别忘了设置受益地址，即接收你销售所得 MANA 的地址。你可以使用任何你喜欢的以太坊地址。要自动填入你当前登录的地址，请点击 ***我是受益人。***

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-bf33f0d2e5058f3cec0a5c0c28ffebf1320ea9d8%2F12_set_price.png?alt=media\&token=b5328ac2-5f40-4d51-9919-dfea2ffbecde)

保存价格后，你会回到集合中的穿戴物列表。点击该物品后，你将看到其基本信息。点击按钮 ***在编辑器中预览*** 即可在编辑器中查看。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-ed3507e6964e87a66d95308ba2f1dbd0f5edcb80%2F13_click_item.png?alt=media\&token=7e378ff6-31f3-4537-a1fb-80087e0e10da)

## 编辑器

一旦你点击 ***在编辑器中预览***，编辑器就会打开。你可以编辑智能穿戴设备的信息，包括描述、标签和覆盖项。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-45246210d38c7f919753cf048aa7c83e3d71c103%2F14_editor.png?alt=media\&token=d5352d95-8ab9-47c6-b5c7-7b4563190b5f)

## 描述

这是一段简短说明，用于描述你的物品，并会显示在市场中。

## 覆盖项

覆盖项决定你的物品会隐藏哪些穿戴物类别或头像身体部位。例如，带有附加头发的帽子可能需要隐藏 *头发* 类别。深海潜水员头盔可能需要隐藏耳环、眼镜、头饰等头部配饰，因为这些不会可见。每个覆盖项可选择多个选项。

* **基础身体**：这指的是头像的核心部位，例如 *头部* 和 *手部*。例如，如果你正在创建一个 **手部穿戴** 物品，例如机器人机械手，你可能需要隐藏 *手部* 以防止重叠和穿模。
* **穿戴物**：这包括其他穿戴物类别。你可以隐藏多个类别。请查看 [**创建穿戴物**](https://github.com/decentraland/docs/blob/main/creator/wearables-and-emotes/wearables/creating-wearables.md) 以了解每个类别及其物品之间如何交互的更多细节。

{% hint style="warning" %}
注意：你选择的覆盖项将作为你的穿戴物建议默认设置。不过，用户可以在背包中自定义哪些穿戴物隐藏或显示。
{% endhint %}

## 标签

标签是用户可用于比赛或活动的描述性词语！

## 预览

要预览你的智能穿戴设备，将鼠标悬停在左上角的穿戴物元素上，然后点击眼睛图标。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-323e68e4afc4838efb321db2dfda166ca1301363%2F18_preview_smart_wearables_03.gif?alt=media\&token=e3ebacb1-e54f-4b0e-877e-e1ebca31c430)

通过点击左下角的图标，你可以编辑头像。如果你的穿戴物有男性和女性版本，这会很有用，因此请在编辑器中查看两个版本的效果，测试不同表情以识别蒙皮问题，并搭配其他穿戴物查看它与其他衣服的匹配情况。编辑完你的穿戴物后，点击 ***保存***.

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-f8cf46184320038e0453a547e60dc4ba79efddc5%2F19_edit_avatar_wearable_03.gif?alt=media\&token=b4f091f6-20c8-4db7-8bea-172459863ecf)

## 在 Decentraland 中测试

即使你已经在编辑器中测试过智能穿戴设备，检查它在 Decentraland 中的外观和表现也很重要。要在那里试用，请前往集合标签页。选择所需的集合并点击按钮 ***在 Decentraland 中查看***.

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-ac509055ac3886dcd61ed4daef4145e5a32750c5%2F20_test_in_world_01.png?alt=media\&token=f669f21f-677b-44b3-9b0d-2cbb47fb3978)

点击 ***在 Decentraland 中查看*** 按钮后，下面这个弹窗将会出现。选择 ***空地块*** 会将你传送到一个内容不太多、加载更快的地方。选择 ***Genesis Plaza*** 会将你带到主广场。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-46534979a901b97538abac8791605a7647528e03%2F23_see_in_world.png?alt=media\&token=2db071b5-213a-48aa-8917-97d0618ed3d3)

一旦你选择要传送的位置，浏览器中会打开一个新标签页，并显示这条消息。

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-be3628d9bebdf607ca9258e98e1dc5e6c99d26e2%2F21_sepolia.png?alt=media\&token=4d45621d-072a-49ef-92a2-5cc6740d28b2)

点击 ***切换到 Sepolia***，随后你的钱包会弹出请求你切换网络。点击切换网络，新标签页会自动刷新。要测试你的智能穿戴设备，你可以前往背包并选择它。

{% hint style="warning" %}
如果你尚未启用 Ethereum 测试网网络，可以参考这篇 [Metamask 文章](https://support.metamask.io/hc/en-us/articles/13946422437147-How-to-view-testnets-in-MetaMask).
{% endhint %}

![](https://2460066822-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-196833b66598162b953c56670bba7e0c7fd1e897%2F22_smart_wearable_world.gif?alt=media\&token=d36d9c45-98b6-42ae-83bf-5be64479a18e)

## 发布前

请确保正确设置价格、添加一个好的描述，并仔细检查所有信息和设置是否正确。如果你已填写所有必要信息，你会看到 ***完成*** 作为你物品的状态。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.decentraland.org/creator/content-creator-zh/chuan-dai-wu-yu-biao-qing-dong-zuo/guan-li-he-ji/uploading-smart-wearables.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
