Skip to main content

AI Studio API

AI Studio provides OpenAI-compatible inference on a catalog of text and image models. These endpoints let you list models, run inference, generate images, manage conversations and system prompts, and build knowledge bases.

Base URLhttps://console.hyperstack.cloud/ai/api/v1Differs from the core API base URL (infrahub-api.nexgencloud.com/v1).
Authentication

Pass your API key as the api_key request header (no prefix). The same key works for both this and the core Hyperstack API. See Authentication for key generation and rotation.

Resources​


Base Models

Browse available foundation models and their pricing.

3 endpoints

Inference

Send chat completions to any model in the catalog.

1 endpoint

Image Generation

Generate and edit images from text or source images using vision models.

4 endpoints

Conversations

Create conversation threads and retrieve message history.

6 endpoints

Knowledge Bases

Index your own documents so models can search them and cite the passages used.

11 endpoints

Models

List the models available to your account.

2 endpoints

System Prompts

Save and manage reusable system prompt templates.

5 endpoints

Overview

Retrieve an organization-level summary of AI Studio resource usage and model activity.

1 endpoint

Billing

Usage history and cost breakdowns for data synthesis, fine-tuning, model evaluations, and serverless inference.

12 endpoints
On this page