- Updated import paths to reflect the renaming of the `crystallib` module to `herolib`. This change improves consistency and clarity in the project structure.
592 B
592 B
runpod
To get started
import freeflowuniverse.herolib.clients. runpod
mut client:= runpod.get()!
client...
example heroscript
!!runpod.configure
secret: '...'
host: 'localhost'
port: 8888
RunPod API Example
This script demonstrates creating, stopping, starting, and terminating RunPod pods using the RunPod API. It creates both on-demand and spot pods.
Requirements
- Environment variable
RUNPOD_API_KEYset with your RunPod API key
How to Run
- Find out our example in: examples/develop/runpod/runpod_example.vsh