Video to Video
How to edit videos using the OneRouter API
curl https://video.onerouter.pro/v1/videos/edits \
-H "Content-Type: application/json" \
-H "Authorization: <API_KEY>" \
-d '{
"model": "sora-2-video-to-video",
"video_id": "video_68fc872dba248190875ba0c177c7b0cf0974c02d85a9c020",
"prompt": "Change the fur color to purple.",
"output_format": "url"
}'https://image.onerouter.pro/v1/images/editsis the base URL<API_KEY>is your API Key generated in API page.modelis the model name, such assora-2-pro-image-to-video, available model list can be access in Model page.video_idis from a previous video generation. Note: You can only remix videos that were generated by the same video model (via text-to-video or image-to-video endpoints), not arbitrary uploaded videos.promptdirects the remix generation.output_formatindicate the output format, default value isurl
You can find more models and their descriptions in the Model page.
Example response
Last updated