5 ms·
I'm very interested in trying this out for my side project. I'm using Vercel's AI SDK to generate content and images to create PDFs but getting it to output bot
by plastic_bag 1y ago
I'm very interested in trying this out for my side project. I'm using Vercel's AI SDK to generate content and images to create PDFs but getting it to output both images and text in the same generateObject call feels almost impossible.
Is it something that Trigger can do?
- d-k-p 1y agoFor sure, you can handle generating both images and text in the same workflow running multiple AI SDK operations in parallel or sequence, and then combine the outputs however you need for your PDFs. I'd recommend browsing our examples docs (https://trigger.dev/docs/guides/introduction https://trigger.dev/docs/guides/introduction) if you want to see different ways of using the AI SDK and converting / generating PDFs (React to PDF / Libreoffice, etc).
- plastic_bag 1y agoPerfect! That's exactly what I'm looking for. I'll give it a try and report back :)