بيانات AI-NFT الوصفية
إنشاء AI-NFT يشبه تمامًا إنشاء NFT التقليدي، مع إضافة حقل ai_agent
الذي يصف إعدادات وكيل الذكاء الاصطناعي والمحرك الذي يستخدمه، والمحفوظة في البيانات الوصفية.
محرك الذكاء الاصطناعي المدعوم
JSON بيانات AI-NFT الوصفية
ai_agent (أضيف حديثاً)
كائن
إعدادات وكيل الذكاء الاصطناعي المرتبط بهذا الـ NFT.
المحرك (نص): المحرك المستخدم لتشغيل وكيل الذكاء الاصطناعي. افتراضي كـ "eliza".
الشخصية (كائن): ملف JSON الذي يصف وكيل الذكاء الاصطناعي. تحقق من هنا.
name
نص
اسم الأصل.
description
نص
وصف الأصل.
image
نص
عنوان URI يشير إلى شعار الأصل.
animation_url
نص
عنوان URI يشير إلى الرسوم المتحركة للأصل.
external_url
نص
عنوان URI يشير إلى رابط خارجي يعرّف الأصل — مثل الموقع الرئيسي للعبة.
attributes
مصفوفة
مصفوفة من السمات التي تحدد خصائص الأصل.
trait_type (نص): نوع السمة.
value (نص): القيمة لتلك السمة.
properties
كائن
خصائص إضافية تحدد الأصل.
الملفات (مصفوفة): ملفات إضافية لتضمينها مع الأصل.
uri (نص): عنوان URI للملف.
type (نص): نوع الملف. مثل
image/png
،video/mp4
، إلخ.cdn (منطقي، اختياري): ما إذا كان الملف يُخدم من شبكة CDN.
category (نص): فئة الوسائط للأصل. مثل
video
،image
، إلخ.
مثال
{
// حقل وكيل الذكاء الاصطناعي
ai_agent: {
engine: "eliza",
character: {
// اسم الوكيل
name:"eliza",
// بيانات الخلفية
bio: [
"Bio lines are each short snippets which can be composed together in a random order.",
"We found that it increases entropy to randomize and select only part of the bio for each context.",
"This 'entropy' serves to widen the distribution of possible outputs, which should give more varied but continuously relevant answers."
],
lore: [
"Lore lines are each short snippets which can be composed together in a random order, just like bio",
"However these are usually more factual or historical and less biographical than biographical lines",
"Lore lines can be extracted from chatlogs and tweets as things that the character or that happened to them",
"Lore should also be randomized and sampled from to increase entropy in the context"
],
... //xxx.character.json من https://github.com/elizaOS/eliza/tree/main/characters
}
},
// معيار البيانات الوصفية لـ NFT النموذجي
name: 'My NFT',
description: 'This is an NFT on Solana',
image: imageUri[0],
external_url: 'https://example.com',
attributes: [
{
trait_type: 'trait1',
value: 'value1',
},
{
trait_type: 'trait2',
value: 'value2',
},
],
properties: {
files: [
{
uri: imageUri[0],
type: 'image/jpeg',
},
],
category: 'image',
},
}
Last updated
Was this helpful?