This project demonstrates the use of OpenAI's GPT Image 1 model to generate new images from existing ones using two distinct prompts.
- β Input: 10 original images
- π Process: Each image processed with 2 different prompts
- πΌοΈ Output: 20 AI-generated images (2 per input)
- π Logged: Inference time per image
- π Analyzed:
- Average processing time
- Estimated throughput (images per minute/hour)
- Cost per image and total project cost
- Impact of input image size on speed
/outputs/β folder with all generated images (*_v1.png,*_v2.png)timing_log.csvβ duration of each inferencereport_summary.txtβ summary of findings (speed, cost, scaling limits)
- Average image generation time: ~30.2 seconds
- Estimated throughput: ~2 images/min or 119 images/hour
- Cost per image (medium quality, 1536Γ1024): $0.063
- Total cost for 20 images: $1.26
- Input image size affects processing speed
- API Tier level (IPM limit) may throttle real-world performance
OpenAI GPT Image 1 APIPython (PIL, pandas)Streamlit(planned for frontend demo)
- π report_summary.md
- π [Output folder with images & logs]