🥞
Glif Docs/Guide
  • Getting Started
    • 👋What is Glif?
    • 💡What can I do with a glif?
      • 🏃Run a glif
      • 🔌Build a glif
      • 🔀Remix a glif
      • 🗣️Comment on a glif
      • 🔳Embed a glif
    • ⚒️How do I build a glif?
      • 📽️Video tutorial: Building a simple image generator
      • 🟰Using variables
    • ⚙️Profile Settings
    • 🪙Credits and Payments
    • ❓FAQs
  • Blocks
    • 🙋Inputs
      • ✍️Text Input Block
      • 🖼️Image Input Block
      • 📋Multipick Block
    • 🪄Generators
      • 📃Text Block
      • 🖼️Image Block
      • ➡️Image to Text Block
        • Florence2Sam2Segmenter
    • 🧰Tools
      • 🔀Text Combiner Block
      • 🔬JSON Extractor Block
      • 📹VideoKit Tools
    • 💅Styling
      • 🎨HTML Block
      • 🖼️Canvas Block
    • 🧑‍🔬Advanced/Experimental
      • 🎙️Audio Input Block
      • ↔️Glif Block
      • 🌐Web Fetcher Block
      • 🔊Audio Spell
      • 🧱ComfyUI Block
      • 📡Audio to Text Block
      • 🎥Video Input Block
      • 🔧JSON Repair Block
  • Apps
    • 🎨Glif It! Browser Extension
  • Glif University
    • 🎥Video Tutorials
      • 🐲How To: D&D Character Sheet Generator
      • 🧠How To: Expanding Brain Meme Generator
      • 🦑How To: Occult Memelord Generator
      • 🥸How To: InstantID Portrait Restyle Glif
      • 🕺How To: Style and Pose a Character with InstantID + Controlnet
      • 😱How To: Create a Simple Cartoon Portrait Animation Glif (LivePortrait + Custom Blocks)
      • 👗How to Create a Clothing Restyler App (IP Adapter, ControlNet + GPT Vision)
      • 🤡How to Create a 4+ Panel Storyboard/Comic (Flux Schnell)
      • 🎂How to Create a Recipe Generator with Accompanying Pictures
      • How to Use JasperAI Depth Controlnet on Flux Dev
      • 🦸‍♂️How to Make a Consistent Comic Panel Generator
    • 🧑‍🏫Prompt Engineering 101
    • 🖼️ControlNet
    • 📚AI Glossary
  • API - for Developers
    • ⚡Running glifs via the API
    • 🤖Using AI Assistants to build with the Glif API
    • 📙Reading & writing data via the API
    • 🗾Glif Graph JSON Schema
    • 📫Embed player & custom webpages
    • 📫Sample code
    • ❓What can I make with the Glif API?
      • Browser Extensions
      • Discord Bots
      • Games
      • Social Media Bots
      • Experimental Projects
  • Policies
    • 👨‍👩‍👧‍👦Community Guidelines
  • Programs
    • 🖼️Loradex Trainer Program
  • Community Resources
    • 🧑‍🤝‍🧑Resources Created by Glif Community Members
  • Contact Us
    • 📣Send us your feedback
    • 🚔Information for law enforcement
Powered by GitBook
On this page
  • Introducing VideoKit!
  • Below are some prebuilt glifs, ranging from high-level to low-level functions respectively.
  • High-level glifs
  • 🎬 Create captioned tiktok video (single)
  • What it does:
  • 🎬 Create tiktok video (split screen)
  • What it does:
  • 🎬 Create tiktok video (fast)
  • What it does:
  • Medium-level tools
  • 🎬 Create video from asset links
  • Low-level Tools
  • 🎬 Analyze media asset
  • What it does
  • 🎬 Create Speech Audio
  • 🎬 Put text on image
  • What it does
  • 🎬 Combine videos
  • 🎬 Display video from url
  1. Blocks
  2. Tools

VideoKit Tools

The Videokit is a collection of glifs that allow you to create and edit different kinds of videos.

PreviousJSON Extractor BlockNextStyling

Last updated 1 day ago

Introducing VideoKit!

This collection of glifs were designed to power-up your ability to create short-form video.

Below you will find workflows that are ready for Glifchat use. This means that the glifs already have custom instructions embedded so that your bot knows how to use them as skills and create videos end-to-end.

NOTE: You need to use .webm files if you want to use your own videos!

Below are some prebuilt glifs, ranging from high-level to low-level functions respectively.

High-level glifs

What it does:

Creates a TikTok video given a video url and a voice url. Text will be overlayed on top of the video at the selected location (top, center, bottom). If the video is shorter than the voice clip, then the video will loop. If the video is longer than the voice clip, then it will shorten the video length to match.

