Back to Templates
Marketing
Social Media Kit
Generate optimized images for all social platforms from one source
Claude Code Ready
Multi-step Pipeline
How It Works
4 steps in this workflow
- 1 Input image
- 2 Resize to 1200×630
- 3 Resize to 800×418
- 4 Resize to 1080×1080
Code Examples
Use this template programmatically with the FloImg SDK or CLI
// One source -> all platforms
const socialKit = await floimg.pipeline(heroImage, [
{ op: 'resize', params: { width: 1200, height: 630 }, save: 'og-image.png' },
{ op: 'resize', params: { width: 800, height: 418 }, save: 'twitter-card.png' },
{ op: 'resize', params: { width: 1080, height: 1080 }, save: 'instagram.png' },
]); # Social Media Kit
name: "Social Media Kit"
steps:
- kind: transform
op: resize
params:
width: 1200
height: 630
out: og-image.png
- kind: transform
op: resize
params:
width: 800
height: 418
out: twitter-card.png
- kind: transform
op: resize
params:
width: 1080
height: 1080
out: instagram.png # Social Media Kit
# Run pipelines via YAML config:
floimg run workflow.yaml