Status Check

Monitor the processing status of your requests. Use this endpoint to check the progress and retrieve results from asynchronous AI generation operations.

Endpoint

HTTP Method
GET https://api.mnmlai.dev/v1/status/{id}

Request

Send a GET request to check the status of a previously submitted AI generation task.

Required Parameters

ParameterTypeDescription
idStringThe request ID returned from any AI generation endpoint

Response

The status check response provides information about the processing status of your request. When processing is complete, it will include URLs to the generated images.

Response Status Values

StatusDescription
startingRequest has been received and is being prepared for processing.
processingRequest is currently being processed by the AI system.
successProcessing completed successfully. Includes message array with result URLs and seed.
failedProcessing failed due to an error. Error details may be included in the response.
canceledRequest was canceled before processing completed.

Examples

Example Request

curl --location 'https://api.mnmlai.dev/v1/status/YOUR_REQUEST_ID' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'

Success Response

{
    "status": "success",
    "message": [
        "https://api.mnmlai.dev/v1/images/yhqm/3LbCGIZZuEIFKxWKqHlsLYXxuJfuFhTWS2ydpCIH3fT9T2OUA/453463-f663c9fa-e9e7-11ef-8909-1a12c9b2cbd2.png"
    ],
    "seed": 453463
}

Best Practices

  • Implement exponential backoff when polling for status updates to avoid rate limiting.

  • Store the request ID securely as it is required to retrieve your generated content.

  • Download and store generated images as soon as they're available - image URLs may expire after a certain period.

Error Handling

For detailed information on error responses, status codes, and best practices for handling errors, see our comprehensive API Errors documentation.

Status Check Specific Errors

// 400 Bad Request - Invalid request ID format
{
  "error": "Invalid request ID format"
}

// 404 Not Found - Request ID not found
{
  "error": "Request ID not found"
}

Related Endpoints

Explore other AI-powered design tools that use asynchronous processing: