Skip to content

diffusionstudio/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Library Icon

Diffusion Studio

Static Badge powered by vite discord Static Badge


Diffusion Studio Examples

This repository contains example projects built using Diffusion Studio. This is an ideal starting point for exploring Diffusion Studio, if you prefer learning from code examples rather than detailed documentation.

/simple

This project is powered by Vite (vanilla TypeScript). To begin, navigate to the project directory:

cd simple

Install the required dependencies:

npm install

Next, start the development server:

npm run dev

You can now open http://localhost:5173/ in your browser (preferably Chromium-based).

In the /src/compositions directory, you will find an example script that you can modify. You can comfortably load assets by placing them in the /public directory. For instance:

const video = await VideoSource.from('/drone_footage_1080p_25fps.mp4');

Since Vite supports hot module reloading, your composition will automatically update as you save your changes.

About

Programmatic video editing examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published