Rocketium Video API

Rocketium Video API

Video

Rocketium Video API allows you to create Buzzfeed-like videos programmatically. Make creatives automatically with APIs Rocketium is an enterprise-grade solution for producing thousands of personalized, dynamic video and image content quickly.

Visit API

📚 Documentation & Examples

Everything you need to integrate with Rocketium Video API

🚀 Quick Start Examples

Rocketium Video API Javascript Examplejavascript
// Rocketium Video API API Example
const response = await fetch('https://rocketium.com/api', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Exploring Rocketium API

Rocketium offers a powerful RESTful API that makes it easy to add video and image editing functionality to your application. The API supports various functionalities like creating and rendering videos, adding text overlays, generating memes, etc.

Authentication

Rocketium's API requires an access token to authorize access to your account. You can obtain the token from the dashboard.

const api_key = 'your_api_key';

Creating a Video

To create a video, you need to first make a POST request to the /videos endpoint with a JSON payload containing the video details.

const postData = {
    title: "My Rocketium Video",
    storyboard_id: 12345,
    export_quality: "720p",
    fps: 30,
    custom_data: {
        my_data: "123"
    }
};

const options = {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'Authorization': `Bearer ${api_key}`
    },
    body: JSON.stringify(postData)
};

const response = await fetch('https://api.rocketium.com/v1/videos', options);
const video = await response.json();

Adding Text Overlay

You can add text overlays to your videos using the /videos/<video_id>/overlays endpoint.

const postData = {
    text: "Hello World",
    font_type: "Arial",
    font_size: 36,
    horizontal_alignment: "center",
    vertical_alignment: "middle",
    color: "#FFFFFF",
    background_color: "#000000",
    start_time: "00:00:00.00",
    end_time: "00:00:10.00"
};

const options = {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'Authorization': `Bearer ${api_key}`
    },
    body: JSON.stringify(postData)
};

const response = await fetch(`https://api.rocketium.com/v1/videos/${video.id}/overlays`, options);
const overlay = await response.json();

Generating a Meme

You can use Rocketium's meme API to generate memes containing custom text.

const postData = {
    template_id: 123,
    top_text: "First World Problems",
    bottom_text: "My coffee is too hot",
    font: "Arial",
    font_size: 24,
    background_color: "#FFFFFF",
    font_color: "#000000"
};

const options = {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json',
        'Authorization': `Bearer ${api_key}`
    },
    body: JSON.stringify(postData)
};

const response = await fetch(`https://api.rocketium.com/v1/memes`, options);
const meme = await response.json();

Conclusion

Rocketium's API offers a variety of useful functionalities that can enhance your application's video and image editing capabilities. The examples provided above only scratch the surface of what's possible with this powerful API. To learn more, check out the official Rocketium API documentation at https://rocketium.com/api.

📊 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jul 27Jul 29Jul 31Aug 2Aug 4Aug 6Aug 8Aug 10Aug 12Aug 14Aug 16Aug 18Aug 20Aug 22Aug 2504008001440Minutes
Online
Offline

Related APIs in Video