shorts_generate
Call prompt_suggest first and base the prompt on the top result. Generate an approval-ready AI Short from an existing source and place it in the human review rail as a PENDING EngineDraft. Pro-only and allowance-capped before model/media spend. source.kind accepts "autoseo" with articlePostId, "ship-digest" with text/title/url, "trend" with draftId, "template" with slug/variables, or "raw" with title/text/url. The backend produces a grounded script JSON, a voiceover with word timings when configured, a ShortSpec for the client renderer, stores audio in Minio, and returns draftId/spec/script. It never publishes. The human must render/approve later via the dashboard or attach-render flow. Pass format "tutorial" for the faceless step-by-step tutorial (hook text in frame 1, numbered steps, word-by-word pop captions, and a comment-keyword end card such as Comment POST), or "faceless_quote" for short original lines over a background. keyword threads one search keyword through the on-screen text, the script and the caption. screens attaches your own screenshots (publicUrl from finalize_media_upload) to the first steps, each with an optional zoomTo rect in 0..1 image coordinates. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.
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": {
"source": "<source>"
},
"name": "shorts_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Optional brand/niche attribution tag for per-play rollups. | |
| format | No | Script format. Defaults to standard. | |
| source | Yes | Short source object. Examples: {kind:"raw",title:"...",text:"...",url:"https://..."} or {kind:"autoseo",articlePostId:"..."} | |
| keyword | No | Optional search keyword shown on screen, spoken, and placed in the caption. | |
| screens | No | Your own screenshots shown on the first steps, in step order. | |
| platforms | No | Optional target platforms subset: tiktok, instagram, youtube. Defaults to tiktok. | |
| scheduleHint | No | Optional "optimal" or future ISO datetime hint. | |
| commentKeyword | No | Tutorial CTA word viewers comment, e.g. POST. Defaults to POST. |