Generates a video script.

Supported Formats

json

Errors

Code Description
400 Param is missing or the value is empty: prompt
401 The Google reCAPTCHA v3 token is invalid
429 Daily limit exceeded
500 An error occurred requesting validation from Google reCAPTCHA v3

Examples

REQUEST
Accept: application/json
RESPONSE
200 (OK)
{
  "success": true,
  "message": "<Video Script>"
}

400 (Bad Request)
{
  "success": false,
  "error": "Param is missing or the value is empty: prompt"
}

401 (Unauthorized)
{
  "success": false,
  "error": "The Google reCAPTCHA v3 token is invalid"
}

429 (Too many requests)
{
  "success": false,
  "message": "Daily limit exceeded"
}

500 (Internal Server Error)
{
  "success": false,
  "error": "An error occurred requesting validation from Google reCAPTCHA v3"
}