• Platform
    platform Platform
    AI Video Creation Platform Create powerful video workflows and applications using AI and programmatic video editing tools.
    setting Capabilities
    Bulk Video Editor Design video templates for bulk video generation.
    AI-Powered Video Generation Accelerate your video creation process with cutting-edge generative AI.
    Scaled Video Rendering Render thousands of videos in minutes with battle-tested, cloud-based video editing infrastructure.
    White-Label Video Editor Empower your customers with a fully-featured, white-label video editor seamlessly embedded within your application.
  • Solutions
    use case Use Cases
    Social Media Automation Automatically generate highlight reels from longer content like sports footage.
    Highlight Videos Automatically generate highlight reels from longer content like sports footage.
    Video Personalisation Personalise videos using merge fields.
    Embedded Video Editor Allow customers to edit and create videos directly within your platform.
    industry By Industry
    Real Estate Automate real estate listing videos.
    Automotive Automate car listing and walkaround videos.
    Sports Create highlight reels.
  • Developers
    developer API
    Documentation Get started with our developer docs.
    Github Access examples, demos and more.
  • Resources
    learn Learn
    Blog Guides and tutorials.
    Case Studies How Shotstack customers are benefiting from Shotstack.
    notification Get Started
    Dynamic Video Templates Seek inspiration and get started in minutes.
    connect Connect
    Support Get support using Shotstack.
    Talk to an Expert Let us show you how Shotstack works.
  • Demos
  • Pricing
  • Log In
  • Try for free

Bedtime TikTok Story

