SUPREME Setu API — Early Access
The SUPREME Setu OpenAI-compatible endpoints preview the upcoming public release. Want early access or custom organizational quota limits? Contact our solutions engineering team.
Image Understanding & Generation
The Setu gateway handles multimodal visual inputs and creative generation workflows through our high-performance vision models.
Multimodal Visual Analysis
You can pass image URLs or Base64 encoded images directly into messages using the standard OpenAI vision format:
python
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ.get("SUPREME_API_KEY"),
base_url="https://supremeai.services/api/setu/v1"
)
response = client.chat.completions.create(
model="quantum-flash",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "Describe the contents of this Nepali document."},
{
"type": "image_url",
"image_url": {
"url": "https://example.com/citizenship_sample.jpg"
}
}
]
}
]
)
print(response.choices[0].message.content)Image Generation Specification (Preview)
Creative image generation through Studio is currently available via the web dashboard and scheduled for open API access following the beta rollout.
