>>110012470
Ubatch shouldn't matter. I did some tests and settled upon
export BATCH="--batch-size 2048 --ubatch-size 2048 " # or --batch-size 2048 --ubatch-size 1024
Symmetric size is better for my machine.
Image is just a base64 encoded string sequence.