FrontToken: ********************{
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"remark": "string",
"params": {
"property1": {},
"property2": {}
},
"id": "string",
"name": "string",
"modelType": "BASE",
"sceneType": "TO_TEXT",
"parentModelId": "string",
"parentModel": {},
"parentModelName": "string",
"childLoras": [
{}
],
"description": "string",
"coverImageUrl": "string",
"storagePath": "string",
"usageCount": 0,
"downloadCount": 0,
"creationLicense": "string",
"contentLicense": "string",
"saleCreative": "string",
"ownerType": "PLATFORM",
"userId": "string",
"publishStatus": "PRIVATE",
"publishedLoraService": {
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"remark": "string",
"params": {
"property1": {},
"property2": {}
},
"id": "string",
"name": "string",
"modelParameter": "string",
"loraModelAssetId": "string",
"loraModelAsset": {},
"apiEndpoint": "string",
"serviceStatus": "ACTIVE",
"baseModelAssetId": "string",
"userId": "string",
"description": "string",
"sceneType": "TO_TEXT",
"modelSource": "DEV"
},
"tags": [
{
"id": "string",
"name": "string",
"category": "string",
"value": "string",
"isActivity": true,
"sort": 0,
"createTime": "2019-08-24T14:15:22.123Z",
"show": true
}
],
"galleryMedia": [
{
"id": "string",
"modelAssetId": "string",
"mediaType": "IMAGE",
"mediaUrl": "string",
"displayOrder": 0,
"createTime": "2019-08-24T14:15:22.123Z",
"step": "string",
"seed": "string",
"guidanceScale": "string",
"prompt": "string",
"proportion": "string",
"mediaCoverUrl": "string"
}
],
"sourceStoragePath": "string",
"modelUploadStatus": "PENDING",
"team": "string",
"userName": "string",
"avatarIndex": "string",
"unitPrice": 0,
"reasoningDuration": 0,
"totalPrice": 0,
"presetParams": "string",
"modelNameUuid": "string",
"triggerStatus": true,
"triggerInfo": "string",
"releasedTime": "2019-08-24T14:15:22.123Z",
"modelSource": "DEV",
"context": "string",
"rpm": 0,
"assetsType": "MODEL",
"templateJson": "string",
"deploymentGroup": "string",
"baseModel": "string",
"speedUp": true,
"english": true,
"capabilities": [
"string"
],
"groupId": "string",
"businessModelPrice": "string",
"requestModelUuid": "string",
"viewCount": 0,
"appImageNum": 0,
"appVideoNum": 0,
"appAudioNum": 0,
"appPromptNum": 0,
"pushMediaType": true,
"uploadImageMax": 0,
"uploadImageMin": 0,
"deepThink": true
}curl --location --request POST '/system/model' \
--header 'FrontToken: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"remark": "string",
"params": {
"property1": {},
"property2": {}
},
"id": "string",
"name": "string",
"modelType": "BASE",
"sceneType": "TO_TEXT",
"parentModelId": "string",
"parentModel": {},
"parentModelName": "string",
"childLoras": [
{}
],
"description": "string",
"coverImageUrl": "string",
"storagePath": "string",
"usageCount": 0,
"downloadCount": 0,
"creationLicense": "string",
"contentLicense": "string",
"saleCreative": "string",
"ownerType": "PLATFORM",
"userId": "string",
"publishStatus": "PRIVATE",
"publishedLoraService": {
"createBy": "string",
"createTime": "2019-08-24T14:15:22.123Z",
"updateBy": "string",
"updateTime": "2019-08-24T14:15:22.123Z",
"remark": "string",
"params": {
"property1": {},
"property2": {}
},
"id": "string",
"name": "string",
"modelParameter": "string",
"loraModelAssetId": "string",
"loraModelAsset": {},
"apiEndpoint": "string",
"serviceStatus": "ACTIVE",
"baseModelAssetId": "string",
"userId": "string",
"description": "string",
"sceneType": "TO_TEXT",
"modelSource": "DEV"
},
"tags": [
{
"id": "string",
"name": "string",
"category": "string",
"value": "string",
"isActivity": true,
"sort": 0,
"createTime": "2019-08-24T14:15:22.123Z",
"show": true
}
],
"galleryMedia": [
{
"id": "string",
"modelAssetId": "string",
"mediaType": "IMAGE",
"mediaUrl": "string",
"displayOrder": 0,
"createTime": "2019-08-24T14:15:22.123Z",
"step": "string",
"seed": "string",
"guidanceScale": "string",
"prompt": "string",
"proportion": "string",
"mediaCoverUrl": "string"
}
],
"sourceStoragePath": "string",
"modelUploadStatus": "PENDING",
"team": "string",
"userName": "string",
"avatarIndex": "string",
"unitPrice": 0,
"reasoningDuration": 0,
"totalPrice": 0,
"presetParams": "string",
"modelNameUuid": "string",
"triggerStatus": true,
"triggerInfo": "string",
"releasedTime": "2019-08-24T14:15:22.123Z",
"modelSource": "DEV",
"context": "string",
"rpm": 0,
"assetsType": "MODEL",
"templateJson": "string",
"deploymentGroup": "string",
"baseModel": "string",
"speedUp": true,
"english": true,
"capabilities": [
"string"
],
"groupId": "string",
"businessModelPrice": "string",
"requestModelUuid": "string",
"viewCount": 0,
"appImageNum": 0,
"appVideoNum": 0,
"appAudioNum": 0,
"appPromptNum": 0,
"pushMediaType": true,
"uploadImageMax": 0,
"uploadImageMin": 0,
"deepThink": true
}'{
"code": 0,
"msg": "string",
"data": {},
"error": true,
"success": true
}