datacurve-ai / image-autotagger

A web service to analyze images and tag it according to its attributes. Try it in the link below:
https://autotagger.aibooru.online/
0 stars 1 forks source link

Feature: Job Status Check Endpoint #2

Open lsha0730 opened 2 months ago

lsha0730 commented 2 months ago

Some services may not want to keep a connection open to wait for the result after sending the image. Add an optional parameter in the POST request handler to return a job UUID immediately. You should set up an endpoint at /jobstatus that takes a GET request with a string field "jobId", which is the UUID of any running job. The endpoint should either return a 404 error if the results aren't available yet, or the result if the evaluation is complete.

lsha0730 commented 2 months ago

Claimed by sventeen