Create Device-Only Video
create_device_videoSaves a new Video variant in the selected project using its existing screenshots or recordings on a 3D device, without generating copy. Returns the variant ID and editor link. Optional replaceVariantId retires that existing variant after the new video saves and requires explicit user approval.
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": "create_device_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motion | No | Preset for every scene. Duo folds and MacBook lid motions work on their matching devices. | |
| projectId | Yes | Project / generation UUID. | |
| deviceType | No | phone | |
| recordings | No | Recordings play before screenshots. Up to ten clips and screenshots combined. | |
| customMotion | No | Authored or generated device keyframes. Omit motion when using this. | |
| deviceModelId | No | Match deviceType. iPhone Duo is a phone and MacBook is desktop. | |
| previewFormat | No | ||
| idempotencyKey | No | Reuse the same key when retrying an uncertain creation. | |
| replaceVariantId | No | Existing Video variant to replace only after explicit user approval. | |
| selectedScreenshotPaths | No | Screenshots in playback order. With no clips or selection, uses the first screenshot for the chosen device. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes | ||
| widgetDataJson | No |