Module image_generation

Source
Expand description

§Image generation functionality and route handler.

Enums§

ImageGenerationResponder
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.