Compare UI state and payload
Reproduce with an approved test choice. Log only the output size and model, and inspect the call generated by the submit path. A CSS preview shape does not determine the request.
Use documented dimensions
Map the UI's portrait choice to a supported size shown for that model. Validate the resulting request before using the API quote. Show the actual requested size to the approver.
Review the returned file
Measure its displayed width and height after applying orientation metadata. Keep a separate error for differences between requested size and delivered file.
Pass condition
The portrait choice survives the UI, quote and generation request, and the result is checked against that exact selection.