have a batch function, eg every item is sent independently and received independently by the user, but internally a combination of timeout; batch sizes and thread implement batching
implementation of batching itself:
clip model should support batching
safety and aesthetic model as well
dedup should support batching
how to test thing:
implement tests for batching for every individual component
implement test for batching for the whole flow
implement test for the batch function if implemented