Menu

Mix Images and Videos: Introducing Video Support in Our JSON Video API

Feb 25, 2025 By samautomation
Mix Images and Videos: Introducing Video Support in Our JSON Video API

Mix Images and Videos: Introducing Video Support in Our JSON Video API

Great news for content creators! Our JSON Video API just got a major upgrade that will transform your content creation workflow.

You can now mix both images and videos in your projects, opening up endless creative possibilities.

🎬 The Power of Video + Images

Until now, our API allowed you to create dynamic slideshows with images, text overlays, and audio. While this was already powerful, we knew you wanted more. Today, we're thrilled to announce full support for video files in your media list!

Before

  • Static images only
  • Text overlays
  • Audio tracks

Now

  • Static images
  • Dynamic video clips
  • Text overlays
  • Audio tracks
  • Special video effects

Imagine creating content that seamlessly blends: - Static images for key points - Short video clips for demonstrations - Dynamic text overlays synchronized with your voiceover - Professional background music

All of this is now possible with a simple API call.

How It Works: Simple as Child's Play

We've designed this feature to be incredibly easy to use. If you already know how to use our API with images, you already know how to use it with videos!

Here's all you need to do:

  1. Add a video to your media list with type: "video"
  2. Provide the video URL
  3. That's it! We'll handle the rest
{
  "type": "ImageVideo",
  "data": {
    "settings": {
      "aspect_ratio": "9:16"
    },
    "media_list": [
      {
        "type": "image",
        "url": "https://example.com/my_picture.jpg"
      },
      {
        "type": "video",
        "url": "https://example.com/my_video.mp4"
      }
    ]
  }
}

✨ Special Magic: The Last Frame Freeze

Pro Feature Alert!

When you place a video as the last item in your media list, we automatically freeze the last frame for an additional 2 seconds!

This gives your viewers time to absorb the final message and creates a more polished, professional ending to your content. It's like adding a "The End" card, but using the last frame of your video instead.

Smart Duration Handling

One of the challenges with mixing images and videos is managing duration. We've solved this for you:

Media Type Duration Behavior Notes
Images 5-6 seconds Default duration for all images
Videos Original duration Plays for exactly how long the video is
Last Video Original + 2 seconds Extra time with frozen last frame

You don't need to calculate or specify durations manually - our system handles it all intelligently!

Tips for Creating Amazing Mixed Media Content

Keep videos short

5-15 seconds is ideal for most social media content

Match visual styles

Ensure your images and videos have consistent colors and themes

Place important videos last

Take advantage of the 2-second freeze frame for key messages

Use videos without sound

We'll add your voiceover and background music automatically

Real-World Use Cases

This new feature opens up exciting possibilities:

Product demonstrations

Show static product images followed by videos of the product in action

Tutorials

Mix step-by-step image instructions with video demonstrations of complex steps

Social media content

Create engaging stories that combine still moments with motion

Educational content

Use images for concepts and videos for examples

Getting Started Today

Ready to try it out?

Head over to our documentation for detailed instructions and examples.

View Documentation

Example Video in Action

Check out this example video created using our new feature. It demonstrates how you can effortlessly combine images and videos in one project, taking your content to the next level.

We can’t wait to see what you create with this powerful new feature! Share your creations with us on social media using #JSONVideoAPI.


Have questions about the new video support? Drop them in the comments below or reach out to our support team.

Happy creating!

We can't wait to see what you create with this powerful new feature! Share your creations with us on social media using #samautomation.


Have questions about the new video support? Drop them in the comments below or reach out to our support team.

Happy creating!