Expand description
§Image generation functionality and route handler.
Enums§
- Image
Generation Responder - Represents different types of image generation responses.
Functions§
- handle_
error - Helper function to handle image generation errors and logging them.
- image_
generation - Image generation endpoint handler.
- match_
responses - Matches and processes different types of model responses into appropriate image generation responses.
- parse_
request - Parses and validates a image generation request.
- process_
non_ streaming_ response - Process non-streaming image generation responses.