Video Generation
Drafting Videos
1. Draft a Video
import { ShortGenius } from 'shortgenius'
const client = new ShortGenius({
bearerAuth: 'YOUR_API_TOKEN'
})
const draft = await client.draftVideo({
topic: 'Benefits of Drinking Water',
duration: '120',
locale: 'en-US'
})
console.log(draft)from shortgenius import Shortgenius
client = Shortgenius(api_key="YOUR_API_TOKEN")
# Generate video topics first
topics = client.videos.generate_topics(
parent_topic="health and wellness",
locale="en-US",
number_of_topics=3
)
# Use the first topic for our example
topic = topics[0] if topics else "Benefits of Drinking Water"
print(draft)Field
Type
Required
Description
2. Draft a Video from a URL
3. Draft a Video from an Existing Script
4. Draft a Quiz Video
5. Draft a News Video
Creating the Final Video
Field
Required
Description
Listing & Retrieving Videos
List Videos
Query Param
Default
Description
Retrieve a Single Video
Generating Bulk Video Topics
Series (Batch or Ongoing Video Production)
Create a Video Series
List All Series
Retrieve a Single Series
Next Steps
Last updated