API DOCUMENTATION

← BACK TO API HOME
⚠️ COLD START NOTICE: Our API uses scale-to-zero infrastructure to keep prices at $0.001/req. If the endpoint has been idle, your first request may take up to 10 minutes to load the AI into GPU memory. Subsequent requests process in 1-3 seconds.

Endpoint

POST https://api.omnibiofex.cloud/apiInference

Authentication

Pass your API key in the Authorization header. You must have a positive wallet balance to execute requests.

Authorization: Bearer obf_live_YOUR_API_KEY_HERE

Payload (JSON)

Include the base64 image string. You may also pass an optional notes parameter to give the AI specific clinical context before inference.

{
  "image": "base64_encoded_image_string_here",
  "notes": "Patient presents with persistent cough for 3 weeks. (Optional)"
}

Success Response (200 OK)

{
  "success": true,
  "data": {
    "findings": ["Fracture of distal radius", "Joints appear normal"],
    "impression": "Distal radius fracture with displacement."
  }
}

Error Handling

401 Unauthorized - Missing API Key
402 Payment Required - Wallet balance is below $0.001
403 Forbidden - Invalid API Key
500 Internal Server Error - Inference failed or cold start timeout