Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark authored Mar 7, 2024
1 parent 6c3c181 commit 30d55f8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ prompt = "Generate Seoul, South Korea illustrations."
response = GeminiClient.generate_content(prompt)

generated_images = response.generated_image # Check generated images [Dict]
GeminiImage.fetch_images_dict_sync(generated_images) # Download images
bytes_images_dict = GeminiImage.fetch_bytes_sync(generated_images) # Get bytes images dict
GeminiImage.save_images_sync(bytes_images_dict, path="save_path") # Save to path
```
Expand Down Expand Up @@ -189,7 +188,6 @@ prompt = "Generate Seoul, South Korea illustrations."
response = GeminiClient.generate_content(prompt)

response_images = response.web_images # Check response images [Dict]
GeminiImage.fetch_images_dict_sync(response_images)
bytes_images_dict = GeminiImage.fetch_bytes_sync(response_images) # Get bytes images dict
GeminiImage.save_images_sync(bytes_images_dict, path="save_path") # Save to path
```
Expand Down

0 comments on commit 30d55f8

Please sign in to comment.