Batch compute, by API.
Create a job from a fixed template, poll it, read its result. Use the dashboard or an API key from your own code.
01 · Templates
A fixed list, on purpose.
| Template | What it does | Status |
|---|---|---|
hello |
Prints a greeting. A smoke test. | Runnable |
canary-hash |
Repeats SHA-256 a number of times. Deterministic, so results can be cross-checked. | Runnable |
transcode |
Video conversion. | Coming soon |
inference |
Language-model inference on a GPU. | Coming soon |
render |
Frame rendering on a GPU. | Coming soon |
You cannot run your own image or command. Settings are typed and validated; anything outside a template's schema is refused. Larger inputs and outputs need object storage, which is not set up yet: today a job's result is its first 64 KiB of text output.
02 · Example
Create a job.
Create an API key in the dashboard (shown once), then:
curl -X POST https://YOUR-HOST/v1/jobs \
-H "authorization: Bearer vyg_..." \
-H "content-type: application/json" \
-d '{"template":"canary-hash",
"params":{"seed":"demo1","rounds":1000},
"maxPriceMinor":100,
"maxRuntimeSeconds":120}'
curl https://YOUR-HOST/v1/jobs/JOB_ID/result \
-H "authorization: Bearer vyg_..."
Prices are in paise (1/100 rupee). maxPriceMinor is a hard cap: you are never
charged more than it, and it is held from your balance while the job is open.
03 · API keys
Narrow by design.
- A key can create, list and cancel your jobs and read results and your balance. Nothing else.
- Keys are shown once; only a hash is stored. Revoke one and it stops working immediately.
- At most 10 active keys; each shows when it was last used.