Client Setup

Install and configure the Visgate SDK for Python or JavaScript.

The Visgate SDK is available for Python and JavaScript/TypeScript. Both clients expose the same core API surface: generate, images, videos, models, usage, and providers.

Configuration Options

OptionPythonJavaScriptDefault
API Keyapi_keyapiKey$VISGATE_API_KEY
Base URLbase_urlbaseUrlhttps://visgateai.com/api/v1
Timeouttimeout (seconds)timeout (ms)120s / 120000ms
Max Retriesmax_retriesmaxRetries2
Proxy URLproxyUrl
Fal BYOK Keyfal_keyfalKey
Replicate BYOK Keyreplicate_keyreplicateKey
Runway BYOK Keyrunway_keyrunwayKey
RunPod BYOK KeyrunpodKey

On this page