Skip to main content

Available models

View the latest models in the dashboard

Open model page
ModelModel IDSupported sizesPrice
Coming soon
Image generation models are currently being onboarded. If you’d like early access, reach out to us through the dashboard.

API reference

Image generation uses the OpenAI images/generations format.
curl https://oss.chatgpttech.mobi/v1/images/generations \
  -H "Authorization: Bearer sk-hub-your-key-here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "model-id",
    "prompt": "A futuristic city at sunset, photorealistic",
    "n": 1,
    "size": "1024x1024"
  }'
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'sk-hub-your-key-here',
  baseURL: 'https://oss.chatgpttech.mobi/v1',
});

const response = await client.images.generate({
  model: 'model-id',
  prompt: 'A futuristic city at sunset, photorealistic',
  n: 1,
  size: '1024x1024',
});

console.log(response.data[0].url);
from openai import OpenAI

client = OpenAI(
    api_key="sk-hub-your-key-here",
    base_url="https://oss.chatgpttech.mobi/v1",
)

response = client.images.generate(
    model="model-id",
    prompt="A futuristic city at sunset, photorealistic",
    n=1,
    size="1024x1024",
)

print(response.data[0].url)

Quickstart

API keys

Video models