Get the Status of the generated image and final response
Get the Status of the generated image and final response
{
"job_id": "68d8df-a174-45ca-93ea-3738c1d",
"status": "completed",
"result_url": "https://eranol.com/api/image/file/6cc8d8df-a174-45ca-93ea-23424.png"
}
Send your requests to the following URL using the specified HTTP method.
GET https://eranol.com/api/v1/image/status/{job_id}Include the following headers with every request. Your API key is required for authentication.
Send the following JSON payload in the request body. Adjust the values to match your use case.
{}Use the following cURL command to make a request to this API endpoint. Replace YOUR_API_KEY with your actual API key from the dashboard.
curl -X GET "https://eranol.com/api/v1/image/status/{job_id}" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json"Below is an example of a successful JSON response from this endpoint.
{
"job_id": "68d8df-a174-45ca-93ea-3738c1d",
"status": "completed",
"result_url": "https://eranol.com/api/image/file/6cc8d8df-a174-45ca-93ea-23424.png"
}A successful request will return one of the following HTTP status codes.