Generate Promo Video
generate_promo_videoStarts or reuses background preparation of three transient promo-video scene/config candidates and returns the embedded picker or its URL. The picker updates when preparation finishes. Only an explicitly selected candidate becomes a saved variant. Optional replaceVariantId enables replacement after the new selection saves; selectedScreenshotPaths restricts candidate inputs.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "generate_promo_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Optional creative direction applied to all three candidates. | |
| projectId | Yes | Project / generation UUID. | |
| deviceType | No | Device the video shows: phone (default; iPhone or Pixel by platform), tablet (iPad Pro, iPad App Store formats) or desktop (MacBook, 16:9). Uses that device's uploaded screenshots. | |
| replaceVariantId | No | Existing promo-video variant to replace after the user chooses a candidate. Only pass with explicit user approval. | |
| selectedScreenshotPaths | No | Optional project-relative screenshot paths (1–10) from list_source_screenshots, in story order. They must match deviceType (phone → mobile/…, tablet → tablet/…, desktop → desktop/…). | |
| selectedScreenshotIndices | No | Legacy screenshot positions. Prefer selectedScreenshotPaths. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |