創建模型包
一齊創建 ShareAI Creator 模型元數據、集合同模型標籤,並設置明確嘅訪問政策同範圍 API 憑證。
喺呢頁面
POST
https://api.shareai.now/api/v1/console/creator/model-package創建模型元數據、集合政策同標籤。
- 基礎 URL
https://api.shareai.now- 認證
- HTTP Basic:創作者 UUID 同創作者訪問權杖
- 必需範圍
creator_collections:writecreator_models:write


用模型包提交一個完整嘅模型定義。描述模型嘅功能、限制同每個準確嘅標籤。呢個請求會創建目錄數據;唔係上傳模型權重,亦唔會自動將設備設置為共享模式。
JSON
{
"model": {
"name": "Example Research Model",
"slug": "example-research-model",
"description_html": "<p>A text model for document classification. Include evaluation notes and limitations.</p>"
},
"collection": {
"share_types": [
"private"
]
},
"tags": [
{
"tag": "3b",
"description_html": "<p>Compact model variant.</p>"
},
{
"tag": "7b",
"description_html": "<p>Larger model variant.</p>"
}
],
"media": []
}
cURL
curl --fail-with-body --request POST https://api.shareai.now/api/v1/console/creator/model-package \
-u "$CREATOR_UUID:$CREATOR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
--data @model-package.json
首先檢查 slug#
GET
https://api.shareai.now/api/v1/console/creator/model-slug-availability檢查目標嘅 model_slug。
- 基礎 URL
https://api.shareai.now- 認證
- HTTP Basic:創作者 UUID 同創作者訪問權杖
- 必需範圍
creator_collections:read
cURL
curl --get --fail-with-body https://api.shareai.now/api/v1/console/creator/model-slug-availability \
-u "$CREATOR_UUID:$CREATOR_ACCESS_TOKEN" \
--data-urlencode "model_slug=example-research-model"
成功嘅可用性檢查係一個預檢提示,唔係預約。處理創建時嘅衝突,並保留服務器返回嘅模型/集合標識符。
政策同標籤覆蓋#
集合提供其默認嘅共享類型。標籤可以提供支持嘅 share_types_override 值同相關嘅供應商受眾或者商業字段。創建之後驗證每個標籤嘅有效政策。
儲存之後#
喺控制台打開集合,檢查描述同準確嘅標籤,補充任何缺失嘅媒體或者商業信息,並使用審核工作流程。喺通知供應商模型可以提供服務之前,確認已批准狀態。
最後更新日期:2026年9月15日