ucp_order_storyboard
Step 2 after payment (requires orderStatus PAID, else 402). Generates the per-transition storyboard prompts for the video. Send exactly imageCount images (the quota fixed at checkout), each with either inline base64 data or an S3 key from POST /api/ucp/orders/{orderId}/uploads/presigned-url (recommended for full-resolution photos; inline base64 is limited by the ~4.5MB request-body cap). Multi-person photos require a focal point (anchor or face selection from ucp_image_validate). Afterwards call ucp_order_generate.
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": {
"orderId": "<orderId>",
"images": "<images>"
},
"name": "ucp_order_storyboard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| images | Yes | Full-resolution base64 images. Server auto-crops to aspectRatio on focal point unless autoCrop:false. | |
| orderId | Yes | Paid order ID | |
| vibeKey | No | Vibe preset: cinematic, warm, playful, elegant, or custom | |
| aspectRatio | No | Output format: 16:9, 9:16, 1:1, 4:3, or 3:4 (default 9:16) | |
| previousState | No | Optional prior storyboard for smart regeneration | |
| customVibePrompt | No | Required when vibeKey is custom |