3 ms·
Vargai/SDK – JSX for AI video, declarative programming language for Claude Code
- joshcsimmons 9mo agoLooks phenomenal - do any docs exist past the marketing page? or llms.txt?
- bykhun 9mo agothere's a skill https://github.com/vargHQ/skills/ https://github.com/vargHQ/skills/
- alex_varga 9mo agoYeah, check out the GitHub and skills for ai agents
- randoments 9mo agoI am impressed, i might give it a try. The prices for generation of images and videos scared me a little bit. I thought they were much cheaper
- kerisi 9mo agoMaybe I misunderstand the project but I feel it'd make sense to support some local inference, i.e using arbitrary ComfyUI workflows?
- randoments 9mo agoI dont think i am understanding your reply
- bykhun 9mo agoThis turns Claude Code into Sora lol It's similar to remotion.dev, but focuses on generative video. Uses declarative JSX to orchestrate AI calls, which makes it much more readable!
- annzrva 9mo agothis is super cool
- michail_bul 9mo agoim a product engineer. i dont like building endless workflows in comfy ui or weavy. i always wanted to do it with agent. This sdk helps.
- magistr4te 9mo agoslop
- hokkos 9mo agolooking at the code examples i don't see the point of JSX, seems to decrease type safety and typing completion
- deleted 9mo ago[deleted]
- migsvult 9mo agoThis is very cool. And very timely. Recently had a discussion on whether we wanted to build out a new video pipeline through weavy or something more declarative like this. Surprised that there don't seem to be many similar tools. I suppose most folks either use weavy or just chain API calls. JSX is an interesting choice too.
- taherchhabra 9mo agoI am building flickspeed.ai where you can build a pipeline in plain english. Let me know if you'd like to have a demo
- TOMDM 9mo agoWeight loss scams have been horrible for ages, but that AI generated weight loss product example is some truly dystopian stuff. We can build a better future with these tools, how about we build it instead of this garbage.
- shermantanktop 9mo agoNot sure if you are missing the point or hitting on the actual point. That is an example. Given the amount of AI-generated scam content exactly like that (and worse, have you seen the ED ones?) on the internet today, creating something in the same vein seems harmless. On the other hand, unleashing the ability to generate massive numbers of variations cheaply, and experimenting to find the optimal mixture of insecurity, fear and avarice to exploit....that's dystopian. But Madison Avenue actually got most of that figured out long ago.
- henning 9mo agoJSX is a convenient notation for structuring HTML that is created with React and similar frameworks. You are imposing a markup hierarchy on attributes that are not inherently hierarchical while giving examples of deceptive weight loss scam slop. In the past I would say you should be ashamed of yourself but now I don't bother.
- recursive 9mo ago> A 30-second video might take 3-5 min first render, 10 seconds cached. How could a cached video possibly take 10 seconds? I would expect, at most, that it would cost whatever is necessary to read it from disk.
- m_w_ 9mo agoIf you told me this was satire, I might respond that it's too on-the-nose. I really doubt that Spotify would be happy that their logo is front-and-center here.
- augusteo 9mo ago> I don't see the point of JSX, seems to decrease type safety JSX compiles to typed function calls. The type safety is in the component definitions, not the syntax. The real question is whether video composition is actually hierarchical enough to benefit from JSX. For simple clips, probably overkill. But once you're layering talking heads, captions, b-roll, and transitions, the tree structure starts making sense. The hardest part isn't the generation. It's the orchestration. Caching, retry logic, stitching outputs from multiple providers. A declarative layer that handles that automatically is genuinely useful.
- pedalpete 9mo agoI don't understand who this is for? How many software engineers are also cinematographers or directors? I know that AI will democratize these roles and everyone can be a director, but why does it make sense to use JSX as the means to do that? It would require people to learn a new skill. There must be a better abstraction for creating video that provides the granularity of providing direction to individual objects in a scene that doesn't require someone to understand JSX.
- TeMPOraL 9mo ago> I don't understand who this is for? I think the answer is in the tagline: AI Agent writes JSX, you get videos. Sounds like a decent approach for today. LLMs are overtrained on JSX (Claude in particular, due to Artifacts feature IIRC being originally based on React), which makes them particularly good at translating from natural language to JSX, and that in turns makes JSX a decent choice for a structured description format. JSX is just ugly Lisp anyway, so it's not half bad a choice for something that's structured, general-purpose, flexible and well-supported by tooling. In other words: [You]--natural language-->[LLM]--JSX-->[Vagrai]-->Video
- jgbuddy 9mo agoIt makes no sense to me to use something hierarchical like JSX for describing a time-series sequence like video