Enhance & expand Telegram images to 3:2 with CodeFormer & LightX AI
Send Final URL to User via Telegram
telegram
Generate Public URL for Final Image
Upload Final Photo to S1
awss3
Download Final Photo from LightX
Generate Output Filename (.jpeg) Final
Check If Expansion Is Complete
Check LightX Expansion Status
Wait Before Checking Status Again
noOp
Iterate Until Expansion is Ready
noOp
Request AI Expansion from LightX
Upload File to LightX via PUT
Merge Data for Upload
Extract Upload Link from LightX Response
Request Upload Link from LightX
Get File Size (in Bytes)
Calculate Padding for 3:2 Ratio
Download Upscaled Image from Replicate1
Wait After Upscale
noOp
AI Upscale Image via Replicate
Generate Output File Name (.png)
Set Input URL for AI Model
Generate Public URL for Original Image
Upload Original Photo to S1
awss3
Generate Input File Name (.jpeg)
Check If Photo Exists1
Telegram Trigger1
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.