A professionally designed automotive template for your next video project.

  • Preview
  • JSON
{
"timeline": {
"background": "#000000",
"tracks": [
{
"clips": [
{
"asset": {
"type": "text",
"text": "{{ HEADLINE }}",
"alignment": {
"horizontal": "center",
"vertical": "center"
},
"font": {
"color": "#000000",
"family": "Montserrat ExtraBold",
"size": "60",
"lineHeight": 1
},
"width": 463,
"height": 200
},
"start": 0,
"length": "auto",
"offset": {
"x": 0,
"y": 0.309
},
"position": "center",
"fit": "none",
"scale": 1
}
]
},
{
"clips": [
{
"length": "auto",
"asset": {
"type": "image",
"src": "https://templates.shotstack.io/automated-tiktok-video-bedtime-story/38cdb829-ec24-489b-a495-d40048734205.png"
},
"start": 0,
"scale": 0.2,
"offset": {
"x": 0,
"y": 0.308
},
"position": "center"
}
]
},
{
"clips": [
{
"length": "end",
"asset": {
"type": "caption",
"src": "alias://VOICEOVER",
"background": {
"color": "#0091ff",
"padding": 25,
"borderRadius": 9
},
"font": {
"size": "32"
}
},
"start": 0
}
]
},
{
"clips": [
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_2_PROMPT }}"
},
"start": 4,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "zoomOut"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_4_PROMPT }}"
},
"start": 12,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "slideRight"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_6_PROMPT }}"
},
"start": 20,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "slideDown"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_8_PROMPT }}"
},
"start": 28,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "zoomOut"
},
{
"fit": "none",
"scale": 1,
"length": "end",
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_10_PROMPT }}"
},
"start": 36,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "slideRight"
}
]
},
{
"clips": [
{
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_1_PROMPT }}"
},
"start": 0,
"transition": {
"out": "fade"
},
"effect": "zoomIn",
"position": "center"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_3_PROMPT }}"
},
"start": 8,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "slideLeft",
"offset": {
"x": 0.021,
"y": 0
},
"position": "center"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_5_PROMPT }}"
},
"start": 16,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "slideUp"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_7_PROMPT }}"
},
"start": 24,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "zoomIn"
},
{
"fit": "none",
"scale": 1,
"length": 5,
"asset": {
"width": "768",
"height": "1280",
"type": "text-to-image",
"prompt": "{{ IMAGE_9_PROMPT }}"
},
"start": 32,
"transition": {
"out": "fade",
"in": "fade"
},
"effect": "slideLeft"
}
]
},
{
"clips": [
{
"length": "auto",
"asset": {
"voice": "Amy",
"text": "On a quiet night, little Luna lay in bed, staring at the starry sky from her window. One star, brighter than all the others, seemed to twinkle just for her. Suddenly, the star flickered and floated down, landing gently on her windowsill. \u201cCome with me,\u201d the star whispered, \u201cand I\u2019ll show you the world beyond the sky.\u201d Luna stepped onto the starlight path and felt herself gently lifted into the air. Higher and higher they flew, past the clouds and into the sparkling night. Soon, they reached a magical place where the stars danced and sang. \u201cYou see, every star has a song,\u201d the star explained, \u201cand they all come together to make the night beautiful.\u201d After a while, it was time for Luna to return. The star gently guided her back home. Luna slipped back into her bed, feeling warm and safe, as the star whispered, \u201cGoodnight, Luna.\u201d",
"type": "text-to-speech"
},
"start": 0,
"alias": "VOICEOVER"
}
]
}
]
},
"output": {
"format": "mp4",
"fps": 25,
"size": {
"width": 720,
"height": 1280
}
},
"merge": [
{
"find": "HEADLINE",
"replace": "Luna\u2019s Magical Night"
},
{
"find": "VOICEOVER",
"replace": "On a quiet night, little Luna lay in bed, staring at the starry sky from her window. One star, brighter than all the others, seemed to twinkle just for her. Suddenly, the star flickered and floated down, landing gently on her windowsill. \u201cCome with me,\u201d the star whispered, \u201cand I\u2019ll show you the world beyond the sky.\u201d Luna stepped onto the starlight path and felt herself gently lifted into the air. Higher and higher they flew, past the clouds and into the sparkling night. Soon, they reached a magical place where the stars danced and sang. \u201cYou see, every star has a song,\u201d the star explained, \u201cand they all come together to make the night beautiful.\u201d After a while, it was time for Luna to return. The star gently guided her back home. Luna slipped back into her bed, feeling warm and safe, as the star whispered, \u201cGoodnight, Luna.\u201d"
},
{
"find": "IMAGE_1_PROMPT",
"replace": "A drawing of a cozy bedroom with soft lighting, showing Luna, a young girl about 6 years old. Luna has shoulder-length, wavy dark brown hair, big curious green eyes, and a small button nose. She\u2019s wearing a soft white nightgown with light blue trim. Her skin is fair with a slight blush on her cheeks. She\u2019s tucked under a warm blanket, looking out the window. Outside her window, a clear night sky full of stars sparkles brightly. Luna\u2019s wide eyes are filled with wonder as she gazes at the stars, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_2_PROMPT",
"replace": "A drawing of a close-up of Luna\u2019s face, showing her big green eyes filled with amazement. Her shoulder-length, wavy dark brown hair frames her face. Luna\u2019s small button nose and fair skin with a soft blush on her cheeks give her a sense of childlike innocence. She\u2019s wearing a white nightgown with light blue trim. She is gazing out the window at a single star glowing brightly in the sky, casting a soft magical glow on her face. The star twinkles as if it\u2019s calling out to her, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_3_PROMPT",
"replace": "A drawing of a close-up of Luna\u2019s face, showing her big green eyes filled with amazement. Her shoulder-length, wavy dark brown hair frames her face. Luna\u2019s small button nose and fair skin with a soft blush on her cheeks give her a sense of childlike innocence. She\u2019s wearing a white nightgown with light blue trim. She is gazing out the window at a single star glowing brightly in the sky, casting a soft magical glow on her face. The star twinkles as if it\u2019s calling out to her, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_4_PROMPT",
"replace": "A drawing of Luna leaning forward from her bed, gazing in awe at the magical star outside her window. Her wavy dark brown hair falls just past her shoulders, and her wide green eyes are fixed on the star with curiosity and excitement. Luna is wearing a white nightgown with light blue trim. Her fair skin and slight blush give her an innocent look. The star forms a shimmering path leading into the sky, inviting her to follow, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_5_PROMPT",
"replace": "A drawing of Luna stepping out of her window onto a glowing, magical path of starlight. Her dark brown wavy hair is gently flowing in the breeze, her big green eyes wide with excitement. She\u2019s wearing a white nightgown with light blue trim, and her fair skin has a soft blush on her cheeks. Luna is floating just above the ground, looking joyful and free as she follows the magical star, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_6_PROMPT",
"replace": "A drawing of Luna flying high in the sky with the glowing star beside her. Her shoulder-length wavy dark brown hair flows behind her as she soars through the air. Her green eyes are wide with joy, and her white nightgown with light blue trim flutters gently in the breeze. Her fair skin has a healthy glow as she takes in the sight of fluffy clouds and the twinkling stars above, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_7_PROMPT",
"replace": "A drawing of Luna watching in awe as stars dance and sing in the sky. Her wavy dark brown hair frames her face, and her big green eyes are filled with wonder. She\u2019s wearing her soft white nightgown with light blue trim, and her cheeks have a gentle blush. She floats gently in the air, surrounded by magical starlight, as stars form constellations and patterns around her, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_8_PROMPT",
"replace": "A drawing of Luna in the sky, looking intently at the glowing star beside her. Her shoulder-length, wavy dark brown hair gently moves with the breeze. Her wide green eyes are focused, filled with curiosity and awe as she listens to the star explain the magic of the stars. Luna\u2019s white nightgown with light blue trim flutters slightly, and her fair skin glows softly in the starlight, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_9_PROMPT",
"replace": "A drawing of Luna floating down the starlight path back to her bedroom. Her dark brown wavy hair flows gently as she descends, her big green eyes looking peacefully ahead. She\u2019s wearing her soft white nightgown with light blue trim, and her fair skin still glows from the starlight. The magical star is guiding her home, with twinkling stars in the background, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
},
{
"find": "IMAGE_10_PROMPT",
"replace": "A drawing of Luna back in her bed, snuggled under her warm blanket. Her shoulder-length, wavy dark brown hair rests on her pillow, and her big green eyes are closed peacefully. She\u2019s wearing her soft white nightgown with light blue trim. The soft glow of the star fades into the night sky as Luna drifts off to sleep, her fair skin still glowing softly in the dim light, style of Maurice Sendak, inspired by Maurice Sendak, fairy tale illustrations, storybook illustration, inspired by Gustaf Tenggren, classic children\u2019s illustrations, whimsical creatures."
}
]
}

