PUT
/
models
/
v2
/
openai-community
/
{model}
curl --request PUT \
  --url https://api.bytez.com/models/v2/openai-community/{model} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "capacity": {
    "max": 123,
    "desired": 123
  },
  "timeout": 123
}'

Authorizations

Authorization
string
header
required

Provide your API key as Key your-key-here in the Authorization header.

Path Parameters

model
string
required

The specific model to create a cluster for (e.g., gpt2).

Body

application/json
Specify the desired capacity and timeout for the cluster.
capacity
object
required
timeout
integer
required

Timeout value for the cluster.

Response

200

Cluster created successfully.