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 | |
---|---|---|---|---|
Is there any preprocessing of images in API? | 1 | 95 | April 9, 2025 | |
Mime_type is not updated with genai.upload_file | 3 | 152 | November 12, 2024 | |
Imagen 3 sample returns HTTP 404 | 3 | 268 | March 18, 2025 | |
OpenAI comp: Image generation | 3 | 71 | March 10, 2025 | |
Imagen 3 via the @google/generative-ai in node.js | 1 | 923 | October 30, 2024 |