Skip to content

Latest commit

Β 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GPT Image 1 – Prompt-based Image Transformation

This project demonstrates the use of OpenAI's GPT Image 1 model to generate new images from existing ones using two distinct prompts.

πŸ“Œ Overview

  • βœ… 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

πŸ“‚ Files

  • /outputs/ β€” folder with all generated images (*_v1.png, *_v2.png)
  • timing_log.csv β€” duration of each inference
  • report_summary.txt β€” summary of findings (speed, cost, scaling limits)

πŸ’‘ Key Findings

  • 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

πŸ› οΈ Tech Stack

  • OpenAI GPT Image 1 API
  • Python (PIL, pandas)
  • Streamlit (planned for frontend demo)

πŸ“Ž Report & Results

  • πŸ“„ report_summary.md
  • πŸ“ [Output folder with images & logs]

About

Image generation project using GPT Image 1 (OpenAI).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages