The input_fidelity
parameter was only just announced today.
It is only on the edits endpoint, and is meant to improve the reproduction of input images if used with input_fidelity="high"
.
Ensure the latest SDK, as the OpenAI library will block unknown API parameters, quickly becoming obsolete:
pip install --upgrade --upgrade-strategy=eager openai
Then send your input image, such as this woman from the announcement:
Along with a prompt:
Photograph of a woman pictured from the input image.
However, she now has colorful rainbow-streaked hair, and wears a pretty yellow blouse.
Receive an output, with the cropping received showing that you need to refine the technique, such as demanding a “zoom out”, or needing a vertical profile aspect ratio:
The model itself requires an organization to be ID-verified.