Dedicated Models
Deploy Create Hf
Changed onpost/deploy/hf/
Request
- Base URL: https://api.deepinfra.com
- URL: https://api.deepinfra.com/deploy/hf/
- Auth: HTTP bearer
Headers
xi-api-keystring nullable
x-api-keystring nullable
Request body
Example request
{
"model_name": "google/vit-base-patch16-224",
"task": "image-classification"
}Response
Successful Response
Example response
{
"deploy_id": "fkj843kjh8"
}Changes
- info
api tag
Dedicated Modelsadded - info
added the new optional
headerrequest parameterx-api-key
- info