Skip to main content
POST
Start Serving

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

HF id / absolute path / run:<run_id>

Required string length: 1 - 512
gpus
integer
default:1
Required range: 1 <= x <= 8
ttl_s
number | null
Required range: 60 <= x <= 86400
image_source
enum<string>
default:default

default = the platform's playground_image; run = the image the run trained with

Available options:
default,
run
extra_args
string[]
Maximum array length: 32

Response

Successful Response