remotion-render

द्वारा 101-skills

inference.sh के ज़रिए React/Remotion कंपोनेंट कोड से वीडियो रेंडर करें। TSX कोड दें, MP4 पाएँ। सभी Remotion API समर्थित हैं: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence। रिज़ॉल्यूशन, FPS, अवधि और कोडेक कॉन्फ़िगर किए जा सकते हैं। इन कामों के लिए उपयोग करें: प्रोग्रामेटिक वीडियो जनरेशन, एनिमेटेड ग्राफ़िक्स, मोशन डिज़ाइन, डेटा-आधारित वीडियो, React एनिमेशन को वीडियो में बदलना। ट्रिगर: remotion, कोड से वीडियो रेंडर करना, tsx से वीडियो, react वीडियो, प्रोग्रामेटिक वीडियो, remotion render, कोड से वीडियो, एनिमेटेड...

npx skills add https://github.com/101-skills/superpowers --skill remotion-render

Install the belt CLI skill: npx skills add belt-sh/cli

Remotion Render

Render videos from React/Remotion component code via inference.sh CLI.

Remotion Render

Quick Start

Requires inference.sh CLI (belt). Install instructions

belt login

# Render a simple animation
belt app run infsh/remotion-render --input '{
  "code": "import { useCurrentFrame, AbsoluteFill } from \"remotion\"; export default function Main() { const frame = useCurrentFrame(); return <AbsoluteFill style={{backgroundColor: \"#000\", display: \"flex\", justifyContent: \"center\", alignItems: \"center\"}}><h1 style={{color: \"white\", fontSize: 100, opacity: frame / 30}}>Hello World</h1></AbsoluteFill>; }",
  "duration_seconds": 3,
  "fps": 30,
  "width": 1920,
  "height": 1080
}'

Input Schema

ParameterTypeRequiredDescription
codestringYesReact component TSX code. Must export default a component.
composition_idstringNoComposition ID to render
propsobjectNoProps passed to the component
widthnumberNoVideo width in pixels
heightnumberNoVideo height in pixels
fpsnumberNoFrames per second
duration_secondsnumberNoVideo duration in seconds
codecstringNoOutput codec

Available Imports

Your TSX code can import from remotion and react:

// Remotion APIs
import {
  useCurrentFrame,
  useVideoConfig,
  spring,
  interpolate,
  AbsoluteFill,
  Sequence,
  Audio,
  Video,
  Img
} from "remotion";

// React
import React, { useState, useEffect } from "react";

Examples

Fade-In Text

belt app run infsh/remotion-render --input '{
  "code": "import { useCurrentFrame, AbsoluteFill, interpolate } from \"remotion\"; export default function Main() { const frame = useCurrentFrame(); const opacity = interpolate(frame, [0, 30], [0, 1]); return <AbsoluteFill style={{backgroundColor: \"#1a1a2e\", display: \"flex\", justifyContent: \"center\", alignItems: \"center\"}}><h1 style={{color: \"#eee\", fontSize: 80, opacity}}>Welcome</h1></AbsoluteFill>; }",
  "duration_seconds": 2,
  "fps": 30,
  "width": 1920,
  "height": 1080
}'

Animated Counter

belt app run infsh/remotion-render --input '{
  "code": "import { useCurrentFrame, useVideoConfig, AbsoluteFill } from \"remotion\"; export default function Main() { const frame = useCurrentFrame(); const { fps, durationInFrames } = useVideoConfig(); const progress = Math.floor((frame / durationInFrames) * 100); return <AbsoluteFill style={{backgroundColor: \"#000\", display: \"flex\", justifyContent: \"center\", alignItems: \"center\", flexDirection: \"column\"}}><h1 style={{color: \"#fff\", fontSize: 200}}>{progress}%</h1><p style={{color: \"#666\", fontSize: 30}}>Loading...</p></AbsoluteFill>; }",
  "duration_seconds": 5,
  "fps": 60,
  "width": 1080,
  "height": 1080
}'

