This example task generates an image from a prompt using Fal.ai and shows the progress of the task on the frontend using Trigger.dev Realtime.
Click here to view the full code for this project in our examples repository on GitHub. You can fork it and use it as a starting point for your own project.
This video walks through the process of creating this task in a Next.js project.
This task generates an image from a prompt using Fal.ai.
You can test your task by triggering it from the Trigger.dev dashboard. Here’s an example payload: