Skip to main content
Create an overlay network on top of a physical cluster.

Signature

VastAI.create_overlay(cluster_id: int, name: str) -> str

Parameters

cluster_id
int
required
cluster_id
name
str
required
name

Returns

str — Result from the API call.

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.create_overlay(cluster_id=12345, name="...")
print(result)