Documentation

Everything you need to integrate AfriBiobank AI tools into your applications

Getting Started

Installation

Install the AfriBiobank SDK using your preferred package manager:

# Python
pip install afribiobank

# Node.js
npm install @afribiobank/sdk

# R
install.packages("afribiobank")

First API Call

Make your first API call to analyze a medical image:

import afribiobank # Initialize the client client = afribiobank.Client(api_key="your_api_key") # Analyze a chest X-ray result = client.chest_analysis.predict( image_path="chest_xray.jpg", model="tb-detection-v2" ) print(result.predictions)

Authentication

All API requests require authentication using an API key. Include your API key in the request header:

Authorization: Bearer YOUR_API_KEY

Keep your API key secure

Never expose your API key in client-side code or public repositories. Store it securely in environment variables.

Get API Key

API Reference

POST/api/v1/brain-analysis
Neuroimaging

Analyze brain MRI scans for tumor detection and segmentation

View Details
POST/api/v1/chest-analysis
Radiology

Detect TB, pneumonia, and thoracic pathologies from chest X-rays

View Details
POST/api/v1/skin-analysis
Dermatology

Classify skin lesions and detect melanoma

View Details
POST/api/v1/retinal-analysis
Ophthalmology

Grade diabetic retinopathy and detect retinal diseases

View Details
POST/api/v1/segmentation
Image Processing

Segment organs and anatomical structures

View Details

Official SDKs

Python

JavaScript/TypeScript

R

Java

Coming Soon

Additional Resources

Tutorials

Step-by-step guides for common use cases

Browse Tutorials

Code Examples

Ready-to-use code snippets and samples

View Examples

Research Papers

Scientific publications and methodology

Read Papers

Ready to Explore Our AI Tools?

Our team is here to help you integrate AfriBiobank AI into your workflow