googleapis / googleapis/python-genai
Poor Image Quality in Gemini Batch API Compared to Single Generation
- Dominant language
- Python
- Stars
- 4k
- Forks
- 1k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 40
Description
### **Description**
I'm using the Gemini Batch API for image generation, and I've noticed that the generated image quality is significantly lower compared to non-batch (single request) image generation.
---
### **Steps to Reproduce**
1. Call the Gemini Batch API for image generation with a standard prompt
2. Generate images using the same prompt via single (non-batch) API
3. Compare the output quality
---
### **Expected Behavior**
The image quality from the Batch API should be consistent with the quality produced by the standard (non-batch) image generation API.
---
### **Actual Behavior**
* Images generated via Batch API appear:
* Lower resolution
* Less detailed
* Slightly distorted in some cases
---
Contributor guide
Assessment
This issue has not been assessed yet.