konstantinpaulus's banner
konstantinpaulus's profile picture

konstantinpaulus

@konstipaulus • 8,340 subscribers

Co-founder & CEO @diffusionhq (YC F24) | GitHub: k9p5

Shorts

Introducing text-to-lottie: an open source skill and harness for generating production ready Lottie animations with codex/claude code. $ npx skills add diffusionstudio/lottie Prompts guide and repo in the comments.

Introducing text-to-lottie: an open source skill and harness for generating production ready Lottie animations with codex/claude code. $ npx skills add diffusionstudio/lottie Prompts guide and repo in the comments.

883,456 просмотров

Put text behind anything, for free. We just launched professional AI object masking in Diffusion Studio. Powered by Meta's SAM 2.1. All running locally on WebGPU. Try it now →

Put text behind anything, for free. We just launched professional AI object masking in Diffusion Studio. Powered by Meta's SAM 2.1. All running locally on WebGPU. Try it now →

18,040 просмотров

My bet: >50% of AI generated videos will be rendered from code. Cheaper to iterate. Deterministic renders. Every detail editable. Made this Leica M6 blueprint with GPT-6 Astra in Diffusion Studio.

My bet: >50% of AI generated videos will be rendered from code. Cheaper to iterate. Deterministic renders. Every detail editable. Made this Leica M6 blueprint with GPT-6 Astra in Diffusion Studio.

21,342 просмотров

Everyone’s doing this trendy hero effect with a plain <video> tag. I tried it with WebCodecs for extra performance. Repo + tutorial below

Everyone’s doing this trendy hero effect with a plain <video> tag. I tried it with WebCodecs for extra performance. Repo + tutorial below

101,394 просмотров

I'm having too much fun with William Candillon's Redraw. I added two things to get it running smoothly in Diffusion Studio: - Custom babel.config.js support - A useResolution hook for clean renders at any resolution available now in v0.204.0

I'm having too much fun with William Candillon's Redraw. I added two things to get it running smoothly in Diffusion Studio: - Custom babel.config.js support - A useResolution hook for clean renders at any resolution available now in v0.204.0

13,778 просмотров

I finally landed on a memory-optimal way to render audio waveforms in the browser. The full audio is decoded once, then chunked into 2s bins. Each bin stores peaks at 800 peaks/sec in a Uint8Array. Bins are persisted individually in IndexedDB, which keeps the data as raw Uint8 arrays and is faster to read than OPFS. Local or session storage wouldn’t work here. A 2h video ends up as ~5.76 MB cached on disk. While scrolling or zooming the timeline, I load only the visible bins and downsample them to the required resolution. Everything runs async and I never keep more than a single bin in memory at once, ~800 bytes. Rendering supports mixed resolutions in the same pass since bins arrive async. By caching a read index and sorting bins ascending, each peak lookup stays O(1). On refresh, I wipe the IndexedDB so cache size never gets out of hand.

I finally landed on a memory-optimal way to render audio waveforms in the browser. The full audio is decoded once, then chunked into 2s bins. Each bin stores peaks at 800 peaks/sec in a Uint8Array. Bins are persisted individually in IndexedDB, which keeps the data as raw Uint8 arrays and is faster to read than OPFS. Local or session storage wouldn’t work here. A 2h video ends up as ~5.76 MB cached on disk. While scrolling or zooming the timeline, I load only the visible bins and downsample them to the required resolution. Everything runs async and I never keep more than a single bin in memory at once, ~800 bytes. Rendering supports mixed resolutions in the same pass since bins arrive async. By caching a read index and sorting bins ascending, each peak lookup stays O(1). On refresh, I wipe the IndexedDB so cache size never gets out of hand.

32,463 просмотров

Created this motion graphic for Preview‘s $12M round using Diffusion Studio + Fable 5. Congrats to stefo and the whole team! 🚀

Created this motion graphic for Preview‘s $12M round using Diffusion Studio + Fable 5. Congrats to stefo and the whole team! 🚀

10,317 просмотров

Videos

Больше нет контента для загрузки