This endpoint retrieves the current status and output of an AI image generation job using its unique job ID. While the generation is in progress, it returns the job status. Once the image generation completes, it returns the output including the image URL, dimensions, and AI credits consumed.
A valid API key is required to use this endpoint. Obtain your API key from the API Access page in your Pictory dashboard.
The unique identifier (UUID) of the image generation job. This is the jobId returned by the Generate Image endpoint.Example:"4d82d040-4394-4371-867d-72ae1dd62b6d"
Use a polling interval of 10–30 seconds when checking job status. Polling too frequently may result in rate limiting.
Use webhooks when possible. Configure a webhook URL in the original generate image request to receive automatic notification when the job completes, rather than polling.
Implement timeouts. Set a reasonable maximum wait time. Image generation typically completes within a few minutes.
Handle failures gracefully. Inspect error_code and error_message in failed responses to determine the cause and whether the request can be retried.