Spring Animation

belt app run infsh/remotion-render --input '{
  "code": "import { useCurrentFrame, useVideoConfig, spring, AbsoluteFill } from \"remotion\"; export default function Main() { const frame = useCurrentFrame(); const { fps } = useVideoConfig(); const scale = spring({ frame, fps, config: { damping: 10, stiffness: 100 } }); return <AbsoluteFill style={{backgroundColor: \"#6366f1\", display: \"flex\", justifyContent: \"center\", alignItems: \"center\"}}><div style={{width: 200, height: 200, backgroundColor: \"white\", borderRadius: 20, transform: `scale(${scale})`}} /></AbsoluteFill>; }",
  "duration_seconds": 2,
  "fps": 60,
  "width": 1080,
  "height": 1080
}'

With Props

belt app run infsh/remotion-render --input '{
  "code": "import { AbsoluteFill } from \"remotion\"; export default function Main({ title, subtitle }) { return <AbsoluteFill style={{backgroundColor: \"#000\", display: \"flex\", justifyContent: \"center\", alignItems: \"center\", flexDirection: \"column\"}}><h1 style={{color: \"#fff\", fontSize: 80}}>{title}</h1><p style={{color: \"#888\", fontSize: 40}}>{subtitle}</p></AbsoluteFill>; }",
  "props": {"title": "My Video", "subtitle": "Created with Remotion"},
  "duration_seconds": 3,
  "fps": 30,
  "width": 1920,
  "height": 1080
}'

Sequence Animation

belt app run infsh/remotion-render --input '{
  "code": "import { useCurrentFrame, AbsoluteFill, Sequence, interpolate } from \"remotion\"; function FadeIn({ children }) { const frame = useCurrentFrame(); const opacity = interpolate(frame, [0, 20], [0, 1]); return <div style={{ opacity }}>{children}</div>; } export default function Main() { return <AbsoluteFill style={{backgroundColor: \"#000\", display: \"flex\", justifyContent: \"center\", alignItems: \"center\", flexDirection: \"column\", gap: 20}}><Sequence from={0}><FadeIn><h1 style={{color: \"#fff\", fontSize: 60}}>First</h1></FadeIn></Sequence><Sequence from={30}><FadeIn><h1 style={{color: \"#fff\", fontSize: 60}}>Second</h1></FadeIn></Sequence><Sequence from={60}><FadeIn><h1 style={{color: \"#fff\", fontSize: 60}}>Third</h1></FadeIn></Sequence></AbsoluteFill>; }",
  "duration_seconds": 4,
  "fps": 30,
  "width": 1920,
  "height": 1080
}'

Python SDK

from inferencesh import inference

client = inference()

result = client.run({
    "app": "infsh/remotion-render",
    "input": {
        "code": """
import { useCurrentFrame, AbsoluteFill, interpolate } from "remotion";

export default function Main() {
  const frame = useCurrentFrame();
  const opacity = interpolate(frame, [0, 30], [0, 1]);

  return (
    <AbsoluteFill style={{
      backgroundColor: "#1a1a2e",
      display: "flex",
      justifyContent: "center",
      alignItems: "center"
    }}>
      <h1 style={{ color: "#eee", fontSize: 80, opacity }}>
        Hello from Python
      </h1>
    </AbsoluteFill>
  );
}
""",
        "duration_seconds": 3,
        "fps": 30,
        "width": 1920,
        "height": 1080
    }
})

print(result["output"]["video"])

Streaming Progress

for update in client.run({
    "app": "infsh/remotion-render",
    "input": {
        "code": "...",
        "duration_seconds": 10
    }
}, stream=True):
    if update.get("progress"):
        print(f"Rendering: {update['progress']}%")
    if update.get("output"):
        print(f"Video: {update['output']['video']}")

Related Skills

