v27

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-06-0872127230.6 KB
Shorts

Generate shorts script

post/api/agent/shorts/script

Request body

topicstring required
product_idstring uuid
article_idstring uuid

Optional article ID. When provided, shorts_title, shorts_hashtags, and shorts_script are saved to article metadata.

duration'short' | 'long'
requested_duration_seconds5 | 10 | 15

Exact target runtime in seconds. When present, this controls the script word budget.

style'hook' | 'educational' | 'cta'
languagestring

Response

Script generated

scriptstring required

Voiceover script text (also used as post description)

titlestring required

Catchy video title (max 100 chars), used as YouTube/TikTok title

hashtagsstring[] required

2-3 relevant hashtags with # prefix

word_countinteger required
estimated_duration_secinteger required
partsstring[] required
credits_chargedinteger required