The dry vent for the toilet is the 2 inch wye you see there downstream of the toilet drain
You are permitted to use a long-turn 90 after the closet bend.
However, the venting may be wrong. That's not going to do it if you have waste running into the line from the left side of the photo. If that's going to be a clean-out only on the left, then it's an okay location for the vent although I don't love it being quite like that on its side. If waste is going to run in from the left, then it can only enter your setup downsteam of the vent, meaning that you move the vent or you don't connect that waste at the left end.
As to the flat vent that you appear to be creating there, I personally think that it doesn't even pass as a flat vent (in areas where that is permitted) because the wye hasn't been turned up so that its run inlet is above the center line of the horizontal drain. In any event, even if your area permits it, it's not a good practice because ultimately that vent is going to clog.