Walkthrough
This video walks through the process of creating this task in a Next.js project.Prerequisites
- An existing project
- A Trigger.dev account with Trigger.dev initialized in your project
- A Fal.ai account
- A Cloudflare account with an R2 bucket setup
Task code
This task converts an image to a cartoon using Fal.ai, and uploads the result to Cloudflare R2.trigger/fal-ai-image-to-cartoon.ts