Skip to Content

ListUFSquareModel - ListUFSquareModel

Overview

Query model square data

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListUFSquareModel.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See Region and Zone ListNo
ZonestringZone. See Region and Zone ListNo
ProjectIdstringProject ID. Leave it blank for the default project. Sub-accounts must fill in. Please refer to the GetProjectList APINo
ModelTypestringModel TypeNo
KeywordstringKeywordNo
OffsetintOffsetNo
LimitintNumber of items per pageNo
OrderBystringSort FieldNo
OrderstringSort order, default descendingNo
MaxModelLen.NintMaxModelLen, array type, options: [0,4096,16384,32768,131072,256000,262144,1048576]No
Language.NstringLanguage, array type, options: [“chinese”, “english”]No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
TotalCountinttotal CountYes
SquareModelsarray[SquareModel]Square ModelYes

Data Model

SquareModel

Field NameTypeDescription InformationRequired
IdstringPrimary KeyNo
NamestringNameNo
SimpleDescribestringBrief DescriptionNo
DescribestringDetailed DescriptionNo
Languagearray[string]LanguageNo
MaxModelLenintModel LengthNo
ModelTypestringModel TypeNo
HfUpdateTimeintHuggingFace Update TimeNo
CreateAtintCreate AtNo
UpdateAtintUpdate AtNo
SupportedCapabilitiesarray[string]Supported CapabilitiesNo
IconstringIconNo
PricingPricingPricingNo

Pricing

Field NameTypeDescription InformationRequired
CompletionfloatCompletionNo
PromptfloatPromptNo
ImagefloatImageNo
CurrencystringCurrencyNo

Example

Request Example

https://api.surfercloud.com/?Action=ListUFSquareModel &Region=cn-zj &Zone=cn-zj-01 &ProjectId=jeBXhvUY &ModelType=ooGwbevC &MaxModelLen=RntjYoVL &Keyword=CwciILMu &Language=nBzKikde &Offset=3 &Limit=5 &OrderBy=mtKYCGmg &Order=EHqJJScF

Response Example

{ "Action": "ListUFSquareModelResponse", "RetCode": 0, "SquareModels": [ "RPQHcFey" ], "TotalCount": "QlXKGgmL" }