You asked
Is a 23mm f 1 4 from ttartisan or viltrox better for environmental portraits on an aps c camera?
The site can't settle this one fairly, because it has far less on the Viltrox. Its page only identifies it as a 23mm f/1.4 prime for APS-C cameras. It gives no mounts, autofocus details or price, so the guide can't say whether it beats the TTArtisan.
The TTArtisan 23mm f/1.4 is the better-documented choice for environmental portraits. On APS-C it frames like about 34mm on full frame, which is close to the 35mm the portraits guide recommends for showing where someone is and for groups. At f/1.4 it gives about the depth of field of f/2.1 on APS-C, so the subject stands out while the room stays readable. Its trade-offs are that it is manual focus only and not stabilised. For posed, slow-moving portraits that suits many photographers, but if you need quick focus on a moving subject, you should check the Viltrox page for autofocus before deciding.
The TTArtisan is made for several mounts: Sony E, Fujifilm X, Nikon Z, Canon RF, L-Mount and Micro Four Thirds. Pair it with a body of the same mount. The site's first lenses guide suggests a fast standard prime for people and low light, which this lens covers on APS-C.
The site doesn't list current prices for either lens here, so check the catalogue pages for the latest figures.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.