Create carousel from video
create_carousel_from_videoMake a carousel from a video — a link (TikTok, Instagram Reels, YouTube Shorts, VK, RuTube…), the file as base64 (≤20 MB) or an upload_id (≤30 MB, see get_video_upload_url). Uniscript watches the video, gets the point and builds the carousel. Takes about 30–60 s. Uses 1 carousel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Force slide language (en, ru, uk, es, fr, de, it, pt, pl, tr…). Default: detected from topic. | |
| mode | No | value = useful content (default); promo = advertises a business (fill brand/about). | |
| theme | No | Color theme id (list_options). Default: uniscript. | |
| images | No | Your own photos to build the carousel from (https links or base64), like 'Your photos' in the app. | |
| layout | No | editorial = photo on top, text below; overlay = text over full photo; frame = framed photo. | |
| slides | No | Number of slides. Default: AI decides. | |
| filename | No | With video_base64: original file name, e.g. clip.mp4. | |
| strategy | No | Carousel structure id (list_options), e.g. listicle, howto, myths. | |
| body_font | No | Body font name (list_options.fonts). | |
| mix_stock | No | With images/photo_ids: also allow Uniscript stock photos (default: only yours). | |
| photo_ids | No | Already uploaded photo_ids (upload_image) to build from. | |
| upload_id | No | A file uploaded via get_video_upload_url (up to 30 MB). | |
| video_url | No | Link to the video: TikTok, Instagram Reels, YouTube Shorts, VK, RuTube… | |
| hook_style | No | Premium cover background style id (list_options.hook_styles), like the 'Hook style' option in the app. | |
| video_base64 | No | The video file itself as base64 (up to 20 MB). | |
| headline_font | No | Headline font name (list_options.fonts). |