The latest version of the OpenAI PHP client is v0.7.10
This includes logic to support the revised_prompt field which contains the prompt actually used to generate the image.
Requirement
Update to the latest version of openai-php/client using composer update
Enable logic to extract the field from the result of the request
Display it on the form
Include the revised prompt in the saved .json files
The latest version of the OpenAI PHP client is v0.7.10 This includes logic to support the
revised_prompt
field which contains the prompt actually used to generate the image.Requirement
composer update