DOCUMENTATION

The Visual AI Standard

Visgate is a unified gateway for visual AI providers. It provides a consistent interface, automatic cost optimization, and enterprise-grade observability.

Quick Start

Install the SDK and generate your first image in under 60 seconds.

API Reference

Deep dive into our REST endpoints and unified parameter schema.

Unified Auth

All interactions with Visgate are secured via API Keys. You can manage keys, set spending limits, and restrict access by provider in the Console.

GET/v1/health
{
  "status": "healthy",
  "providers": {
    "fal": "active",
    "replicate": "active"
  }
}

Interactive API Playground

Test the API directly from your browser. Select your language, run the code, and see the response in real-time.

import requests

url = "https://api.visgateai.com/v1/images/generate"
headers = {
    "Content-Type": "application/json",
    "X-API-Key": "your_api_key_here"
}
payload = {
    "model": "fal-ai/flux/schnell",
    "prompt": "A serene mountain landscape at sunset",
    "num_images": 1
}

response = requests.post(url, json=payload, headers=headers)
data = response.json()
print(data)