Documentation Index
Fetch the complete documentation index at: https://docs.siray.ai/llms.txt
Use this file to discover all available pages before exploring further.
1. Authentication
All API requests require an authentication token. Please ensure you have yourSIRAY_API_TOKEN set as an environment variable or passed directly to the client library.
- Token:
SIRAY_API_TOKEN - Security: Pass the token via an environment variable to prevent hardcoding secrets in your source code.
2. Unified API Overview
The core of the Siray platform is the “Unified API,” which allows you to interact with various models using a consistentrun() method.
The key components of an API call are:
- Model Identifier: E.g.,
"black-forest-labs/flux-kontext-i2i-pro". - Input Payload: A dictionary/object containing parameters like
promptand the inputimage.
