--- name: ai-content-pipeline description: "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" allowed-tools: Bash(infsh *) --- # AI Content Pipeline Build multi-step content creation pipelines via [inference.sh](https://inference.sh) CLI. ![AI Content Pipeline](https://cloud.inference.sh/app/files/u/4mg21r6ta37mpaz6ktzwtt8krr/01kg06qgcg105rh6y1kvxm4wvm.png) ## 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": ""}' ``` ## 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": "", "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": "", "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": "", "audio_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": "