Skip to main content
POST
/
sora
/
video
/
generate
cURL
curl --request POST \
  --url https://api.waytoapi.com/apidoc/collect/ai/sora/video/generate \
  --header 'Content-Type: application/json' \
  --header 'aiKey: <aikey>' \
  --data '
{
  "model": "<string>",
  "prompt": "<string>",
  "images": [
    "<string>"
  ],
  "orientation": "<string>",
  "size": "<string>",
  "duration": 123,
  "removeWatermark": true,
  "editId": "<string>"
}
'
{
  "code": 123,
  "info": "<string>",
  "result": {
    "taskCode": "<string>"
  },
  "success": true,
  "failure": true
}

Headers

aiKey
string
required

Body

application/json
model
string
prompt
string
images
string[]
orientation
string
size
string
duration
integer<int32>
removeWatermark
boolean
editId
string

Response

200 - */*

OK

code
integer<int32>
info
string
result
object
success
boolean
failure
boolean