---
title: "Deploy Create Hf"
method: POST
path: "/deploy/hf/"
tags: ["Dedicated Models"]
---

# Deploy Create Hf

`POST /deploy/hf/`

## Headers

- `xi-api-key` string, nullable
- `x-api-key` string, nullable

## Request body

- HFModel
  - `model_name` string, required — Model Id from huggingface
  - `task` string, nullable — Task

## Response `200`

Successful Response

- DeployResult
  - `deploy_id` string, required — Deploy Id

## Other responses

- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `423` — Locked

---

[API](https://skmtc.net/deepinfra/apis/deepinfra-api.md) · [All operations](https://skmtc.net/deepinfra/apis/deepinfra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepinfra/deepinfra-api/versions/51b817b3f80f/schema)
