Import model from provider
POST/finetuning/models/:provider/import
Imports a LoRA adapter from Hugging Face into AI Studio for inference. The adapter must be compatible with one of the supported base models and must have a LoRA rank within the supported range. Required files in the HF repo root: adapter_config.json and adapter_model.safetensors. Both files must pass Hugging Face security scans (ProtectAI). Imported adapters support inference only; fine-tuning and evaluations are not available.
Request
Responses
- 201
- 400
- 422
- 500
Created
Bad Request
Validation Error
Internal Server Error
Was this page helpful?