Create engaging TikTok videos with this automated template that combines historical facts with AI-generated images and voiceovers. This template allows you to easily generate videos by replacing its merge fields with fascinating insights, and accompany this with a voiceover and AI generated images. This template simplifies the process with AI-powered text-to-image and text-to-speech through Shotstack Workflows. Perfect for content creators looking to help with content creation.

Studio Templates

  • Edit using the Studio video editor
  • Personalise using merge fields
  • Generate 1000's of unique videos
  • Integrate in to a no-code workflow
  • Free to use, no credit card required
Customise Template

Media Details

TypeVideo
Resolution720 x 1280
FormatMP4
DurationVariable duration
Frame Rate25fps

Use this template as the starting point for your automated video editing project.

Customise

Open this template in the Shotstack Studio online video editor and customise it to your needs. Add and edit merge fields and placeholders to customise and automatically generate unique videos.

Automate

Use this template in a Shotstack Workflow, our no-code media automation tool, to generate videos automatically using AI to generate assets, and share the video online.

Integrate

Integrate this template in to your own application or workflow using the Shotstack Video Editing API. Work with the easy to use JSON editing schema or build with our SDKs.

Explore

You might also like these
templates

AI Avatar News Summary

AI Avatar News Summary

AI Historical Facts TikTok Video

AI Historical Facts TikTok Video

View All Templates
  • X
  • LinkedIn
  • GitHub
  • YouTube
PRODUCT
  • Video Editing API
  • All Features
  • All Solutions
  • Studio Video Editor
  • Media Generation Infrastructure
  • JSON Templates
  • Studio Templates
  • Workflow Templates
  • Workflow Modules
SDK'S
  • Node.js SDK
  • Python SDK
  • PHP SDK
  • Ruby SDK
  • White Label Video Editor SDK
SOLUTIONS
  • Startups
  • Agencies
  • Marketers
  • Product Managers
  • FFmpeg Alternative
  • Personalized Video Technology
  • Video Localization
  • JSON to Video
INDUSTRIES
  • Media & Entertainment
  • Real Estate
  • Automotive
  • Education
  • Health & Wellness
  • Sports
  • Travel
RESOURCES
  • Learn
  • Demos
  • Docs
  • API Reference
  • System Status
ABOUT
  • Our Story
  • Company Blog
  • Customers
  • Affiliate Program
  • Partner Program
  • Pricing
  • Security
  • Press
  • Shotstack Alternatives
DEMOS & TOOLS
  • Transcribe Video to Text
  • Video to MP3 Converter
  • Video Compressor
  • Video Trimmer
  • Watermark Video
  • Slideshow Video Maker
  • Automated Video Maker
  • Motivational Quote Image Maker
  • MP4 to MKV Converter
  • MP4 to MOV Converter
  • © 2025 Shotstack Pty Ltd
  • Terms & Conditions
  • Privacy Policy