OpenAI Image Models Added + Bug Fixes and General Improvements

Models Added

  • OpenAI GPT-image-1
  • OpenAI GPT-image-1-mini
  • OpenAI DALL-E 3
  • OpenAI DALL-E 2

Improvements:

  • Added image upload for Sora and Sora Pro
  • Misc security updates

Bug Fixes:

  • Fixed bug with aspect ratio not applying properly with images.
  • Fixed bug with credit calculation on the video page not detecting duration correctly for some models