Skip to main content
POST
Deploy Create Hf

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

xi-api-key
string | null
x-api-key
string | null

Body

application/json
model_name
string
required

Model Id from huggingface

Example:

"google/vit-base-patch16-224"

task
string | null

Task

Example:

"image-classification"

Response

Successful Response

deploy_id
string
required

Deploy Id

Example:

"fkj843kjh8"