Skip to main content

Documentation Index

Fetch the complete documentation index at: https://student-213fb9fc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Overview

AJ STUDIOZ Cloud Infra provides a fully Ollama-compatible cloud inference API. If you’ve used Ollama locally, you only need to change one line: the host URL.
1

Get your API key

Sign up at cloud.ajstudioz.com and create an API key.
2

Choose a model

Browse the full model list. For a quick start, we recommend gemma3:27b (balanced) or gemma3:4b (fast).
3

Make your first call

Use the examples below to make your first inference request.

Quick Examples

Chat via Ollama SDK (Python)

pip install ollama
from ollama import Client

client = Client(
    host="https://api.ajstudioz.co.in",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)

response = client.chat(
    model="gemma3:27b",
    messages=[
        {"role": "user", "content": "Explain quantum computing in one paragraph."}
    ]
)
print(response.message.content)

Chat via OpenAI SDK (Python)

pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.ajstudioz.co.in/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="deepseek-v3.2",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "What is the capital of France?"}
    ]
)
print(response.choices[0].message.content)

Chat via OpenAI SDK (Node.js)

npm install openai
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.ajstudioz.co.in/v1",
  apiKey: "YOUR_API_KEY",
});

const response = await openai.chat.completions.create({
  model: "qwen3-coder:480b",
  messages: [
    { role: "user", content: "Write a Python function to parse JSON." }
  ],
});
console.log(response.choices[0].message.content);

Chat via cURL

curl https://api.ajstudioz.co.in/api/chat \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5",
    "messages": [
      { "role": "user", "content": "Hello, world!" }
    ],
    "stream": false
  }'

Streaming

All models support streaming. Set stream: true to receive tokens as they’re generated:
from ollama import Client

client = Client(
    host="https://api.ajstudioz.co.in",
    headers={"Authorization": "Bearer YOUR_API_KEY"}
)

stream = client.chat(
    model="gemma3:27b",
    messages=[{"role": "user", "content": "Tell me a story."}],
    stream=True
)

for chunk in stream:
    print(chunk["message"]["content"], end="", flush=True)

List Available Models

curl https://api.ajstudioz.co.in/api/tags \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "models": [
    {
      "name": "gemma3:27b",
      "model": "gemma3:27b",
      "modified_at": "2025-03-12T00:00:00Z",
      "size": 55000000000,
      "digest": "c1d2e3f40004"
    },
    {
      "name": "deepseek-v3.2",
      "model": "deepseek-v3.2",
      "modified_at": "2025-12-02T00:00:00Z",
      "size": 688586727753,
      "digest": "a403a93c7b13"
    }
  ]
}

Next Steps

Browse Models

See all 30+ available models with details

Authentication

Learn about API key scopes and management

OpenAI Compatibility

Full guide to using OpenAI-compatible endpoints

API Reference

Full API documentation

Edit and preview

During the onboarding process, we created a repository on your Github with your docs content. You can find this repository on our dashboard. To clone the repository locally, follow these instructions in your terminal.
Previewing helps you make sure your changes look as intended. We built a command line interface to render these changes locally. 1. Install the Mintlify CLI to preview the documentation changes locally with this command: npm i -g mintlify 2. Run the following command at the root of your documentation (where mint.json is): mintlify dev

Deploy your changes

Our Github app automatically deploys your changes to your docs site, so you don’t need to manage deployments yourself. You can find the link to install on your dashboard. Once the bot has been successfully installed, there should be a check mark next to the commit hash of the repo.
Commit and push your changes to Git for your changes to update in your docs site. If you push and don’t see that the Github app successfully deployed your changes, you can also manually update your docs through our dashboard.

Update your docs

Add content directly in your files with MDX syntax and React components. You can use any of our components, or even build your own.

Style Your Docs

Add flair to your docs with personalized branding.

Add API Endpoints

Implement your OpenAPI spec and enable API user interaction.

Integrate Analytics

Draw insights from user interactions with your documentation.

Host on a Custom Domain

Keep your docs on your own website’s subdomain.