Skip to content

Add Picture API file example to the Examples Folder - #977

Merged
logankilpatrick merged 6 commits into
openai:nextfrom
furofo:add-picture-api-example-folder
Jan 3, 2024
Merged

Add Picture API file example to the Examples Folder#977
logankilpatrick merged 6 commits into
openai:nextfrom
furofo:add-picture-api-example-folder

Conversation

@furofo

@furofo furofo commented Dec 16, 2023

Copy link
Copy Markdown
Contributor

Added a new example file to the 'examples' folder that demonstrates how to use the OpenAI Picture API. The example generates an image based on a provided prompt and prints the response with a URL link to the image. Before there were no examples available for the Picture API, which could be confusing for users. This should provide more clarity for users of the new API.

…trieving and printing a picture to the console using the new API. Previously, no examples were provided for images, making it unclear.
@furofo
furofo requested a review from a team as a code owner December 16, 2023 22:27
@rattrayalex

Copy link
Copy Markdown
Contributor

Thank you for the contribution @furofo !

@rattrayalex
rattrayalex changed the base branch from main to next December 23, 2023 23:25

@logankilpatrick logankilpatrick left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@logankilpatrick
logankilpatrick merged commit b201083 into openai:next Jan 3, 2024
stainless-bot pushed a commit that referenced this pull request Jan 9, 2024
* Added a file to the examples folder to provide a simple example of retrieving and printing a picture to the console using the new API. Previously, no examples were provided for images, making it unclear.

* Update picture.py

---------

Co-authored-by: Logan Kilpatrick <23kilpatrick23@gmail.com>
megamanics pushed a commit to devops-testbed/openai-python that referenced this pull request Aug 14, 2024
* Added a file to the examples folder to provide a simple example of retrieving and printing a picture to the console using the new API. Previously, no examples were provided for images, making it unclear.

* Update picture.py

---------

Co-authored-by: Logan Kilpatrick <23kilpatrick23@gmail.com>
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
* Added a file to the examples folder to provide a simple example of retrieving and printing a picture to the console using the new API. Previously, no examples were provided for images, making it unclear.

* Update picture.py

---------

Co-authored-by: Logan Kilpatrick <23kilpatrick23@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants