AI Content Pipeline Build multi-step content creation pipelines via inference.sh CLI. Quick Start Requires inference.sh CLI ( infsh ). Get installation instructions: npx skills add inference-sh/skills@agent-tools 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.
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
'{
"prompt": "
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": "
video.json
5. Add captions (manually or with another tool)
6. Merge video with audio
infsh app run infsh/media-merger
--input
'{
"video_url": "
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 '{ "prompt": "<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": "
talking_head.json Product Demo Pipeline Create a product showcase video.
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_video.json
3. Upscale video quality
infsh app run falai/topaz-video-upscaler
--input
'{
"video_url": "
upscaled.json
4. Add background music
infsh app run infsh/media-merger
--input
'{
"video_url": "
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:
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
\" }" "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
\"
:
\"
"video_ $i .json" done
4. Generate voiceover
infsh app run infsh/kokoro-tts
--input
'{
"prompt": "
narration.json
5. Merge all clips
infsh app run infsh/media-merger
--input
'{
"videos": ["