Quickreels Docs

Get Started

Welcome to the QuickReels AI API documentation. This guide will help you get started with integrating our powerful video generation capabilities into your application.

Prerequisites

Before you begin, make sure you have:

  1. A QuickReels AI account, which you can create here
  2. An API key (you can generate one in your account)

Authentication

All API requests must be authenticated using your API key. Include it in the Authorization header of your HTTP requests:

Authorization: Bearer YOUR_API_KEY

Base URL

All API requests should be made to:

https://api-prod.quickreels.io

Creating Your First Video

Let's create a simple video using the QuickReels AI API:

const axios = require("axios");
const apiKey = "YOUR_API_KEY";
const baseUrl = "https://api-prod.quickreels.io";
 
async function createVideo() {
	try {
		const response = await axios.post(
			`${baseUrl}/videos/api`,
			{
				topic: "Introduction to AI",
				backgroundStyle: "modern",
				narrationVoiceId: "en-US-1",
				language: "en",
				duration: "60",
			},
			{
				headers: {
					Authorization: `Bearer ${apiKey}`,
					"Content-Type": "application/json",
				},
			}
		);
		console.log("Video creation initiated:", response.data);
		return response.data;
	} catch (error) {
		console.error("Error creating video:", error.response.data);
	}
}
 
createVideo();

This script will initiate the video creation process. The API will return a response with a videoId that you can use to check the status of your video.

Checking Video Status

After initiating video creation, you can check its status:

async function checkVideoStatus(videoId) {
	try {
		const response = await axios.get(
			`${baseUrl}/videos/api/${videoId}/status`,
			{
				headers: {
					Authorization: `Bearer ${apiKey}`,
				},
			}
		);
		console.log("Video status:", response.data);
		return response.data;
	} catch (error) {
		console.error("Error checking video status:", error.response.data);
	}
}

Next Steps

Now that you've created your first video, explore our API further:

  • Learn about different video customization options
  • Discover how to manage and organize your videos
  • Integrate social media posting capabilities

For more detailed information, check out our API Reference section.

Happy video creating with QuickReels AI!

On this page