API Documentation

Explore our APIs and integration guides. Build powerful AI-powered applications with our comprehensive API suite.

RESTful APIs

Modern REST APIs with JSON responses

Authentication

API key based authentication

Secure & Private

End-to-end encryption with no data storage

AI-Powered

Advanced AI models for image analysis

Getting Started

To start using our APIs, create an account and generate an API key. Include the key in your requests to access our AI features securely.

import requests

# Authentication
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
}

# Image analysis request
response = requests.post(
    "https://api.thuliyamai.com/predict/",
    headers=headers,
    json={"image_url": "https://example.com/image.jpg"}
)

# Parse response
result = response.json()
print(f"Analysis result: {result['data']['analysis']}")

Example Endpoints

Here are the main API endpoints you can use to integrate with our services:

GET
/predict/
AI Image Analysis Endpoint
POST
/batch-predict/
Batch Image Processing
GET
/health/
Service Health Check
POST
/auth/token/
Authentication Token
GET https://kc-zt-thuliyam-ml-api-server.hf.space/predict/image
Headers:
  Authorization: Bearer YOUR_API_KEY
Response:
{
  "status": "success",
  "data": {
    "analysis": "Result data here...",
    "confidence": 0.937,
    "timestamp": "2024-12-15T10:30:00Z"
  }
}
Note: For more examples and advanced usage, check each endpoint section below. Our APIs are designed to help you get up and running quickly! Rate limits apply: 1000 requests/day on free tier.