Actions21
- Auto Caption Video Actions
- Create Video Actions
- Edit Video Actions
- File Actions
- HTML Video Actions
- Job Actions
- React Video Actions
- Template Actions
- Video Audio Actions
- Video Thumbnail Actions
React Video → Create React Video
AI-generatedSummary
Render a default-exported React/Remotion component as a video by submitting its source code and render settings to VideoApiHub. Choose the component props, dimensions, frame rate, duration, codec, and output format, then select how the completed result is delivered.
Inputs
- Component Code (required) — React/TSX source that exports a default component. The UI specifies a 120 KB maximum and permits only React and Remotion imports.
- Props (JSON) — JSON props passed to the component; defaults to an empty object.
- Width and Height — Video dimensions in pixels; each defaults to 1920×1080, with UI limits of 320–3840.
- FPS — Frames per second; defaults to 30, with a UI range of 1–120.
- Duration in Seconds — Video length; defaults to 20 seconds, with a UI range of 1–600. The node sends the duration as frames, calculated by multiplying it by FPS.
- Codec — Encoding codec: H.264 (default), H.265, ProRes, VP8, or VP9.
- Output Format — MP4 (default) or WebM.
- How to Get the Result — Choose file (default), public URL, temporary download link, or storage only. Storage only lets you access the video in the VideoApiHub dashboard or download it later using its output key.
- Link Expires After (Seconds) — For a temporary download link, sets its expiry; defaults to 3600 seconds, with a UI range of 60–86400.
- Custom Save Path — Optional storage path for the rendered video; leave blank to let the service generate one.
Output shape
One JSON item per input item containing the API response; the source does not show a binary download in this operation.
The operation sends a POST request to VideoApiHub's React video creation endpoint. It includes props only when the parsed props value is non-empty, and includes expiry only for a temporary download link. The exact response fields and whether the response represents a completed render or a submitted job are not specified in the provided source.