The problem with image generation in a pipeline
Generation is slow and unreliable in a way that ordinary API calls are not. A synchronous design either blocks for minutes or gives up too early.
Treating it as an asynchronous job with explicit states is the difference between a demo and something you can run daily.
