remotion-render

द्वारा skills-101

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

npx skills add https://github.com/skills-101/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

skills-101 की और Skills

agent-browser
skills-101
inference.sh के माध्यम से AI एजेंटों के लिए ब्राउज़र स्वचालन। वेब पेजों पर नेविगेट करें, @e रेफ्स का उपयोग करके तत्वों के साथ इंटरैक्ट करें, स्क्रीनशॉट लें, वीडियो रिकॉर्ड करें। क्षमताएँ: वेब स्क्रैपिंग, फॉर्म भरना, क्लिक करना, टाइपिंग, ड्रैग-ड्रॉप, फ़ाइल अपलोड, जावास्क्रिप्ट निष्पादन। उपयोग करें: वेब स्वचालन, डेटा निष्कर्षण, परीक्षण, एजेंट ब्राउज़िंग, अनुसंधान। ट्रिगर्स: ब्राउज़र, वेब स्वचालन, स्क्रैप, नेविगेट, क्लिक, फॉर्म भरें, स्क्रीनशॉट, वेब ब्राउज़ करें, प्लेराइट, हेडलेस ब्राउज़र, वेब एजेंट, इंटरनेट सर्फ करें, वीडियो रिकॉर्ड करें
agent-tools
skills-101
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
ai-avatar-video
skills-101
inference.sh CLI के माध्यम से AI अवतार और टॉकिंग हेड वीडियो बनाएं। अनुशंसित: P-Video-Avatar (सबसे तेज़, सबसे सस्ता, बिल्ट-इन TTS)। साथ ही: OmniHuman, Fabric, PixVerse। ऑडियो: Inworld TTS-2 (100+ भाषाएँ, पात्रों के लिए इमोशन स्टीयरिंग), ElevenLabs, Kokoro। क्षमताएँ: ऑडियो-संचालित अवतार, टेक्स्ट-टू-अवतार, लिपसिंक वीडियो, टॉकिंग हेड जनरेशन, वर्चुअल प्रेजेंटर, UGC कंटेंट। उपयोग के लिए: AI प्रेजेंटर, एक्सप्लेनर वीडियो, वर्चुअल इन्फ्लुएंसर, डबिंग, मार्केटिंग वीडियो, UGC विज्ञापन, गेमिंग अवतार,...
ai-image-generation
skills-101
inference.sh CLI के माध्यम से GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve और 50+ मॉडलों के साथ AI इमेज जनरेट करें। मॉडल: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt। क्षमताएँ: text-to-image, image-to-image, inpainting, LoRA, इमेज एडिटिंग, upscaling, टेक्स्ट रेंडरिंग। उपयोग के लिए: AI आर्ट, प्रोडक्ट मॉकअप, कॉन्सेप्ट आर्ट, सोशल मीडिया ग्राफिक्स, मार्केटिंग विज़ुअल, इलस्ट्रेशन। ट्रिगर: flux, इमेज जनरेशन, ai image, text to...
ai-video-generation
skills-101
inference.sh CLI के माध्यम से Google Veo, Seedance 2.0, HappyHorse, Wan, Grok और 40+ मॉडलों के साथ AI वीडियो बनाएं। मॉडल: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo। क्षमताएं: टेक्स्ट-टू-वीडियो, इमेज-टू-वीडियो, रेफरेंस-टू-वीडियो, वीडियो एडिटिंग, लिपसिंक, अवतार एनीमेशन, वीडियो अपस्केलिंग, फोले साउंड। उपयोग के लिए: सोशल मीडिया वीडियो, मार्केटिंग सामग्री, एक्सप्लेनर वीडियो, उत्पाद डेमो, AI अवतार। ट्रिगर: वीडियो जनरेशन, AI वीडियो,...
app-store-screenshots
skills-101
App Store और Google Play स्क्रीनशॉट निर्माण सटीक प्लेटफ़ॉर्म विनिर्देशों के साथ। iOS/Android आयाम, गैलरी क्रम, डिवाइस मॉकअप और प्रीव्यू वीडियो शामिल हैं। उपयोग के लिए: ऐप स्टोर ऑप्टिमाइज़ेशन, ASO, ऐप स्क्रीनशॉट, ऐप प्रीव्यू, प्ले स्टोर लिस्टिंग। ट्रिगर: ऐप स्टोर स्क्रीनशॉट, aso, ऐप स्टोर ऑप्टिमाइज़ेशन, प्ले स्टोर स्क्रीनशॉट, ऐप प्रीव्यू, ऐप लिस्टिंग, iOS स्क्रीनशॉट, Android स्क्रीनशॉट, ऐप स्टोर इमेज, ऐप मॉकअप, डिवाइस मॉकअप, ऐप गैलरी, स्टोर लिस्टिंग
character-design-sheet
skills-101
AI-जनित छवियों में संदर्भ शीट और LoRA तकनीकों के साथ चरित्र स्थिरता। टर्नअराउंड व्यू, एक्सप्रेशन शीट, कलर पैलेट और स्टाइल स्थिरता की तरकीबें शामिल हैं। उपयोग के लिए: चरित्र डिज़ाइन, गेम आर्ट, इलस्ट्रेशन, एनीमेशन, कॉमिक्स, विज़ुअल नॉवेल। ट्रिगर: character design, character sheet, character consistency, character reference, turnaround sheet, expression sheet, character art, consistent character, character concept, reference sheet, character creation, oc design,...
competitor-teardown
skills-101
संरचित प्रतिस्पर्धी विश्लेषण जिसमें फीचर मैट्रिक्स, SWOT, पोजिशनिंग मैप और UX समीक्षा शामिल है। इसमें शोध ढांचे, मूल्य तुलना, समीक्षा खनन और दृश्य प्रस्तुतियाँ शामिल हैं। उपयोग के लिए: बाजार अनुसंधान, प्रतिस्पर्धी खुफिया, निवेशक डेक, उत्पाद रणनीति, बिक्री सक्षमता। ट्रिगर: competitor analysis, competitive analysis, competitor teardown, market research, competitive intelligence, swot analysis, competitor comparison, market landscape, competitor review, competitive...