Knowledgebase Knowledgebase

  • Home
  • Learnitive.com
Home / Endpoints / Video descriptions

Video descriptions

731 views Less than a minute 0

Create video descriptions for various platforms.

CURL

curl  -H 'content-type: application/json' 
      -H 'Accept: application/json' 
      -H 'api-key: your-key' 
      -X POST https://www.learnitive.com/api/v1/video-descriptions
      --data '{"input": "BMW car sell",
               "mode":"youtube",
               "keywords": ["electric"],
               "model":"balanced",
               "max_tokens":"256", 
               "temperature":".65" 
             }'

Example output.

{
  "success": true,
  "status": "success",
  "message": [{
        "index": 0,
        "text": "Welcome to our video about the BMW car sell! In this video, we will be exploring the latest electric...",
        "id":"b2f5ff95-46b2-4c92-8674-74aaa0c73839"
          }]
    
}

Parameter

  • input: string. The topic of the blog post.
  • max_tokens: integer. The maximum number of tokens to generate. Default: 256
  • keywords: array[string]. Keywords to use in the body.
  • mode: The platform, e.g. ‘youtube’ to generate a description. Allowed: “youtube”. Default: “youtube”.
  • model: The language model to use, “fast”, “balanced”, “strong” and “expart”. Defaul: “fast”.
  • temperature: number. The sampling temperature to be used in text generation. The higher the temperature, the higher the risk of the output to sound “made up”. Default: 0.65
APIEndpointvideo descriptions Endpoints

Social

Article Categories

Account API Billing Endpoints Getting Started Legal
@ Learnitive 2023