mindmorass avatar

Ai Video Generation

This one's for working with AI video generation APIs like Runway, Pika, and Stable Video Diffusion. You get actual client implementations with proper polling logic for async generation, not just curl examples. The Runway integration handles the full flow from submission to waiting for render completion with timeouts. There's a decent prompt engineering system that separates subject, action, camera movement, and lighting into structured objects instead of freeform strings. Also includes local generation with Stable Video Diffusion if you want to run it yourself. The code is production-ready with dataclasses and error handling, which is rare for AI API wrappers.

skills.sh installs
162
GitHub stars
2
last updated
Aug 21, 2026

Install

$ npx -y skills add mindmorass/reflex --skill ai-video-generation --agent claude-code

Installs into .claude/skills of the current project.

Files

AI Video Generation Patterns

Best practices for generating videos with AI tools.

Platform Overview

PlatformTypeStrengths
SoraText-to-VideoPhotorealistic, long-form
Runway Gen-3Text/Image-to-VideoFast, good motion
Pika LabsText/Image-to-VideoStylized, accessible
Kling AIText-to-VideoLong duration, realistic
Luma Dream MachineText/Image-to-VideoCoherent motion
Stable Video DiffusionImage-to-VideoOpen source

Runway API Integration

import requests
from dataclasses import dataclass
from typing import Optional
import time

@dataclass
class GenerationRequest:
    prompt: str
    image_url: Optional[str] = None
    duration: int = 4  # seconds
    aspect_ratio: str = "16:9"
    motion_strength: int = 5  # 1-10

@dataclass
class GenerationResult:
    id: str
    status: str
    video_url: Optional[str] = None
    thumbnail_url: Optional[str] = None

Sponsors

Details

Repository
github.com/mindmorass/reflex
Categories
AI & Agent Building, Marketing & SEO, Generative Media
First seen
Jun 3, 2026

More from mindmorass/reflex

All 3
1rohitg00 avataragent-teamsrohitg00/pro-workflowCoordinate multiple Claude Code sessions as a team — lead + teammates with shared task lists, mailbox messaging, and file-lock claiming. Patterns for team sizin161skills.sh installs
2cinience avataralicloud-ai-text-document-mind-testcinience/alicloud-skillsSmoke test for alicloud-ai-text-document-mind. Validate minimal authentication, API reachability, and one read-only query path.158skills.sh installs
3cinience avataralicloud-ai-translation-anytrans-testcinience/alicloud-skillsSmoke test for alicloud-ai-translation-anytrans. Validate minimal authentication, API reachability, and one read-only query path.158skills.sh installs
4skillcreatorai avatardocxskillcreatorai/ai-agent-skillsdocx157skills.sh installs
5muratcankoylan avatarlong-horizon-promptingmuratcankoylan/Agent-Skills-for-Context-EngineeringThis skill should be used when writing, enhancing, or evaluating the launch prompt for a long-running autonomous agent or a parallel multi-agent orchestration a156skills.sh installs
6hoodini avataraws-agentcorehoodini/ai-agents-skillsBuild AI agents with AWS Bedrock AgentCore. Use when developing agents on AWS infrastructure, creating tool-use patterns, implementing agent orchestration, or i148skills.sh installs