Image Generation API
POST /api/generate with the same body as the upstream API.
Returns the generated image directly.