Skip to main content
POST
/
gemini
/
video
/
generate
cURL
curl --request POST \
  --url https://api.waytoapi.com/apidoc/collect/ai/gemini/video/generate \
  --header 'Content-Type: application/json' \
  --header 'aiKey: <aikey>' \
  --data '
{
  "prompt": "<string>",
  "action": "<string>",
  "model": "<string>",
  "videoId": "<string>",
  "imageList": [
    "<string>"
  ],
  "aspectRatio": "<string>",
  "translation": true
}
'
{
  "code": 123,
  "info": "<string>",
  "result": {
    "taskCode": "<string>"
  },
  "success": true,
  "failure": true
}

Headers

aiKey
string
required

Body

application/json
prompt
string
action
string
model
string
videoId
string
imageList
string[]
aspectRatio
string
translation
boolean

Response

200 - */*

OK

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