Auto short clips
shortsPaid: 6 credits per source minute. Pick 1-5 non-overlapping moments from a transcript, reframe each to 720x1280 (9:16), and burn captions. reframe=face (default) follows the main speaker with a smoothed crop and falls back to center when no face is found; reframe=center forces a center crop. Same price either way. platform (tiktok, instagram_reels, youtube_shorts, ...) keeps captions inside that app's safe zone at the same price; say "shorts para Reels" → platform=instagram_reels. Clip length is minSeconds (5-60, default 15) to maxSeconds (up to 60); out-of-range values return 422 limit_exceeded before any charge. Long transcripts are read in windows of 400 cues (up to 4000). 402 insufficient_balance with checkoutUrl when the balance is short.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | 1-5 clips. Out of range returns limit_exceeded before any charge. | |
| fileId | No | ||
| preset | No | ||
| autoFit | No | Default true: caption size, words per caption (4 on 9:16, 5 on 1:1, 7 on 16:9), and a default safe zone follow the video shape, so text reads the same at 720p and 1080p and stays clear of app UI. Pass false only when the user wants the preset's exact fixed pixel sizes. Same price. | |
| reframe | No | face (default): track the main speaker. center: plain center crop. Same price. | |
| mediaUrl | No | ||
| platform | No | Where the video will be posted: tiktok, instagram_reels, youtube_shorts, facebook_reels, snapchat_spotlight, linkedin, youtube, x (aliases like reels, instagram, shorts, snap, twitter; case-insensitive). Keeps captions out of that app's buttons and text. If the user says "para TikTok" / "for Reels", pass it; if they did not say and it matters, ask. Same price. Unknown values return 422 invalid_platform before any charge. See list_platforms. | |
| faceAvoid | No | true = move captions off faces (samples faces at 2 fps, same price; result.faceAvoid.faceLayout). Shortcut for styleOverrides.faceAvoid. | |
| subtitles | No | ||
| maxCredits | No | ||
| maxSeconds | No | Longest clip, minSeconds-60 seconds. | |
| minSeconds | No | Shortest clip, 5-60 seconds. Default 15. | |
| highlightColor | No | #RRGGBB for highlightWords. Default #FACC15. | |
| highlightWords | No | Shortcut: words or phrases to color in every caption (accent/case-insensitive), e.g. ["AwesomeVideo", "gratis"]. Maps to styleOverrides.wordHighlights rule {id:"custom", words, color}. Same price. | |
| styleOverrides | No | Per-call style changes deep-merged onto the preset (same fields as list_presets style; null removes a field), validated with the renderer schema and bundled fonts. Example {"fontSize":72,"maxWordsPerCaption":2,"wordEntrance":"bounce"}. Same price. No need to save_custom_preset. Every field with examples: get_style_reference. | |
| transcriptionJobId | No |