تولید محتوا

POST /generation/create-video

Changed on

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

Request

  • Base URL
    https://api.radinai.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.radinai.com/generation/create-video
  • Auth
    API key in header x-api-key

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
OR
OR
OR

Example request

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

Response

Response for status 200

genIdstring required

Changes

    • info

      the / request property's maxLength was increased from 5000 to 15000

    • info

      added subschema #1: کلینگ 4 اومنی subschema #2: کلینگ 4 (keyframes) to the request body oneOf list