Skip to main content

04 Text To Image (AI Coding)

Code
By instructa | 0 views 0 copies |

Prompt

# Implement Text-to-Image Generation Page ## Overview 1. Provide a user interface to input a text prompt. 2. Call Fal.ai (through the proxy) to generate an image. 3. Display the generated image on the page. ## CRITICAL INSTRUCTIONS - Only call fal.subscribe from client-side code or server actions that remain private. - Show a loading state or message if generation takes time. - Ensure the Fal.ai key is never directly in client code. ## Key Steps 1. Create a Dashboard Page (app/dashboard/page.tsx

Rate this prompt

Click to rate

0.0 avg rating (0)

Notes

Tip: Tool: AI Coding
Reference: From instructa/ai-prompts repository (Cursor/Copilot rules)