Novita AI & Hugging Face Integration Guide
Get a simple guide to streamline AI deployment with Novita AI + Hugging Face.
Novita AI’s integration with Hugging Face Platform enables advanced serverless inference capabilities. This provides direct access to Hub model pages through optimized infrastructure, offering developers a streamlined setup experience. With full support for Hugging Face’s JavaScript and Python SDKs, Novita AI simplifies model deployment and scaling without infrastructure management.
Our comprehensive guide walks you through Novita AI implementation on Hugging Face, covering both web interface and SDK integration methods.
Using Novita AI on Hugging Face in the Website UI
Step 1: Configure API Keys
-
Access your account settings dashboard to configure your API keys.
-
Input your Novita AI authentication credentials into the Hugging Face platform.
Step 2: Choose Inference API Modes
-
Custom Key Mode: Calls are sent directly to the inference provider, utilizing your own API key.
-
HF-Routed Mode: In this mode, no provider token is required. Charges are applied to your Hugging Face account instead of the provider’s account.
Step 3: Explore Compatible Providers on Model Pages
-
Model pages display third-party inference providers compatible with the selected model (the ones that are compatible with the current model, sorted by user preference).
Using Huggingface_hub from Python by the Client SDKs
Step 1: Install Huggingface_hub
Step 2: Call model API in Python
Using Huggingface_hub from JS by the Client SDKs
Was this page helpful?