Skip to main content

AI Studio API

AI Studio is a unified platform for building, fine-tuning, and deploying custom AI models. These endpoints let you manage base models, run inference, build fine-tuning datasets, launch training jobs, and deploy custom models.

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 deployed base or fine-tuned models.

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

Datasets

Upload and manage training datasets.

4 endpoints

Training Data

Access and manage raw training log data.

11 endpoints

Fine-tuning

Create and manage fine-tuning jobs.

12 endpoints

Models

Deploy, undeploy, and manage fine-tuned and imported models.

11 endpoints

Model Evaluations

Run and retrieve model evaluation results.

10 endpoints

Synthetic Data

Generate and manage synthetic training examples.

6 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