Skip to main content
This content applies to Device version: 1.1.0.0

Examples for integration

This section provides test examples to facilitate the integration of Legit.Health AI models via the JSON API. The examples include example images and corresponding base64 encodings to help you test the complete workflow, from authentication to receiving diagnostic support and severity assessments.

Examples I: Basic Integration

To help you get started with the API integration, we will provide a simple example image of Hidradenitis Suppurativa. This single example allows you to:

  1. Test the complete integration workflow:

    • Authenticate with the API
    • Send an image for analysis
    • Receive diagnosis support
    • Get severity assessment results
  2. Understand the request and response formats for each endpoint:

    • How to properly format image data
    • What responses to expect
    • How to handle the API tokens

Once this basic integration is working correctly, we can proceed with additional test examples for more complex scenarios.

Image nameDownload imageDownload image base64 code
Hidradenitis suppurativa example⬇️ Download Image⬇️ Download base64

Examples II: Malignancy suspicion and no suspicion examples

This set focuses on testing malignancy suspicion detection capabilities with:

  • Cases with malignancy suspicion
  • Cases without malignancy suspicion This helps to see examples of the system's ability to identify potential malignant conditions.
Image nameDownload imageDownload image base64 code
Nevus
Melanoma

Examples III: Additional Pathologies

A broader set of examples covering:

  • Different pathologies
  • Various body locations
  • Different severity levels
  • Multiple scoring systems
Image nameDownload imageDownload image base64 code
Queratosis Seborreica
Acne
Psoriasis
Urticaria
Dermatitis

Examples IV: Edge Cases

These cases test the system's behavior with:

  • Non-specific lesions
  • Images with insufficient quality
  • Unclear or ambiguous cases This helps ensure proper handling of suboptimal inputs.
Image nameDownload imageDownload image base64 code
Non-specific lesion
No skin