Base URL

All API requests should be made to:
https://geoff.ai/api

Authentication

All endpoints require a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEY
API keys can be created and managed in Settings > API Keys.

Response Format

All responses are returned as JSON with the following general structure:
{
  "data": { ... },
  "trace_id": "04ede0ab069fb1ba8be5156a24b1e081",
  "extra_info": { ... }
}

Error Handling

Errors follow standard HTTP status codes:
Status CodeDescription
400Bad Request — Invalid parameters
401Unauthorized — Invalid or missing API key
403Forbidden — Insufficient permissions
404Not Found — Endpoint or resource doesn’t exist
429Too Many Requests — Rate limit exceeded
500Internal Server Error
Error responses include a message:
{
  "error": {
    "code": "invalid_request",
    "message": "The 'model' field is required."
  }
}

Available APIs

CategoryDescription
TextChat completions via Anthropic, OpenAI, or AI SDK compatible APIs
SpeechText-to-audio, async speech generation, voice cloning
VideoText/image/frame-based video generation
ImageText-to-image and image-to-image generation
MusicMusic and lyrics generation
FileFile upload, retrieval, and management