Skip to content

Commit d50d4f4

Browse files
committed
Restore original fal task page
1 parent 13e3ec4 commit d50d4f4

File tree

1 file changed

+6
-22
lines changed

1 file changed

+6
-22
lines changed

docs/guides/examples/fal-ai-realtime.mdx

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Generate an image from a prompt using Fal.ai and Trigger.dev Realtime"
33
sidebarTitle: "Fal.ai with Realtime"
4-
description: "This example project generates an image from a prompt using Fal.ai and shows the progress of the task on the frontend using Trigger.dev Realtime."
4+
description: "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."
55
---
66

77
## Walkthrough
@@ -21,31 +21,15 @@ This video walks through the process of creating this task in a Next.js project.
2121
/>
2222
</div>
2323

24-
## Tech stack
24+
## Prerequisites
2525

26-
- Next.js using the App Router for the frontend
27-
- Trigger tasks from the frontend using our [React hooks](/frontend/react-hooks)
28-
- [Trigger.dev Realtime](/realtime/overview) to stream updates to the frontend
29-
- [Trigger.dev](https://cloud.trigger.dev) for task processing
30-
- [Fal.ai](https://fal.ai/) for AI image generation
31-
32-
<Note>You will need all of these services to run this project.</Note>
33-
34-
## GitHub Repo
35-
36-
Check out and fork the full code in our [nextjs-realtime-fal-demo repo
37-
](https://github.com/triggerdotdev/nextjs-realtime-fal-demo).
38-
39-
<Note>
40-
To run the project and tasks locally, add your API keys to an `.env` file, and update the project
41-
ID in the `trigger.config.ts` file to your project ID. To run the project in production, set the
42-
`TRIGGER_API_KEY` environment variable to your project API key, and update the environment
43-
variables in the Trigger.dev dashboard.
44-
</Note>
26+
- An existing project
27+
- A [Trigger.dev account](https://cloud.trigger.dev) with Trigger.dev [initialized in your project](/quick-start)
28+
- A [Fal.ai](https://fal.ai/) account
4529

4630
## Task code
4731

48-
This task converts an image to a cartoon using fal AI.
32+
This task generates an image from a prompt using Fal.ai.
4933

5034
```ts trigger/fal-ai-image-from-prompt-realtime.ts
5135
import * as fal from "@fal-ai/serverless-client";

0 commit comments

Comments
 (0)