Signature
Parameters
Name of the GPU model (replace spaces with underscores, e.g. “RTX_4090”).
Number of GPUs required (choices: 1, 2, 4, 8, 12, 14).
Docker image name to use for the instance.
Geographical region filter for the instance location.
Disk space to allocate in GB.
Maximum number of offers to consider when selecting the best match.
Sort order for offers; append ’-’ to sort descending (e.g. “score-”).
Docker login credentials for private registry authentication.
Label to attach to the instance.
Filename of an onstart script to run on instance start.
Shell command to run on instance start.
Override the Docker image entrypoint.
Enable SSH access to the instance.
Enable Jupyter notebook server.
Enable direct (peer-to-peer) connections.
Directory to serve Jupyter from.
Enable JupyterLab instead of classic Jupyter.
Set system language encoding to UTF-8.
Set Python I/O encoding to UTF-8.
Extra Docker run arguments passed verbatim.
Environment variables to set (formatted as Docker -e flags).
Additional positional arguments.
Skip sanity checks when creating from an existing instance.
Return an error if scheduling fails rather than creating a stopped instance.
Hash of an instance template to use for configuration.
Print verbose explanations of API calls made.
Return raw JSON responses.
Returns
str — Result from the API call.