- Issue created by @yautja_cetanu
- Status changed to Closed: duplicate
10 days ago 3:31pm 18 June 2024 - π©πͺGermany Marcus_Johansson
Missed this ticket, its done via: https://www.drupal.org/project/ai/issues/3455420 β¨ Allow to save media on file generating explorers Fixed . It built in also as helper functions into the core AI Provider API.
So instead of
pseudocode->getNormalized() or pseudocode->getRaw() for binary outputs, you can now do:pseudecode->getAsMediaReference($media_type, $filename);
pseudocode->getAsFile($file_path);
pseudocode->getAsImage($file_path);And it would create this if the modules are enabled, without the developer having to do anything else.