Make sure to use .webm videos!

video_url: url to the video
voice_url: url to the voice that will be transcribed
text_position: where to put the text

What it does:

Creates a tiktok video given a video url, a voice url and an extra video url to put below the first video. Text will be shown on top of the video at the selected location (top, center, or bottom). If the video is shorter than the voice clip, then the video will loop. If the video is longer than the voice clip, then it will shorten the video length to match.

video_url: url to the video
voice_url: url to the voice that will be transcribed
text_position: where to put the text
bottom_video_url: url to the video to show at the bottom

What it does:

The video is trimmed to the length of the audio!

image_urls: list of image urls
voice_url: url to the voice that will be transcribed
song_url: optional background music url
text_position: where to put the text

Medium-level tools

Create a video from a combination of images, videos and/or audio. Updates the chat artifact with a video object. Clip AND loop options are mutually exclusive. Stay around 480p or less. Animate gifs need to be added to video urls, not image urls. Bools should be "true" or "false".

image_duration: duration of each image in seconds
image_urls: list of image urls
video_urls: list of video urls
audio_url: url to the voice that will be transcribed
height: height of the video
width: width of the video
clip_length_to_audio: clip video to audio
clip_length_to_video: clip audio to video
loop_audio: loop audio until length of video
loop_video: loop video until length of audio

Low-level Tools

What it does

Gives detailed information about a media asset.

asset_url: url to image, video or audio

Creates an audio clip from a text. Returns a url to audio clip.

text: text to be transcribed

Uses speech-kokoro with Adam - American Male as the text to speech method. It returns a url to the generated mp3 file.

Example: Reddit story Voice Over:

  • You can use the Webfetcher block to get some spicy drama from Reddit.

  • Then, use a LLM generate a script based on this drama.

  • Passed the Script into this Speech from Text Audio Tool to create a voice over.

And then, if you want to take it a step further, combine it with the new video tools to make an automated tiktok generator!

What it does

This tool puts custom text on top of an image. Supply image url, and text!

Combine two videos either horizontally or vertically.

video_1_url: url to left/up video
video_2_url: url to right/bottom video
use_audio_from_first_video: use audio for first or not
layout: horizontal or vertical
loop_to_longest: loop to the longest video
height: final height
width: final width
fit_mode: pad or cover

This tool will put a video html object as an artifact.

This tool is for use in Glifchat!

video_url: url to video to show

Under the hood, the glifs are communicating with a custom backend. At the moment, you need a special API key in order to run the functions. If you're still curious about all of the capabilities, you can check the swagger docs .

Create captioned tiktok video (single)

In this demo, I am using output and a .webm video that I have stored in the Glif!

Create tiktok video (split screen)

Create tiktok video (fast)

Creates a tiktok video given image urls and and a voice url. Captions will be overlayed on top of the images at the selected location (center, top, bottom). You do not need to worry about setting the duration of the images for the video to match the audio length, we do that all magically for you OPTIONAL: You can also overlay audio by passing a audio file mp4!

Create video from asset links

Analyze media asset

Example: We pass the follow mp3 audio: Output: {"asset_url_or_path":"https://res.cloudinary.com/dkpfhyd71-comfy/video/upload/v1747423113/glif_worker_general/2c3e4cdf-f066-48ba-aa18-d54915a6d1b5.mp3","format":"mp3","size":87597,"type":"audio","duration":5.448,"bit_rate":128629,"audio_codec":"mp3","sample_rate":24000,"channels":1,"channel_layout":"mono","audio_bit_rate":128000}

Create Speech Audio

Put text on image

This tool is incredible for making TikTok slideshows. See it in use here:

Combine videos

Display video from url

🧰
📹
🎉
here
🎬
Kokoro TTS
Video Host Pro
🎬
🎬
🎬
🎬
https://res.cloudinary.com/dkpfhyd71-comfy/video/upload/v1747423113/glif_worker_general/2c3e4cdf-f066-48ba-aa18-d54915a6d1b5.mp3
🎬
Try the Glif!
🎬
https://glif.app/chat/b/horror-tok
🎬
🎬
glif - 🎬 videokit - create tiktok video (single) by dham
glif - 🎬 videokit - create_tiktok_video_split by dham
Logo
Logo
glif - 🎬 videokit - create_tiktok_video_fast by dham
Logo
glif - 🎬 videokit - create video from asset links by dham
Logo
glif - 🎬 analyze media asset by dham
Logo
glif - 🎬 videokit - create speech audio from text by dham
Logo
glif - tiktok caption maker by AP
Logo
glif - 🎬 combine videos by dham
Logo
glif - 🎬 videokit - display video from url by dham
Logo
VideoKit!
Reddit Script Creator + Reader