create video generation task
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
model for video generation,default is sora-2
sora-2, sora-2-pro "sora-2"
prompt for video generation,max 5000 characters
5000"cat running on the road"
style id for video generation,default is anime
thxgiving, comic, news, selfie, vintage, anime "anime"
images for video generation, can be an array of URLs or empty,currently only support 1 image
orientation for video generation,default is landscape
landscape, portrait "landscape"
size for video generation,default is Small,if model is sora-2-pro,size can be Large
small, large "small"
duration for video generation,if model is sora-2,duration can be 10,15,if model is sora-2-pro,duration can be 10,15
10, 15 10
whether to remove watermark,default is false
true
video edit id, you can use this id to edit video, edit id is returned together with video url
"xxxxxxxxxxxxxxxxxxx"
Task created successfully
task id, used to get task result later