LoRA
Deploy a LoRA
Deploy a LoRA
Make a new deployment to the LoRA, if it does not already exist, a new LoRA will be created.
POST
/
lora
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
hf_revision
string | null
Hugging Face repository revision, valid for Hugging Face models only.
hf_token
string | null
Hugging Face access token (https://huggingface.co/docs/hub/en/security-tokens), useful when the model repository is private.
model_name
string
requiredFull name of the model. For Hugging Face model, use the Hugging Face repository id as the name.
model_source
enum<string>
requiredSource of the model, currently only HF_HUB (Hugging Face hub) is supported.
Available options:
HF_HUB
name
string | null
Name of the LoRA, used as the unique identifier, if not provided, it will be the same as the "model_name"
Response
200 - application/json
active_deployment
object
Current active deployment of the LoRA.
name
string
requiredName of the LoRA, used as the unique identifier.
unit_price
number
required