
ਏਪੀਆਈ ਦਸਤਾਵੇਜ਼
ਮਾਡਲਾਂ ਨਾਲ ਰਾਪਤਾ ਬਣਾਉਣ ਲਈ ਅਸੀ ਜਨਤਕ ਏਪੀਆਈ ਪ੍ਰਦਾਨ ਕਰਦੇ ਹਾਂ। ਏਆਈ ਪੰਜਾਬ ਪ੍ਰਮਾਣਿਕਤਾ ਲਈ ਏਪੀਆਈ ਕੁੰਜੀਆਂ ਦੀ ਵਰਤੋਂ ਕਰਦਾ ਹੈ। ਆਪਣੀ ਲੋੜ ਮੁਤਾਬਿਕ ਗਾਹਕੀ ਯੋਜਨਾ ਲੈਣ ਲਈ ਕਿਰਪਾ ਕਰਕੇ ਸਾਡੇ ਨਾਲ ਸੰਪਰਕ ਕਰੋ।
Digit Recognition
POST https://api.aipanjab.com/v1/models/digit-recognition
Predict digit from the input image.
Request body
file
file
Required
The image file object in one of these formats: png or jpeg. The maxmium file size is 10kb.
topK
number
Optional
Default to 3 (min=1, max=5)
The number of predictions.
Returns
A list of predictions
Example requestcurl https://api.aipanjab.com/v1/models/digit-recognition -H "Authorization: Bearer $AIPANJAB_API_KEY \ -H "Content-Type: multipart/form-data" \ -F file="@/path/to/file/digit.png" \
Example response{ "predictions": [ { "label": "੨", "score": 0.9928627836 }, ... ]}
Alphabet Recognition
POST https://api.aipanjab.com/v1/models/alphabet-recognition
Predict alphabet from the input image.
Request body
file
file
Required
The image file object in one of these formats: png or jpeg. The maxmium file size is 10kb.
topK
number
Optional
Default to 3 (min=1, max=5)
The number of predictions.
Returns
A list of predictions
Example requestcurl https://api.aipanjab.com/v1/models/alphabet-recognition -H "Authorization: Bearer $AIPANJAB_API_KEY \ -H "Content-Type: multipart/form-data" \ -F file="@/path/to/file/alphabet.png" \
Example response{ "predictions": [ { "label": "ਸ", "score": 0.9824657626 }, ... ]}