https://github.com/diffusionstudio/examples
Programmatic video editing examples.
https://github.com/diffusionstudio/examples
Last synced: 2 months ago
JSON representation
Programmatic video editing examples.
- Host: GitHub
- URL: https://github.com/diffusionstudio/examples
- Owner: diffusionstudio
- License: mit
- Created: 2024-09-03T09:56:08.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-18T09:47:55.000Z (3 months ago)
- Last Synced: 2025-05-07T01:08:44.399Z (2 months ago)
- Language: TypeScript
- Homepage: https://examples.diffusion.studio
- Size: 34.1 MB
- Stars: 10
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Diffusion Studio
# Diffusion Studio Examples
This repository contains example projects built using [Diffusion Studio](https://github.com/diffusionstudio/core). 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:
```sh
cd simple
```Install the required dependencies:
```sh
npm install
```Next, start the development server:
```sh
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:
```typescript
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.