Files
herolib/lib/clients/runpod
2025-11-30 08:59:38 +01:00
..
2025-01-19 22:20:47 +02:00
2025-01-23 16:17:12 +02:00
...
2025-10-29 09:36:37 +04:00
...
2025-11-30 08:59:38 +01:00

runpod

To get started




import incubaid.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_KEY set with your RunPod API key

How to Run

  • Find out our example in: examples/develop/runpod/runpod_example.vsh