/poster — Upload a poster image to generate living-room, workspace, and split-panel mockups. Runs Groq vision classification + orientation-aware image pipeline, then sends an approval card. /poster (/photo) — Upload a poster image to generate living-room, workspace, and split-panel mockups. Runs Groq vision classification + orientation-aware image pipeline, then sends an approval card.
commandCMD
/poster
Aliases: /photo
stateState
Set session mode
mode = "poster" · expires 30 min
actionAction
Await image
Next photo message triggers intake
actionAction
Download image
GET /bot/getFile → fetch binary
actionAction
Upload to Supabase
Bucket: raw-inputs · signed URL (1 h)
externalExternal
Trigger.dev posterIntakeTask
Passes imageUrl + photo dimensions (width × height)
conditionCondition
Detect orientation
landscape (w ≥ 1.2h) · portrait (h ≥ 1.2w) · square
externalExternal
Groq vision classify
Returns title, category, orientation-filtered recommendedWorkflowIds
actionAction
Build workflow list
Groq recs + ALWAYS_RUN (split_3/split_5 skipped for portrait images)
externalExternal
Custom image pipeline
sharp + Real-ESRGAN (enhance → split → composite) · one run per workflow
actionAction
Store approval record
automation_approvals · status: pending · expires 24 h
externalExternal
Send approval card
Telegram: output images + Approve / Reject buttons
callbackCallback
approve:{token}
Create products per category · trigger Instagram carousel + Reel
callbackCallback
reject:{token}
Mark approval rejected · no product created
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.