I specified output_mime_type=“image/png” when I asked the imagen 3 model to generate images. Why does the returned image_bytes data need to be base64.b64decode before it is normal png image binary data
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
OpenAI comp: Image generation | 3 | 61 | March 10, 2025 | |
How to send image uri encoded in base64 to generative ai request? | 2 | 105 | December 31, 2024 | |
Python Error Work with Text and Photo | 1 | 185 | June 16, 2024 | |
How to pass a base64 url for text-davinci-003 | 3 | 118 | May 27, 2024 | |
RE: How to make a conversation with Gemini that supports pictures | 2 | 65 | December 16, 2024 |