Render Project
Videos
Render Project
Initiate the rendering process for a project to generate the final video output based on the current project configuration and content.
POST
Render Project
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
Initiate the rendering process for an existing Pictory project to generate the final video output. This endpoint creates a render job that processes your project’s scenes, audio, subtitles, and visual effects into a complete video file. The rendering happens asynchronously, and you can track progress using the job ID returned in the response.This endpoint renders existing Pictory projects. Projects can be created via the Create Storyboard Preview API with
saveProject: true, or directly in the Pictory App.Render Workflow Options
| Workflow | API | When to Use |
|---|---|---|
| Create Preview | Create Storyboard Preview | Generate preview to review scenes before rendering |
| Render from Preview | Render from Preview | Render preview as-is without modifications |
| Render with Modifications | Render Video | Modify preview elements before rendering |
| Render Saved Project | This API | Render existing project created in App or via API |
| Direct Render | Render Storyboard Video | Skip preview, render directly from input |
When to Use This Endpoint
App-Created Projects
Render projects created and edited in the Pictory web application
Saved API Projects
Render projects saved via Storyboard API with saveProject: true
Automation Pipelines
Integrate project rendering into automated workflows
Re-rendering
Re-render projects after manual edits in the App
API Endpoint
Request Parameters
Path Parameters
The unique identifier of the project to render. Get from Get Projects API.
Headers
API key for authentication (starts with
pictai_)Response
When the render request is successfully submitted, a job is created and a job ID is returned.Indicates whether the request was successful
Unique identifier for the render job. Use this to track the job status and retrieve results via the Get Video Render Job by ID endpoint.
Next Steps
Once you have thejobId, poll the Get Video Render Job by ID endpoint to check the render status and retrieve the output URLs when complete. Use a polling interval of 10–30 seconds.
Code Examples
Usage Notes
Asynchronous Processing: Rendering happens asynchronously. The API returns immediately with a job ID. Use the Get Video Render Job by ID API to poll and track rendering progress.
Rendering Behavior
What Happens During Rendering
- Job Creation: A render job is created and queued in the rendering system
- Processing: The system processes all project elements:
- Compiles all scene visuals (images/videos)
- Generates and synchronizes voice-over audio
- Applies text overlays and subtitle formatting
- Processes transitions and effects
- Combines all elements into the final video
- Encoding: The final video is encoded in the specified format and quality
- Completion: The job status changes to complete, and video URLs become available
Code Examples: Poll for Completion
Best Practices
Polling Strategy
- Start Interval: Begin with 10-second intervals for the first minute
- Increase Gradually: Increase to 15-30 seconds for longer renders
- Maximum Attempts: Set a reasonable timeout (e.g., 20-30 minutes)
- Exponential Backoff: Use increasing intervals to reduce API calls
Error Handling
- Retry Logic: Implement automatic retry for transient failures
- Timeout Handling: Set appropriate timeouts based on project complexity
- Status Validation: Always check the response status before proceeding
- Fallback Strategy: Have a plan for handling permanent failures
Related APIs
Get Render Job Status
Monitor rendering progress
Get Projects
List projects to get project IDs
Get Project By Id
Get project details and video URL
Create Storyboard Preview
Create new video projects via API
