Templates API
List Templates
curl https://api.pulserun.dev/v1/templates \
-H "Authorization: Bearer pr_live_xxxxxxxxxxxxx"{
"data": [
{
"slug": "pytorch-2.3",
"name": "PyTorch 2.3 + CUDA 12.1",
"description": "Pre-configured PyTorch with GPU support",
"icon": "flame",
"category": "ml-training",
"docker_image": "pytorch/pytorch:2.3.0-cuda12.1-cudnn8-devel",
"min_vram_gb": 8,
"default_ports": [8888]
},
{
"slug": "comfyui",
"name": "ComfyUI (Latest)",
"description": "Stable Diffusion node-based UI",
"icon": "palette",
"category": "creative",
"docker_image": "ghcr.io/comfyanonymous/comfyui:latest",
"min_vram_gb": 12,
"default_ports": [8188]
}
]
}Template Fields
| Field | Type | Description |
|---|---|---|
slug | string | Template identifier |
name | string | Display name |
description | string | Short description |
icon | string | Lucide icon name |
category | string | ml-training, inference, creative, general |
docker_image | string | Docker image used |
min_vram_gb | integer | Minimum GPU VRAM required |
default_ports | array | Exposed ports |