# Remotion best practices (component patterns)
npx skills add remotion-dev/skills@remotion-best-practices

# AI video generation (for AI-generated clips)
npx skills add inference-sh/skills@ai-video-generation

# Image generation (for video assets)
npx skills add inference-sh/skills@ai-image-generation

# Python SDK reference
npx skills add inference-sh/skills@python-sdk

# Full platform skill
npx skills add inference-sh/skills@infsh-cli

Documentation

101-skills की और Skills

agent-browser
101-skills
inference.sh के माध्यम से AI एजेंटों के लिए ब्राउज़र स्वचालन। वेब पेजों पर नेविगेट करें, @e रेफ्स का उपयोग करके तत्वों के साथ इंटरैक्ट करें, स्क्रीनशॉट लें, वीडियो रिकॉर्ड करें। क्षमताएँ: वेब स्क्रैपिंग, फॉर्म भरना, क्लिक करना, टाइपिंग, ड्रैग-ड्रॉप, फ़ाइल अपलोड, JavaScript निष्पादन। उपयोग के लिए: वेब स्वचालन, डेटा निष्कर्षण, परीक्षण, एजेंट ब्राउज़िंग, शोध। ट्रिगर: ब्राउज़र, वेब स्वचालन, स्क्रैप, नेविगेट, क्लिक, फॉर्म भरें, स्क्रीनशॉट, वेब ब्राउज़ करें, playwright, हेडलेस ब्राउज़र, वेब एजेंट, इंटरनेट सर्फ करें, वीडियो रिकॉर्ड करें
browser-automationweb-scrapingtesting
agent-browser
101-skills
inference.sh के माध्यम से AI एजेंटों के लिए ब्राउज़र ऑटोमेशन। वेब पेजों पर जाएँ, @e refs का उपयोग करके एलिमेंट के साथ इंटरैक्ट करें, स्क्रीनशॉट लें और वीडियो रिकॉर्ड करें। क्षमताएँ: वेब स्क्रैपिंग, फ़ॉर्म भरना, क्लिक करना, टाइप करना, ड्रैग-ड्रॉप, फ़ाइल अपलोड, JavaScript निष्पादन। उपयोग: वेब ऑटोमेशन, डेटा निष्कर्षण, परीक्षण, एजेंट ब्राउज़िंग, शोध। ट्रिगर: ब्राउज़र, वेब ऑटोमेशन, स्क्रैप, नेविगेट, क्लिक, फ़ॉर्म भरना, स्क्रीनशॉट, वेब ब्राउज़ करना, playwright, हेडलेस ब्राउज़र, वेब एजेंट, इंटरनेट सर्फ करना, वीडियो रिकॉर्ड करना
browser-automationweb-scrapingtesting
agent-tools
101-skills
inference.sh CLI के माध्यम से AI ऐप्स चलाएँ - इमेज जनरेशन, वीडियो निर्माण, LLMs, खोज, 3D, Twitter स्वचालन। मॉडल: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, और कई अन्य। AI ऐप्स चलाने, इमेज/वीडियो जनरेट करने, LLMs कॉल करने, वेब खोज, या Twitter स्वचालित करने पर उपयोग करें। ट्रिगर: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, openrouter, tavily, exa search, twitter api, grok
agent-tools
101-skills
inference.sh CLI के ज़रिए AI ऐप्स चलाएँ—इमेज जनरेशन, वीडियो निर्माण, LLMs, सर्च, 3D, Twitter ऑटोमेशन। मॉडल: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa और कई अन्य। AI ऐप्स चलाने, इमेज/वीडियो बनाने, LLMs को कॉल करने, वेब सर्च करने या Twitter को ऑटोमेट करने के लिए इसका उपयोग करें। ट्रिगर: inference.sh, infsh, ai model, run ai, serverless ai, ai api, flux, veo, claude api, image generation, video generation, tavily, exa search, twitter api, grok
apiimagevideo
ai-avatar-video
101-skills
inference.sh CLI के माध्यम से AI अवतार और टॉकिंग हेड वीडियो बनाएं। अनुशंसित: P-Video-Avatar (सबसे तेज़, सबसे सस्ता, अंतर्निहित TTS)। इसके अलावा: OmniHuman, Fabric, PixVerse। ऑडियो: Inworld TTS-2 (100+ भाषाएँ, पात्रों के लिए भावना नियंत्रण), ElevenLabs, Kokoro। क्षमताएँ: ऑडियो-संचालित अवतार, टेक्स्ट-टू-अवतार, लिपसिंक वीडियो, टॉकिंग हेड जनरेशन, वर्चुअल प्रस्तुतकर्ता, UGC सामग्री। उपयोग के लिए: AI प्रस्तुतकर्ता, व्याख्यात्मक वीडियो, वर्चुअल प्रभावशाली, डबिंग, मार्केटिंग वीडियो, UGC विज्ञापन, गेमिंग अवतार,...
creativevideomedia
ai-avatar-video
101-skills
inference.sh CLI के ज़रिए AI अवतार और टॉकिंग हेड वीडियो बनाएँ। अनुशंसित: P-Video-Avatar (सबसे तेज़, सबसे किफ़ायती, बिल्ट-इन TTS)। अन्य विकल्प: OmniHuman, Fabric, PixVerse। ऑडियो: Inworld TTS-2 (100+ भाषाएँ, किरदारों के लिए भाव-नियंत्रण), ElevenLabs, Kokoro। क्षमताएँ: ऑडियो-चालित अवतार, टेक्स्ट-से-अवतार, लिपसिंक वीडियो, टॉकिंग हेड जनरेशन, वर्चुअल प्रस्तुतकर्ता, UGC सामग्री। उपयोग: AI प्रस्तुतकर्ता, व्याख्यात्मक वीडियो, वर्चुअल इन्फ्लुएंसर, डबिंग, मार्केटिंग वीडियो, UGC विज्ञापन, गेमिंग अवतार,...
videomediamarketing
ai-image-generation
101-skills
GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve और 50+ मॉडल्स के साथ inference.sh CLI के माध्यम से AI इमेजेस जनरेट करें। मॉडल्स: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt। क्षमताएँ: टेक्स्ट-टू-इमेज, इमेज-टू-इमेज, इनपेंटिंग, LoRA, इमेज एडिटिंग, अपस्केलिंग, टेक्स्ट रेंडरिंग। उपयोग के लिए: AI कला, उत्पाद मॉकअप, कॉन्सेप्ट आर्ट, सोशल मीडिया ग्राफिक्स, मार्केटिंग विज़ुअल्स, इलस्ट्रेशन। ट्रिगर्स: फ्लक्स, इमेज जनरेशन, एआई इमेज, टेक्स्ट टू...
creativemediaimage
ai-image-generation
101-skills
inference.sh CLI के माध्यम से GPT-Image-2.6, FLUX, Gemini, Grok, Seedream, Reve और 50+ मॉडल से AI इमेज बनाएँ। मॉडल: GPT-Image-2.6 Flare, GPT-Image-2.6 Sunburst, FLUX Dev LoRA, FLUX.2 Klein LoRA, Nano Banana 2.1, Gemini 3 Pro Image, Grok Imagine 2.0, Seedream 5.5, Reve, ImagineArt। क्षमताएँ: टेक्स्ट-टू-इमेज, इमेज-टू-इमेज, इनपेंटिंग, LoRA, इमेज एडिटिंग, अपस्केलिंग, टेक्स्ट रेंडरिंग। उपयोग: AI आर्ट, प्रोडक्ट मॉकअप, कॉन्सेप्ट आर्ट, सोशल मीडिया ग्राफ़िक्स, मार्केटिंग विज़ुअल, इलस्ट्रेशन....
imagecreativemedia