hatemfaheem / ai-story-generator

Generate stories using AI
1 stars 0 forks source link

Expose the image/page resolution config to the CLI #8

Closed hatemfaheem closed 1 year ago

hatemfaheem commented 1 year ago

Right now the image generation is fixed to 256x256 and the page processing is hence limited to 455x256 to optimize for the recommended Youtube aspect ration of 16:9. OpenAI Dall-E supports 512x512 and 1024x1024 resolutions as well. So, the page processing should also support 910x512 and 1820x1024.

  1. Add support for configurable resolutions in image generation and page processing.
  2. Expose resolution parameter in the CLI.
hatemfaheem commented 1 year ago

https://github.com/hatemfaheem/ai-story-generator/commit/c14dc36f1f03401131d709a7c7c98632b8a61e25

hatemfaheem commented 1 year ago

This broke the PDF generation which is not a key feature in the meantime.