Skip to main content

Prompt to Video

Let's say you have a great idea for a video, but you don't know how to write a script. We can help you write the script for you.

How it works​

Our prompt will be "Video marketing for startups" and we'll ask Video API to write a short script for us. There are three different lengths of script you can choose from:

  • Short: Less than 60 seconds, ideal for YouTube shorts, TikTok, and Instagram Reels
  • Medium: 2-3 minutes, great for social media posts
  • Long: 4+ minutes, great for YouTube videos
curl -X POST "https://ENDPOINT/v1/template/prompt?api_key=API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt": "Video marketing for startups", "length": "short", "draft": true}'

Here is the response we get back.

{
"video_id": "9zyqy7bSlO",
"title": "Crushing It with Bite-Sized Video Marketing: Tips for Startups",
"editor_url": "https://ENDPOINT/editor/9zyqy7bSlO",
"created": 1616425200000
}