pipeline.config.ts
import { vsnry } from '@vsnry/sdk'
const pipeline = vsnry.pipeline({
name: 'product-campaign',
ingest: {
sources: [
{ type: '3dsmax', scene: 'hero.max' },
{ type: 'photoshop', file: 'layout.psd' },
{ type: 'ai', model: 'flux', prompt: '...' },
]
},
transform: {
steps: [
render({ engine: 'vray', quality: 'production' }),
composite({ layers: true }),
optimize({ formats: ['webp', 'avif', 'jpg'] }),
metadata({ pim: true, tags: 'auto' })
]
},
review: {
workflow: 'brand-approval',
stages: ['design', 'brand', 'legal'],
annotations: true
},
distribute: {
channels: ['web', 'mobile', 'print', 'social'],
versioning: { track: true, rollback: true }
}
})