LogoLogo
AI HubCommunityWebsite
  • Start Here
  • AI Hub
    • Overview
    • Quickstart
    • Spaces
    • Device Farm
    • Browser Inference
    • Model Zoo
      • Hailo
      • Intel
      • MemryX
      • BrainChip
      • Google
      • DeGirum
      • Rockchip
    • View and Create Model Zoos
    • Compiler
    • PySDK Integration
  • PySDK
    • Overview
    • Quickstart
    • Installation
    • Runtimes and Drivers
      • Hailo
      • OpenVINO
      • MemryX
      • BrainChip
      • Rockchip
      • ONNX
    • PySDK User Guide
      • Core Concepts
      • Organizing Models
      • Setting Up an AI Server
      • Loading an AI Model
      • Running AI Model Inference
      • Model JSON Structure
      • Command Line Interface
      • API Reference Guide
        • PySDK Package
        • Model Module
        • Zoo Manager Module
        • Postprocessor Module
        • AI Server Module
        • Miscellaneous Modules
      • Older PySDK User Guides
        • PySDK 0.16.1
        • PySDK 0.16.0
        • PySDK 0.15.2
        • PySDK 0.15.1
        • PySDK 0.15.0
        • PySDK 0.14.3
        • PySDK 0.14.2
        • PySDK 0.14.1
        • PySDK 0.14.0
        • PySDK 0.13.4
        • PySDK 0.13.3
        • PySDK 0.13.2
        • PySDK 0.13.1
        • PySDK 0.13.0
    • Release Notes
      • Retired Versions
    • EULA
  • DeGirum Tools
    • Overview
      • Streams
        • Streams Base
        • Streams Gizmos
      • Compound Models
      • Analyzers
        • Clip Saver
        • Event Detector
        • Line Count
        • Notifier
        • Object Selector
        • Object Tracker
        • Zone Count
      • Inference Support
      • Support Modules
        • Audio Support
        • Model Evaluation Support
        • Math Support
        • Object Storage Support
        • UI Support
        • Video Support
      • Environment Variables
  • DeGirumJS
    • Overview
    • Get Started
    • Understanding Results
    • Release Notes
    • API Reference Guides
      • DeGirumJS 0.1.3
      • DeGirumJS 0.1.2
      • DeGirumJS 0.1.1
      • DeGirumJS 0.1.0
      • DeGirumJS 0.0.9
      • DeGirumJS 0.0.8
      • DeGirumJS 0.0.7
      • DeGirumJS 0.0.6
      • DeGirumJS 0.0.5
      • DeGirumJS 0.0.4
      • DeGirumJS 0.0.3
      • DeGirumJS 0.0.2
      • DeGirumJS 0.0.1
  • Orca
    • Overview
    • Benchmarks
    • Unboxing and Installation
    • M.2 Setup
    • USB Setup
    • Thermal Management
    • Tools
  • Resources
    • External Links
Powered by GitBook

Get Started

  • AI Hub Quickstart
  • PySDK Quickstart
  • PySDK in Colab

Resources

  • AI Hub
  • Community
  • DeGirum Website

Social

  • LinkedIn
  • YouTube

Legal

  • PySDK EULA
  • Terms of Service
  • Privacy Policy

© 2025 DeGirum Corp.

On this page
  • AI Hub, AI Server, and Model Zoos
  • Input Devices
  • S3 Object Storage

Was this helpful?

  1. DeGirum Tools
  2. Overview

Environment Variables

A reference for constants and environment variables used by DeGirum Tools.

PreviousVideo SupportNextOverview

Last updated 1 day ago

Was this helpful?

Environment variables supply defaults to scripts and applications built with DeGirum Tools. Storing environment variables in an .env or env.ini file automatically supplies default values.

AI Hub, AI Server, and Model Zoos

Variable
Purpose
Example values

AISERVER_HOSTNAME_OR_IP

Address of an AI Server on your LAN for local inference. Used when dg.LOCAL, @local, or AI Server backends are selected.

localhost, 192.168.0.101

CLOUD_ZOO_URL

Path to a model zoo on AI Hub or your own storage. Defaults to degirum/public if unset.

degirum/degirum, degirum/public

DEGIRUM_CLOUD_TOKEN

API token for accessing AI Hub model zoos. Required when connecting with the dg.CLOUD or @cloud backend.

Access token generated on the AI Hub. for instructions on how to create an access token.

MODEL_ZOO_URL

Path or URL to a model zoo. Overrides the default zoo location if set.

/path/to/local/zoo, https://hub.degirum.com/my_organization/my_zoo

Input Devices

Variable
Purpose
Example values

AUDIO_ID

Microphone index or WAV file path.

0, input.wav

CAMERA_ID

Camera index or video path to capture video streams.

0, rtsp://host/stream

S3 Object Storage

Variable
Purpose
Example values

S3_ACCESS_KEY

Access key for MinIO or other S3 compatible object storage.

minio-access-key

S3_SECRET_KEY

Secret key for object storage services.

minio-secret-key

Click here