Your video will appear here
9:16 · MP4
Generating your video…
Pick a platform, story type and narrator voice.
OpenAI drafts a 15-second voiceover script in the chosen tone.
Six matching image prompts feed Shotstack’s text-to-image clips.
One API call assembles voice, captions and visuals into a 9:16 MP4.
This open-source demo shows how to generate faceless short-form videos for TikTok, YouTube Shorts and Instagram Reels using AI. It combines OpenAI for script and image-prompt generation with the Shotstack video editing API for rendering captions, voiceover, AI-generated imagery and transitions into a single 9:16 MP4.
Pick a content style and the AI writes a 15-second voiceover script. Six matching image prompts are sent to Shotstack’s text-to-image clips, captions are auto-generated from the voiceover, and the final video is assembled in a single API call. The same workflow can be automated to publish directly to social platforms.
curl --request POST 'https://api.shotstack.io/v1/render' \
--header 'x-api-key: YOUR_API_KEY' \
--data-raw '{
"timeline": {
"tracks": [
{
"clips": [
{
"asset": {
"type": "video",
"src": "https://shotstack-assets.s3.amazonaws.com/footage/beach-overhead.mp4"
},
"start": 0,
"length": "auto"
}
]
}
]
},
"output": {
"format": "mp4",
"size": {
"width": 1280,
"height": 720
}
}
}'