Preparing search index...
The search index is not available
deepinfra
deepinfra
ZeroShotImageClassification
Class ZeroShotImageClassification
Hierarchy
ImageBaseModel
<
ZeroShotImageClassificationRequest
,
ZeroShotImageClassificationResponse
>
ZeroShotImageClassification
Index
Constructors
constructor
Properties
auth
Token
client
endpoint
model
Name
Methods
generate
Constructors
constructor
new
Zero
Shot
Image
Classification
(
modelName
,
authToken
?
,
config
?
)
:
ZeroShotImageClassification
Parameters
modelName
:
string
Optional
authToken
:
string
Optional
config
:
Partial
<
IClientConfig
>
Returns
ZeroShotImageClassification
Properties
Protected
auth
Token
auth
Token
:
string
Protected
client
client
:
DeepInfraClient
Protected
Readonly
endpoint
endpoint
:
string
Readonly
model
Name
model
Name
:
string
Methods
generate
generate
(
body
)
:
Promise
<
ZeroShotImageClassificationResponse
>
Parameters
body
:
ZeroShotImageClassificationRequest
Returns
Promise
<
ZeroShotImageClassificationResponse
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
auth
Token
client
endpoint
model
Name
generate
deepinfra
Loading...