remotion-render

Videos aus React/Remotion-Komponentencode über inference.sh rendern. TSX-Code übergeben, MP4 erhalten. Unterstützt alle Remotion-APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Konfigurierbare Auflösung, FPS, Dauer, Codec. Verwendung für: programmatische Videogenerierung, animierte Grafiken, Bewegungsdesign, datengesteuerte Videos, React-Animationen zu Video. Auslöser: remotion, Video aus Code rendern, tsx zu Video, React-Video, programmatisches Video, Remotion-Render, Code zu Video, animiert...

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

Mehr Skills von qu-skills

ai-video-generation
qu-skills
Erstelle KI-Videos mit Google Veo, Seedance 2.0, HappyHorse, Wan, Grok und 40+ Modellen über die inference.sh CLI. Modelle: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Fähigkeiten: Text-zu-Video, Bild-zu-Video, Referenz-zu-Video, Videobearbeitung, Lippen-Sync, Avatar-Animation, Video-Upscaling, Foley-Sound. Verwendung für: Social-Media-Videos, Marketinginhalte, Erklärvideos, Produktdemos, KI-Avatare. Auslöser: Videoerstellung, KI-Video,...
videocreativemedia
ai-image-generation
qu-skills
Generieren Sie KI-Bilder mit GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve und über 50 Modellen über die inference.sh CLI. Modelle: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Fähigkeiten: Text-zu-Bild, Bild-zu-Bild, Inpainting, LoRA, Bildbearbeitung, Hochskalierung, Textrendering. Verwendung für: KI-Kunst, Produkt-Mockups, Konzeptkunst, Social-Media-Grafiken, Marketing-Visuals, Illustrationen. Auslöser: flux, Bildgenerierung, KI-Bild, Text zu...
creativemediaimage
ai-avatar-video
qu-skills
Erstelle KI-Avatar- und Talking-Head-Videos über die inference.sh CLI. Empfohlen: P-Video-Avatar (schnellste, günstigste, integrierte TTS). Auch: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ Sprachen, Emotionssteuerung für Charaktere), ElevenLabs, Kokoro. Fähigkeiten: audiogesteuerte Avatare, Text-zu-Avatar, Lipsync-Videos, Talking-Head-Generierung, virtuelle Präsentatoren, UGC-Inhalte. Verwenden für: KI-Präsentatoren, Erklärvideos, virtuelle Influencer, Synchronisation, Marketingvideos, UGC-Anzeigen, Gaming-Avatare,...
videocreativemedia
twitter-automation
qu-skills
Automatisiere Twitter/X mit Posting, Engagement und Benutzerverwaltung über die inference.sh CLI. Apps: x/post-tweet, x/post-create (mit Medien), x/post-like, x/post-retweet, x/dm-send, x/user-follow. Fähigkeiten: Tweets posten, Inhalte planen, Beiträge liken, retweeten, DMs senden, Benutzern folgen, Profile abrufen. Verwendung für: Social-Media-Automatisierung, Inhaltsplanung, Engagement-Bots, Zielgruppenwachstum, X API. Auslöser: twitter api, x api, tweet automation, post to twitter, twitter bot, social media automation, x...
api
agent-browser
qu-skills
Browser-Automatisierung für KI-Agenten über inference.sh. Navigieren Sie auf Webseiten, interagieren Sie mit Elementen über @e-Referenzen, machen Sie Screenshots, nehmen Sie Video auf. Fähigkeiten: Web Scraping, Formularausfüllen, Klicken, Tippen, Drag & Drop, Datei-Upload, JavaScript-Ausführung. Verwendung für: Web-Automatisierung, Datenextraktion, Testen, Agenten-Browsing, Recherche. Auslöser: Browser, Web-Automatisierung, Scrapen, Navigieren, Klicken, Formular ausfüllen, Screenshot, Web durchsuchen, Playwright, Headless-Browser, Web-Agent, Internet surfen, Video aufnehmen
browser-automationweb-scrapingtesting
web-search
qu-skills
Websuche und Inhaltsextraktion mit Tavily und Exa über die inference.sh CLI. Apps: Tavily Search, Tavily Extract, Exa Search, Exa Answer, Exa Extract. Fähigkeiten: KI-gestützte Suche, Inhaltsextraktion, direkte Antworten, Recherche. Verwendung für: Recherche, RAG-Pipelines, Faktenprüfung, Inhaltsaggregation, Agenten. Auslöser: Websuche, tavily, exa, search api, Inhaltsextraktion, Recherche, Internetsuche, KI-Suche, Suchassistent, Web Scraping, rag, Perplexity-Alternative
researchweb-scrapingapi
agent-tools
qu-skills
Führe 250+ KI-Apps über die inference.sh CLI aus – Bildgenerierung, Videocrstellung, LLMs, Suche, 3D, Twitter-Automatisierung. Modelle: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter und viele mehr. Verwenden beim Ausführen von KI-Apps, Generieren von Bildern/Videos, Aufrufen von LLMs, Websuche oder Automatisieren von Twitter. Auslöser: 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
developmentapicreative
python-executor
qu-skills
We need to translate the given English text into German, preserving the name "python-executor" only if it appears in the source text. The source text does not contain "python-executor" explicitly; it only appears in the instruction as the name to preserve, but not in the <text> block. So we should not include it. The translation should be accurate, keep technical terms, URLs, numbers, and product names. The text describes executing Python code in a sandboxed environment via inference.sh, lists pre-installed libraries, use cases, and triggers. Translate naturally into German. Key points: "safe sandboxed environment" -> "sicheren Sandkasten-Umgebung" or "sicheren isolierten Umgebung"? "Sandboxed" is often "Sandkasten" or "isoliert". "Pre-installed" -> "Vorinstalliert". "100+ more libraries" -> "über 100 weitere Bibliotheken". "Use for" -> "Verwendung für". "Triggers" -> "Auslöser" or "Trigger
developmentdata-analysisweb-scraping