Install our API libraries and run inference in seconds
Install sdk
Auth
OpenAI
models, you’ll need an OpenAI key. We call your closed source key a “provider key”Run a model
List tasks, models, and running models
task
defines a specific function a model performs (e.g., object-detection). Multiple models might be available for the same task. To list all tasks supported by Bytez, run the following command:model
refers to a software function with unique identifier. Models
execute tasks
. For example, the model google/vit-base-patch16-224
executes image-classification
. To list all open-source models supported by Bytez, run the following command:cluster
represents the auto-scaling GPU infrastructure Bytez provisions specifically for running an open-source model serverlessly. It’s created automatically when needed and scales with demand. To list your active clusters, run the following command: