Get Storyboard Preview Job by ID
Pictory Jobs
Get Storyboard Preview Job by ID
Retrieve the status and results of a storyboard preview job
GET
Get Storyboard Preview Job by ID
Documentation Index
Fetch the complete documentation index at: https://docs.pictory.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This endpoint retrieves the current status and results of a storyboard preview job using its unique job ID. While processing is in progress, it returns the current job status. Once the job completes, it returns the full storyboard preview data, including render parameters, the processed storyboard, and the preview URL.A valid API key is required to use this endpoint. Obtain your API key from the API Access page in your Pictory dashboard.
API Endpoint
Request Parameters
Path Parameters
The unique identifier (UUID) of the storyboard preview job. This value is the
jobId returned by the Create Storyboard Preview endpoint.Example: "a1d36612-326d-4b81-aece-411f8aed4c70"Headers
API key for authentication (starts with
pictai_)Response
In-Progress Response
Returned while the storyboard preview is still being generated:The unique identifier of the storyboard preview job
true while the job is processingFailed Response
Returned when the storyboard preview job has failed during processing:The unique identifier of the storyboard preview job
false when the job has failedCompleted Response
Returned when the storyboard preview has been successfully generated. The response contains the full preview data:The unique identifier of the storyboard preview job
true when the job has completed successfullyContains the complete storyboard preview results.
"completed" — the storyboard preview has been generated successfullyURL to view the storyboard preview in a browser. This URL can also be embedded in an iframe for app integrations. Refer to the Embed Preview Player guide for details.
URL to open the saved project in the Pictory web app. Present only when
saveProject was set to true in the storyboard request.Unique identifier of the saved project. Use this value with the Render Project or Get Project by ID APIs. Present only when
saveProject was set to true in the storyboard request.Total AI credits consumed for generating AI visuals (images and video clips) in this storyboard. Present only when the storyboard includes scenes with
aiVisual configuration. The value is the sum of credits used across all AI-generated scenes.Response Examples
Key Response Fields
| Field | Description |
|---|---|
renderParams | The rendering data for the video. To customize the video, modify this data and submit it to the Render Video API. To update the preview with changes, save the modified data using the Update Storyboard Elements API. After saving, the preview URL will reflect the updates. |
storyboard | The processed input storyboard with all scenes resolved. Use this object to submit a new storyboard request with modifications. Re-submissions process faster because the scenes, voices, and visuals have already been resolved. |
previewUrl | URL to view the storyboard preview. Open in a browser or embed in an iframe. Refer to the Embed Preview Player guide for integration details. |
projectUrl | URL to open the saved project in the Pictory web app. Present only when saveProject: true. |
projectId | Unique identifier of the saved project. Use with the Render Project or Get Project by ID APIs. Present only when saveProject: true. |
aiCreditsUsed | Total AI credits consumed for generating AI visuals (images and video clips). Present only when the storyboard includes scenes with aiVisual configuration. |
Code Examples
Working with the Completed Response
Customizing and Rendering the Video
After the storyboard preview is ready, the following options are available:Review the Preview
Open the
previewUrl in a browser to review the storyboard preview, including all scenes, visuals, and text overlays.Update Elements (Optional)
To modify scene visuals, text, or other elements, update the
renderParams.elements data and save it using the Update Storyboard Elements API. The preview URL will reflect the saved changes.Render the Final Video
Submit the
renderParams data (modified or as-is) to the Render Video API to produce the final rendered video file.Re-submitting a Modified Storyboard
To change the original storyboard structure (for example, different text, a different voice, or different scenes), use thestoryboard object from the completed response as the request body for a new Create Storyboard Preview request. This approach processes faster because the scenes, voice-over audio, and visual selections have already been resolved.
Polling Best Practices
-
Use webhooks when possible. Configure a
webhookURL in the storyboard request to receive automatic notification when the job completes, rather than polling. - Implement timeouts. Set a maximum wait time. Storyboard previews typically complete within a few minutes, depending on the number of scenes and voice-over generation requirements.
-
Cache results. Once a storyboard job completes, store the
renderParamsandstoryboarddata locally. Completed job data may be cleaned after a retention period.
