Avatar
虚拟形象助手:集成 Simli 视频渲染和 ElevenLabs TTS 的交互式 AI 虚拟形象
Interactive AI avatar with Simli video rendering and ElevenLabs TTS
clawhub install avatarRemotion Geist 创建:使用 Remotion 框架通过代码生成动画视频
# 安装 Skill npx skills add vercel-labs/skill-remotion-geist@create-remotion-geist # 安装后 Claude Code 会自动识别并使用
# 同样的安装命令,兼容所有支持 SKILL.md 的 AI 编程工具 npx skills add vercel-labs/skill-remotion-geist@create-remotion-geist
需要 Node.js 环境,可选使用 FFmpeg 进行高质量渲染
@geist-ui/icons packagesrc/index.tsx with registerRoot(), not .ts mkdir -p src/{scenes,components,utils} out
npm init -y
npm install remotion @remotion/cli @remotion/tailwind react react-dom
npm install -D tailwindcss typescript @types/react
npm install @geist-ui/icons # For proper icons
references/project-setup.md for templates):remotion.config.ts - Enable Tailwind
- tailwind.config.js - Geist colors and fonts
- src/styles.css - Font loading from CDN
- src/index.tsx - Root composition with registerRoot()
- src/Root.tsx - Composition definitions
- src/utils/animations.ts - Spring animationsreferences/scene-patterns.md npx remotion studio # Preview at localhost:3000
npx remotion render MyComp out/video.mp4
text-heading-{72|64|56|48|40|32|24|20|16|14} (semibold, tight tracking)text-label-{20|18|16|14|13|12}[-mono] (normal weight)text-copy-{24|20|18|16|14|13}[-mono] (normal weight)space-2: 8px | space-4: 16px | space-6: 24px | space-8: 32pximport { spring, interpolate } from 'remotion';
// Fade in with delay
export function fadeIn(frame: number, fps: number, delay = 0, duration = 0.4) {
const delayFrames = delay * fps;
const durationFrames = duration * fps;
return interpolate(frame, [delayFrames, delayFrames + durationFrames], [0, 1],
{ extrapolateLeft: 'clamp', extrapolateRight: 'clamp' });
}
// Spring scale
export function springIn(frame: number, fps: number, delay = 0) {
return spring({ frame: frame - delay * fps, fps, config: { damping: 200 } });
}
export function MyScene() {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
const titleOpacity = fadeIn(frame, fps, 0, 0.4);
const titleScale = springIn(frame, fps, 0);
return (
<AbsoluteFill className="bg-background-100 flex flex-col items-center justify-center">
<h2 style={{ opacity: titleOpacity, transform: scale(${titleScale}) }}>
Title
</h2>
</AbsoluteFill>
);
}
@geist-ui/icons (e.g., import { Code, Folder, Check } from '@geist-ui/icons')references/project-setup.md - Complete file templatesreferences/geist-icons.md - Icons and brand assets (MUST READ)references/code-blocks.md - Syntax-highlighted code blocks (use prism-react-renderer)references/geist-colors.md - Full 10-step color scalereferences/geist-typography.md - All typography classes with specsreferences/geist-components.md - Component props and patternsreferences/scene-patterns.md - Scene templates for common contentreferences/storyboard-template.md - Planning video structure@font-face {
font-family: 'Geist';
src: url('https://cdn.jsdelivr.net/npm/[email protected]/dist/fonts/geist-sans/Geist-Regular.woff2') format('woff2');
font-weight: 400;
}
/* Add Medium (500), SemiBold (600), Bold (700) weights */
```tsx
// src/index.tsx - Remotion 视频脚本示例
import { Composition } from 'remotion';
const MyVideo = () => (
<div style={{
flex: 1,
textAlign: 'center',
fontSize: 100,
backgroundColor: '#1e293b'
}}>
<h1>欢迎使用 Remotion</h1>
</div>
);
export const RemotionRoot = () => (
<Composition
id="MyVideo"
component={MyVideo}
durationInFrames={150}
fps={30}
width={1920}
height={1080}
/>
);
```虚拟形象助手:集成 Simli 视频渲染和 ElevenLabs TTS 的交互式 AI 虚拟形象
Interactive AI avatar with Simli video rendering and ElevenLabs TTS
clawhub install avatarAI Avatar Generation:从照片或文字描述生成专业的 AI 虚拟人物,包括真人头像、卡通形象、3D 角色等。
Generate AI avatars from photos or text descriptions using each::sense. Create professional headshots, cartoon avatars, 3D characters, fantasy personas, gami...
clawhub install ai-avatar-generation