ai-content-pipeline
Build multi-step AI content creation pipelines combining image, video, audio, and text. Workflow examples: generate image -> animate -> add voiceover -> merge with music. Tools: FLUX, Veo, Kokoro TTS, OmniHuman, media merger, upscaling. Use for: YouTube videos, social media content, marketing materials, automated content. Triggers: content pipeline, ai workflow, content creation, multi-step ai, content automation, ai video workflow, generate and edit, ai content factory, automated content creation, ai production pipeline, media pipeline, content at scale
What this skill does
# AI Content Pipeline
Build multi-step content creation pipelines via [inference.sh](https://inference.sh) CLI.
## Quick Start
```bash
curl -fsSL https://cli.inference.sh | sh && infsh login
# Simple pipeline: Generate image -> Animate to video
infsh app run falai/flux-dev --input '{"prompt": "portrait of a woman smiling"}' > image.json
infsh app run falai/wan-2-5 --input '{"image_url": "<url-from-previous>"}'
```
## Pipeline Patterns
### Pattern 1: Image -> Video -> Audio
```
[FLUX Image] -> [Wan 2.5 Video] -> [Foley Sound]
```
### Pattern 2: Script -> Speech -> Avatar
```
[LLM Script] -> [Kokoro TTS] -> [OmniHuman Avatar]
```
### Pattern 3: Research -> Content -> Distribution
```
[Tavily Search] -> [Claude Summary] -> [FLUX Visual] -> [Twitter Post]
```
## Complete Workflows
### YouTube Short Pipeline
Create a complete short-form video from a topic.
```bash
# 1. Generate script with Claude
infsh app run openrouter/claude-sonnet-45 --input '{
"prompt": "Write a 30-second script about the future of AI. Make it engaging and conversational. Just the script, no stage directions."
}' > script.json
# 2. Generate voiceover with Kokoro
infsh app run infsh/kokoro-tts --input '{
"text": "<script-text>",
"voice": "af_sarah"
}' > voice.json
# 3. Generate background image with FLUX
infsh app run falai/flux-dev --input '{
"prompt": "Futuristic city skyline at sunset, cyberpunk aesthetic, 4K wallpaper"
}' > background.json
# 4. Animate image to video with Wan
infsh app run falai/wan-2-5 --input '{
"image_url": "<background-url>",
"prompt": "slow camera pan across cityscape, subtle movement"
}' > video.json
# 5. Add captions (manually or with another tool)
# 6. Merge video with audio
infsh app run infsh/media-merger --input '{
"video_url": "<video-url>",
"audio_url": "<voice-url>"
}'
```
### Talking Head Video Pipeline
Create an AI avatar presenting content.
```bash
# 1. Write the script
infsh app run openrouter/claude-sonnet-45 --input '{
"prompt": "Write a 1-minute explainer script about quantum computing for beginners."
}' > script.json
# 2. Generate speech
infsh app run infsh/kokoro-tts --input '{
"text": "<script>",
"voice": "am_michael"
}' > speech.json
# 3. Generate or use a portrait image
infsh app run falai/flux-dev --input '{
"prompt": "Professional headshot of a friendly tech presenter, neutral background, looking at camera"
}' > portrait.json
# 4. Create talking head video
infsh app run bytedance/omnihuman-1-5 --input '{
"image_url": "<portrait-url>",
"audio_url": "<speech-url>"
}' > talking_head.json
```
### Product Demo Pipeline
Create a product showcase video.
```bash
# 1. Generate product image
infsh app run falai/flux-dev --input '{
"prompt": "Sleek wireless earbuds on white surface, studio lighting, product photography"
}' > product.json
# 2. Animate product reveal
infsh app run falai/wan-2-5 --input '{
"image_url": "<product-url>",
"prompt": "slow 360 rotation, smooth motion"
}' > product_video.json
# 3. Upscale video quality
infsh app run falai/topaz-video-upscaler --input '{
"video_url": "<product-video-url>"
}' > upscaled.json
# 4. Add background music
infsh app run infsh/media-merger --input '{
"video_url": "<upscaled-url>",
"audio_url": "https://your-music.mp3",
"audio_volume": 0.3
}'
```
### Blog to Video Pipeline
Convert written content to video format.
```bash
# 1. Summarize blog post
infsh app run openrouter/claude-haiku-45 --input '{
"prompt": "Summarize this blog post into 5 key points for a video script: <blog-content>"
}' > summary.json
# 2. Generate images for each point
for i in 1 2 3 4 5; do
infsh app run falai/flux-dev --input "{
\"prompt\": \"Visual representing point $i: <point-text>\"
}" > "image_$i.json"
done
# 3. Animate each image
for i in 1 2 3 4 5; do
infsh app run falai/wan-2-5 --input "{
\"image_url\": \"<image-$i-url>\"
}" > "video_$i.json"
done
# 4. Generate voiceover
infsh app run infsh/kokoro-tts --input '{
"text": "<full-script>",
"voice": "bf_emma"
}' > narration.json
# 5. Merge all clips
infsh app run infsh/media-merger --input '{
"videos": ["<video1>", "<video2>", "<video3>", "<video4>", "<video5>"],
"audio_url": "<narration-url>",
"transition": "crossfade"
}'
```
## Pipeline Building Blocks
### Content Generation
| Step | App | Purpose |
|------|-----|---------|
| Script | `openrouter/claude-sonnet-45` | Write content |
| Research | `tavily/search-assistant` | Gather information |
| Summary | `openrouter/claude-haiku-45` | Condense content |
### Visual Assets
| Step | App | Purpose |
|------|-----|---------|
| Image | `falai/flux-dev` | Generate images |
| Image | `google/imagen-3` | Alternative image gen |
| Upscale | `falai/topaz-image-upscaler` | Enhance quality |
### Animation
| Step | App | Purpose |
|------|-----|---------|
| I2V | `falai/wan-2-5` | Animate images |
| T2V | `google/veo-3-1-fast` | Generate from text |
| Avatar | `bytedance/omnihuman-1-5` | Talking heads |
### Audio
| Step | App | Purpose |
|------|-----|---------|
| TTS | `infsh/kokoro-tts` | Voice narration |
| Music | `infsh/ai-music` | Background music |
| Foley | `infsh/hunyuanvideo-foley` | Sound effects |
### Post-Production
| Step | App | Purpose |
|------|-----|---------|
| Upscale | `falai/topaz-video-upscaler` | Enhance video |
| Merge | `infsh/media-merger` | Combine media |
| Caption | `infsh/caption-video` | Add subtitles |
## Best Practices
1. **Plan the pipeline first** - Map out each step before running
2. **Save intermediate results** - Store outputs for iteration
3. **Use appropriate quality** - Fast models for drafts, quality for finals
4. **Match resolutions** - Keep consistent aspect ratios throughout
5. **Test each step** - Verify outputs before proceeding
## Related Skills
```bash
# Video generation models
npx skills add inference-sh/skills@ai-video-generation
# Image generation
npx skills add inference-sh/skills@ai-image-generation
# Text-to-speech
npx skills add inference-sh/skills@text-to-speech
# LLM models for scripts
npx skills add inference-sh/skills@llm-models
# Full platform skill
npx skills add inference-sh/skills@inference-sh
```
Browse all apps: `infsh app list`
## Documentation
- [Content Pipeline Example](https://inference.sh/docs/examples/content-pipeline) - Official pipeline guide
- [Building Workflows](https://inference.sh/blog/guides/ai-workflows) - Workflow best practices
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.