Get Prediction Result
atlas_get_predictionRetrieve the status and results of AI-generated images or videos. Check if your generation task is complete and access output URLs when ready.
Instructions
Check the status and result of an image/video generation task.
Use this after submitting a generation request to check if the result is ready.
If the status is still "processing" or "starting", wait a moment and try again.
When the result is ready (status is "completed" or "succeeded"), the output URLs will be returned. You should then:
Show the output URLs to the user
Ask the user if they want to download the file to their local machine (you can use curl or wget to download it)
Args:
prediction_id (string, required): The prediction ID returned from a generation request
Returns: The current status and output of the generation task.
Examples:
prediction_id="pred_abc123" -> check generation status
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prediction_id | Yes | Prediction ID from a generation request |