top | item 45258125

(no title)

plastic_bag | 5 months 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?

discuss

order

d-k-p|5 months ago

For 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) if you want to see different ways of using the AI SDK and converting / generating PDFs (React to PDF / Libreoffice, etc).

plastic_bag|5 months ago

Perfect! That's exactly what I'm looking for. I'll give it a try and report back :)