VideoGen API
Script to video
POST
/v1/script-to-videoFirst, generate the AI text-to-speech and corresponding background footage. Once the video is created, an apiFileId will be returned. You can then use this apiFileId with the GET /get-file endpoint to check the export status of the video. The export process typically takes about the same time as the video's duration.
Alternatively, you can provide a webhook URL to automatically receive the export status, eliminating the need to manually poll the /get-file endpoint.
Request
Request samples
Responses
Successfully initiated video generation(200)
Failed to initiate video generation(400)
Successfully initiated video generation
HTTP Code: 200
Content Type : JSONapplication/json
Last modified: 3 months ago