runpod-sdk 0.2.2

Unofficial Rust SDK for RunPod: deploy and scale GPU workloads with serverless endpoints and on-demand pods
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RunPod SDK Configuration
# Copy this file to .env and set your actual values

# Your RunPod API key (required)
# Get from: https://www.runpod.io/console/user/settings
RUNPOD_API_KEY=your_runpod_api_key_here

# Custom REST API base URL (optional, defaults to https://rest.runpod.io/v1)
RUNPOD_REST_URL=https://rest.runpod.io/v1

# Custom API URL for serverless endpoints (optional, defaults to https://api.runpod.io/v2)
# Only used when serverless feature is enabled
RUNPOD_API_URL=https://api.runpod.io/v2

# Request timeout in seconds (optional, defaults to 30, max 300)
RUNPOD_TIMEOUT_SECS=30