Update an existing project using its unique project ID. Requires the complete updated project object in the request body.
20251222191648030d7df02f5b4054d4ca8831f1369459e25pictai_)application/json| Field | Type | Description |
|---|---|---|
projectName | string | Name of the project |
audioSpeed | number | Audio playback speed percentage (100 = normal) |
videoVolume | number | Background video volume level (0-100) |
scenes[].text and scenes[].sentence)| Field | Type | Description |
|---|---|---|
text | string | Plain text version of the scene narration |
sentence | array | Array of text segments with formatting |
sentence[].text | string | Text content of the segment |
sentence[].highlight | boolean | Apply keyword highlighting |
sentence[].decoration | array | Text decorations: decor-bold, decor-underline |
sentence[].case | string | Text case: none, uppercase, lowercase |
keywords | array | Array of highlighted keyword strings |
scenes[].styleData)| Field | Type | Description |
|---|---|---|
fontName | string | Font family name |
fontSize | string | Font size in pixels |
fontColor | string | Text color (RGB format) |
fontWeight | number | Font weight (400=normal, 700=bold) |
textAlign | string | Alignment: left, center, right |
keywordColor | string | Highlight color (RGBA format) |
textBackgroundColor | string | Background color (RGBA format) |
maxLines | number | Maximum display lines |
width | number | Container width (0-1) |
preset | string | Position: bottom-left, bottom-center, center-center, etc. |
scenes[].settings)| Field | Type | Description |
|---|---|---|
hideText | boolean | Hide subtitle/caption text for this scene |
scenes[].background with type: "image")| Field | Type | Description |
|---|---|---|
type | string | Must be "image" |
elementData.url | string | Full resolution image URL |
elementData.preview_jpg | string | Preview image URL |
elementData.thumb | string | Thumbnail URL |
elementData.library | string | Source: uploads, unsplash, story_blocks, getty |
styleData.imageZoomPan | boolean | Enable Ken Burns zoom/pan effect |
styleData.colorOverlay | object | Color overlay settings |
scenes[].background with type: "video")| Field | Type | Description |
|---|---|---|
type | string | Must be "video" |
elementData.url | string | Video file URL |
elementData.duration | number | Video duration in seconds |
elementData.library | string | Source: uploads, story_blocks, getty, pexels |
settings.loopVideo | boolean | Loop video playback |
scenes[].background with type: "solid")scenes[].elements[] with type: "video")| Field | Type | Description |
|---|---|---|
elementId | string | Unique element identifier (preserve existing) |
type | string | Must be "video" |
hide | boolean | Hide this element |
settings.loopVideo | boolean | Loop the video clip |
settings.muteClipAudio | boolean | Mute the video’s audio |
elementData.url | string | Video file URL |
styleData.top | number | Vertical position (%) |
styleData.left | number | Horizontal position (%) |
styleData.width | number | Element width (0-1) |
styleData.colorOverlay | object | Color overlay settings |
scenes[].elements[] with type: "text")| Field | Type | Description |
|---|---|---|
elementId | string | Unique element identifier (preserve existing) |
type | string | Must be "text" |
settings.textMode | string | useStoryText or writeAnything |
elementData.sentence | array | Text segments with formatting |
styleData.fontName | string | Font family |
styleData.fontSize | string | Font size in pixels |
styleData.fontColor | string | Text color (RGB) |
styleData.animation | object | Entry/exit animation settings |
Scene Background Image
scenes[].background (type: image)Replace background image with Ken Burns effect and color overlay.Scene Background Video
scenes[].background (type: video)Replace background with a video clip.Scene Text & Keywords
scenes[].text, scenes[].sentence, scenes[].keywordsUpdate display text, formatting, and highlighted keywords.Scene Text Styling
scenes[].styleDataUpdate text appearance, fonts, colors, and positioning.Scene Settings
scenes[].settingsControl text visibility for the scene.Video Element Overlay
scenes[].elements[] (type: video)Update video clips placed as overlays within scenes.Text Element Overlay
scenes[].elements[] (type: text)Update text overlays and their styling/animations.Project Metadata
projectName, audioSpeed, videoVolumeUpdate basic project configuration.| Field | Type | Description |
|---|---|---|
success | boolean | true if the update was successful |
message | string | Confirmation message |
project | object | The updated project object with all current values |
| Field | Type | Description |
|---|---|---|
success | boolean | false if the update failed |
message | string | Error description |
error | string | Detailed error information (if available) |