Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.79 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.79 KB

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.