Your current 50A input is 120/240V single phase, with two hot wires offering 120V versus the "netural wire" and 240V when connected in oppostion to each other. Each of those hot leads (the big wires, black and red) runs only ONE air conditioner. Does your Generator run both AC units (120/240V output), or only one "side"?
If your generator creates 120/240 "split phase", then your Victron must be the Multiplus-II "dual 120v" model (in order to handle this in a roughly correct way, attempting to run BOTH air conditioners from only the one Inverter. With the "dual-120v model", there is a 4-wire input terminal, with 3-wire outputs. Each output corresponds to ONE of the hot wires, red or black, 120/240V is being supplied by "the grid" (or by a generator capable of doing that). When the Victron finds no Voltage on the input wires, it activates the Inverter. The Inverter is only 120v, not 120/240v, but it will "bridge" the two outputs together.
Your right-side picture isn't implemented with that Victron model. It shows only a "one-sided" Victron connection, with a circuit breaker feeding the Victron (input side) from the big RED wire wired into the RED power supply lead.
In any case, the AC units would both need to moved from the current breakers fed by the "Grid" hot wires, and be connected to Victron 120V output legs instead. I don't know if your Victron is big enough to run both AC units, because you didn't state which model you have.