p-image-edit
objectShow Child Parameters
PredictionResponse
objectUnique identifier for the prediction
Example:1zww7deyssrme0csqwr90phzzr
Model identifier used for this prediction
Example:vace
The input parameters provided for this prediction
URL to check prediction status
Example:https://api.pruna.ai/v1/predictions/status/1zww7deyssrme0csqwr90phzzr
PredictionStatusResponse
objectCurrent status of the prediction
Allowed values:startingprocessingsucceededfailedcanceled
Example:processing
URL to download the generated content (available when status is ‘succeeded’)
Example:https://api.pruna.ai/v1/predictions/delivery/xezq/52UGYRrRfqViaKmvYsEnENTh0qLDAWHptQ8jOnEHu7XC6AtKA/output.mp4
Status message
Example:Generation in progress
Error details (available when status is ‘failed’)
Example:Number of samples, -5, must be non-negative.
PredictionStatus
stringCurrent status of the prediction:
starting: Prediction is being queuedprocessing: Model is generating contentsucceeded: Content generated successfullyfailed: Prediction failed with errorcanceled: Prediction was canceled by user
Allowed values:startingprocessingsucceededfailedcanceled
OutputFile
objectRelative URL path for downloading the generated content file
Example:/v1/predictions/delivery/xezq/52UGYRrRfqViaKmvYsEnENTh0qLDAWHptQ8jOnEHu7XC6AtKA/output.mp4
Filename of the generated content
Example:output.mp4
MIME type of the generated content (e.g., image/jpeg, video/mp4)
Example:video/mp4
File size in bytes
Example:15728640