Get Started
Introduction
Every cloud provider. One interface.
Install
Getting started with supercontrast is easy. You can install via pip:
Quick Start
Supercontrast provides a unified interface for various AI tasks across different cloud providers. Here’s a quick introduction on how to use it:
- Import the necessary classes:
- Initialize a SuperContrastClient for your desired task and provider:
- Create a request object for your task:
- Make the request and handle the response:
Example
Here’s a complete example that demonstrates how to use supercontrast for OCR:
This example shows how to perform OCR on an image using Google Cloud Platform as the provider. The same pattern can be applied to other tasks and providers supported by supercontrast.
For other tasks, see the Tasks section of the documentation.
To set up providers, see the Providers section of the documentation.