Optional
If you do not want to follow a custom workflow and wish to simply run the application, please skip this section and go to Run the Application
NIM APIs can be found on the NVIDIA API Catalog.
Follow this example to generate an API key from the API Catalog Preview for the optionally desired NIMs as they appear throughout this guide.
- Get your NVIDIA API key.
- Go to the NVIDIA API Catalog.
- Select any model.
- Click Get API Key.
The following instructions create a temporary environment variable to store your API key. Environment variables set with this method are only stored for a single session. Once a given CMD/PowerShell/Terminal window is closed, these values are no longer stored.
Windows CMD
-
Open Command Prompt.
- Enter the following command:
set NVIDIA_API_KEY="<YOUR_API_KEY>"
-
Windows PowerShell
- Open PowerShell.
- Enter the following command:
$env:NVIDIA_API_KEY="<YOUR_API_KEY>"
Note - If the two commands above are not working, you can add API key to Windows System Environment Variables.
Key:
NVIDIA_API_KEY
Value:
<YOUR_API_KEY>
-
Linux Terminal
- Open Terminal.
- Enter the following command:
export NVIDIA_API_KEY="<YOUR_API_KEY>"
← Back to Guide | ___________________________________________________________________________ | Next (Create your Own App) → |
---|