NAME
Langertha::Role::ImageGeneration - Role for engines that support image generation
VERSION
version 0.302
DESCRIPTION
Engines that can generate images consume this role. It requires image_request and simple_image methods, and provides an image_model attribute.
image_model
The model name to use for image generation requests. Lazily defaults to default_image_model if the engine provides it, otherwise falls back to the general model attribute from Langertha::Role::Models.
SEE ALSO
Langertha::ImageGen - Wrapper class for image generation with plugin support
Langertha::Role::Models - Model selection role
Langertha::Plugin::Langfuse - Observability plugin (hooks into image gen)
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHOR
Torsten Raudssus <torsten@raudssus.de> https://raudss.us/
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.