cURL
curl --request GET \ --url https://api.novita.ai/v2/progress \ --header 'Authorization: <authorization>'
{ "code": 123, "msg": "<string>", "data": { "status": 123, "progress": 123, "eta_relative": 123, "imgs": {}, "failed_reason": "<string>", "current_images": [ "<string>" ], "submit_time": "<string>", "execution_time": "<string>", "txt2img_time": "<string>", "finish_time": "<string>", "info": "<string>", "enable_nsfw_detection": true, "nsfw_detection_result": [ { "valid": true, "confidence": {} } ] } }
Show properties
curl --location 'https://api.novita.ai/v2/progress?task_id=' \ --header 'Authorization: Bearer {{API Key}}'
{ "code": 0, "msg": "", "data": { "status": 2, "progress": 1, "eta_relative": 0, "imgs": [ "https://stars-test.s3.amazonaws.com/free/859d452b-f682-45fc-b0e7-5bd7b61a107d-0.png", "https://stars-test.s3.amazonaws.com/free/859d452b-f682-45fc-b0e7-5bd7b61a107d-1.png", "https://stars-test.s3.amazonaws.com/free/859d452b-f682-45fc-b0e7-5bd7b61a107d-2.png", "https://stars-test.s3.amazonaws.com/free/859d452b-f682-45fc-b0e7-5bd7b61a107d-3.png" ], "failed_reason": "", "current_images": [""], "submit_time": "2024-01-24 15:08:17", "execution_time": "2024-01-24 15:08:17", "txt2img_time": "2024-01-24 15:08:22", "finish_time": "2024-01-24 15:08:22", "info": "", "enable_nsfw_detection": true, "nsfw_detection_result": [ { "valid": true, "confidence": 57.62467 }, { "valid": true, "confidence": 3.908125 }, { "valid": true, "confidence": 99.84468 }, { "valid": true, "confidence": 2.440833 } ], "debug_info": { "submit_time_ms": 1706080097101, "execution_time_ms": 1706080097369, "txt2img_time_ms": 1706080102333, "finish_time_ms": 1706080102479 } } }
Was this page helpful?