AI video generation has come a long way, with new models like Google's Veo showing just how far the technology has advanced. These models make it possible to create short, high-quality videos using detailed prompts.

In this tutorial, you will learn how to create an image-to-video creator app using Next.js and Eachlabs. The app allows users to upload an image and enter a prompt that applies effects to the video. You will also learn how to access various AI models and integrate them easily into your applications using Eachlabs.

What is Eachlabs?

Eachlabs is a software infrastructure that allows you to access multiple public AI models, create workflows using these models, and deploy or integrate these workflows into your software applications.

With Eachlabs you can do the following:

Screenshot 2025-06-02 at 19.11.11.png

Prerequisites

Eachlabs offers multiple client SDKs that support popular programming languages like Go, Python, and Node.js, making it easy to integrate AI models into your applications. It also provides various API endpoints enabling you to perform all the available operations.

In this tutorial, you will temporarily store uploaded images in Firebase and delete the image immediately after converting it to a video. You will also interact with Eachlabs by making direct HTTP requests to its API endpoints.

To get started, create a new Next.js application by running the following command:

npx create-next-app ai-video-creator

Install the Firebase JavaScript SDK — a Backend-as-a-Service platform that lets you upload images to cloud storage and retrieve their hosted URLs. Firebase also offers other features like authentication, database storage, real-time data syncing, and more.

npm install firebase

Open the Firebase Console in your browser and create a new Firebase project.