ماڈل کلیکشنز کو پڑھیں اور منظم کریں
مطلوبہ scopes اور واضح ملکیت اور جائزہ حدود کے ساتھ ShareAI Creator ماڈل collections کی فہرست بنائیں، تخلیق کریں اور اپ ڈیٹ کریں۔
اس صفحے پر
ایک collection متعلقہ ماڈل tags اور ان کی ڈیفالٹ serving/commercial پالیسی کو گروپ کرتا ہے۔ انفرادی ماڈل tags کے لیے معاون overrides ہو سکتے ہیں۔ API کے ذریعے واپس کیے گئے collection UUIDs استعمال کریں بجائے display names کے۔


https://api.shareai.now/api/v1/console/creator/model-collectionsOwned collections کی فہرست بنائیں۔
- بیس URL
https://api.shareai.now- تصدیق
- HTTP بیسک: کریئیٹر UUID اور کریئیٹر ایکسیس ٹوکن
- مطلوبہ اسکوپ
creator_collections:read
https://api.shareai.now/api/v1/console/creator/model-collections/{collection_uuid}ایک owned collection پڑھیں۔
- بیس URL
https://api.shareai.now- تصدیق
- HTTP بیسک: کریئیٹر UUID اور کریئیٹر ایکسیس ٹوکن
- مطلوبہ اسکوپ
creator_collections:read
cURL
curl --fail-with-body --request GET \
"https://api.shareai.now/api/v1/console/creator/model-collections" \
-u "$CREATOR_UUID:$CREATOR_ACCESS_TOKEN"
Python
import json
import os
import urllib.request
import base64
credentials = os.environ["CREATOR_UUID"] + ":" + os.environ["CREATOR_ACCESS_TOKEN"]
headers = {"Authorization": "Basic " + base64.b64encode(credentials.encode()).decode()}
request = urllib.request.Request('https://api.shareai.now/api/v1/console/creator/model-collections', headers=headers, method='GET')
with urllib.request.urlopen(request, timeout=60) as response:
print(json.load(response))
TypeScript
const url = "https://api.shareai.now/api/v1/console/creator/model-collections";
const credentials = `${process.env.CREATOR_UUID}:${process.env.CREATOR_ACCESS_TOKEN}`;
const headers: Record = {
Authorization: `Basic ${Buffer.from(credentials).toString("base64")}`,
};
const response = await fetch(url, { method: "GET", headers });
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
console.log(await response.json());
ایک collection بنائیں#
https://api.shareai.now/api/v1/console/creator/model-collectionsایک collection ڈیفالٹ access پالیسی کے ساتھ بنائیں۔
- بیس URL
https://api.shareai.now- تصدیق
- HTTP بیسک: کریئیٹر UUID اور کریئیٹر ایکسیس ٹوکن
- مطلوبہ اسکوپ
creator_collections:write
JSON
{
"name": "Example Research Model",
"collection_key": "example-research-model",
"description_html": "<p>A model for document classification. Describe intended use and limitations.</p>",
"share_types": [
"private"
]
}
Private availability serving rights کو Creator کے اپنے انفراسٹرکچر کے ساتھ رکھتا ہے۔ اس کا مطلب یہ نہیں ہے کہ ماڈل کو نیٹ ورک inference سے غیر حاضر ہونا چاہیے۔ صرف وہی share types استعمال کریں جو Creator پروگرام کے لیے فعال ہیں۔
ایک collection اپ ڈیٹ کریں#
https://api.shareai.now/api/v1/console/creator/model-collections/{collection_uuid}/updateاجازت یافتہ collection fields کو اپ ڈیٹ کریں۔
- بیس URL
https://api.shareai.now- تصدیق
- HTTP بیسک: کریئیٹر UUID اور کریئیٹر ایکسیس ٹوکن
- مطلوبہ اسکوپ
creator_collections:write
موجودہ collection پڑھیں، صرف وہ fields بھیجیں جنہیں آپ تبدیل کرنا چاہتے ہیں اور پھر اسے دوبارہ پڑھیں تاکہ محفوظ کردہ پالیسی کی تصدیق ہو سکے۔ کچھ شائع شدہ تبدیلیوں کو مؤثر ہونے سے پہلے جائزے کی ضرورت ہو سکتی ہے؛ محفوظ درخواست کو منظوری سمجھنے کے بجائے واپس کی گئی حالت کا معائنہ کریں۔
شروع سے مکمل پیکج کا انتخاب کریں#
ایک ماڈل پیکیج بنائیں ماڈل میٹا ڈیٹا، کلیکشن پالیسی اور ٹیگز کو ایک درخواست میں گروپ کرتا ہے۔
آخری بار اپ ڈیٹ کیا گیا ستمبر 15, 2026