تولید محتوا

ایجاد درخواست تولید ویدیو

post/generation/create-video

Query parameters

webhookUrlstring

Your Webhook URL, if specified, the result of the generation will be POSTed to this URL.

demoMode'failure' | 'success'

This parameter is used when the api key mode is 'development', default value is 'success'.

when set to 'failure', the dummy generation will be 'failed' after a few seconds, if set to 'success', the dummy generation will be 'completed' after a few seconds.

Request body

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "prompt": "<your-prompt>",
  "videos": [
    "video download URL - or file name obtained from /upload endpoint"
  ],
  "audios": [
    "audio download URL - or file name obtained from /upload endpoint"
  ],
  "images": [
    "image download URL - or file name obtained from /upload endpoint"
  ]
}

Response

Response for status 200

genIdstring required

Changes

No recorded changes to this endpoint across all 1 revision of this API.