Generate a clip
Send a request from your server with a Reactor API key inREACTOR_API_KEY.
id and poll for the result.
The quickstart shows how to poll and download the finished video.
Inputs
Put these fields inside theinput object.
Reference files and frames
Upload each file before passing itsfile_id. In the
prompt, refer to files by their order in each list, such as image 1, audio 1, and video 1.
- Use reference files to guide the clip, or use either or both frame fields to set exact frames. Use the same image in both frame fields to end where the clip started.
- A single video can guide both motion and sound. Put its ID in both
reference_videosandreference_audiosto use its soundtrack. Image IDs can only be used as images.
A file the model cannot use fails the generation with
step_failed. Check the error message
for the file and reason.
Output
A successful generation returns download URLs infiles. output.mp4 contains the finished
clip with sound. The other files are last_frame.png, clip.json, and result.json.
If you cancel the generation after the model
accepts the clip, it can still finish and be billed.