GET

/v1/schemas/fal/video/fal-ai%2Fauto-caption

kind inputactivity videohash 7d46e574extracted Jul 6, 2026version currentsource upstream spec ↗

Request body

9 properties · 1 required · 0 $defs
propertytypedescriptionconstraints
video_url*stringURL to the .mp4 video with audio. Only videos of size <400MB are allowed.
left_alignstring | numberLeft-to-right alignment of the text. Can be a string ('left', 'center', 'right') or a float (0.0-1.0)default: "center"
top_alignstring | numberTop-to-bottom alignment of the text. Can be a string ('top', 'center', 'bottom') or a float (0.0-1.0)default: "center"
txt_fontstringFont for generated captions. Choose one in 'Arial','Standard','Garamond', 'Times New Roman','Georgia', or pass a url to a .ttf filedefault: "Standard"
refresh_intervalnumberNumber of seconds the captions should stay on screen. A higher number will also result in more text being displayed at once.0.5 ≤ n ≤ 3 · default: 1.5
stroke_widthintegerWidth of the text strokes in pixelsdefault: 1
font_sizeintegerSize of text in generated captions.default: 24
txt_colorstringColour of the text. Can be a RGB tuple, a color name, or an hexadecimal notation.default: "white"
text_caseenumCapitalization to apply to subtitle text. 'upper' converts text to UPPERCASE, 'lower' converts to lowercase, and 'default' preserves the original casing produced by the speech recognizer.default | upper | lower · default: "default"

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/auto-caption","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}