You're looking at a specific version of this model. Jump to the model overview.

cottom /openshorts-cpu:95cbbb0e

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
youtube_url
string
YouTube (or another yt-dlp supported site) video link. Give this OR `video`.
video
string
Uploaded video file (or a direct https link to one). Give this OR `youtube_url`.
gemini_api_key
string
Google Gemini API key: picks the moments, writes titles/hooks, chooses layouts. Required unless `llm_base_url` is set.
gemini_model
string
Gemini model override (blank: gemini-3.1-flash-lite).
llm_base_url
string
Optional OpenAI-compatible endpoint for the moment picker (OpenAI, OpenRouter, vLLM...), e.g. https://openrouter.ai/api/v1. Layout picking and silent videos still need Gemini.
llm_api_key
string
API key for `llm_base_url`.
llm_model
string
Model name for `llm_base_url`.
elevenlabs_api_key
string
ElevenLabs API key, only needed with `dub_language`.
dub_language
string
Also return each clip dubbed into this language with ElevenLabs (ISO code: en, es, fr, de, pt, it, ja, hi...). Blank: no dubbing.
youtube_cookies
string
Netscape cookies.txt CONTENT of a YouTube account, for videos YouTube refuses to anonymous datacenter IPs (bot check, age gate).
proxy_url
string
HTTP(S)/SOCKS proxy for the download, e.g. http://user:pass@host:port (residential proxies avoid YouTube's bot check). Comma-separate several to rotate.
num_clips
integer
0

Max: 15

Target number of clips (0 = let the model decide from the length).
min_clip_seconds
number
0

Max: 175

Shortest clip, seconds (0 = pipeline default, 15).
max_clip_seconds
number
0

Max: 180

Longest clip, seconds (0 = pipeline default, 60).
aspect_ratio
None
vertical
Output frame: vertical 9:16, square 1:1, or keep horizontal 16:9.
layout
None
default
default: one tracked crop. auto: Gemini picks per video. split: two speakers stacked. screencast: screen over speaker. speaker_cut: hard cuts to whoever talks.
punch_in
boolean
False
Small zoom pushes on the clip's beats.
captions
boolean
True
Captions layer on (in the edit layer, and burned when `burn_in`).
hook
boolean
True
Hook text layer on (in the edit layer, and burned when `burn_in`).
hook_style
None
pill
Hook overlay style.
burn_in
boolean
True
Also render publish-ready clips with captions/hook burned in. Off: only the clean clips + edit layers (faster), for apps that edit and export in the browser.
start_seconds
number
0
Only use the source from this second on.
max_source_minutes
number
0
Only use this many minutes of the source. 0 = all of it, up to 240 min on the GPU model and 60 on the CPU model (what fits in Replicate's 30-minute prediction limit). Caps cost and runtime.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}