anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
An n8n workflow that sends a prompt to the Flux dev model on fal.ai, waits until the picture is ready, downloads it and saves it in a Google Drive folder.
Text to image with Flux on fal.ai saved to Google Drive is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
A button press in n8n
It starts when you select Test workflow. Set first:
One picture file in your Google Drive folder
What you need before you start.
Image model
Makes the picture from the prompt with Flux dev and holds it until the workflow downloads it.
Needsfal.ai API key
File storage
Keeps the finished picture in a folder.
NeedsGoogle Drive OAuth2 credential and a folder
Checked by Mindket on 13 Nov 2026
This n8n workflow turns one line of text into a picture and files it in Google Drive. You press a button. The workflow sends your prompt to the Flux dev model on fal.ai, then asks every three seconds whether the picture is ready. When it is, the workflow downloads the image and uploads it to a Drive folder of your choice. Nobody opens fal.ai or saves a file by hand. Nine nodes sit in it, beside three sticky notes.
Designers, marketers and small teams who need quick pictures for posts, slides or mock-ups and want them in a shared folder, not lost in a browser tab. It suits anyone who already lives in Google Drive. Skip it if you need hundreds of pictures from a list, because it makes one picture per press. A loop over a sheet of prompts would need extra nodes that this file does not hold. Skip it too if you want more control over style than a prompt gives.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Marketing | Social media managers | Make a picture for each post idea | A manager types the idea as a prompt and finds the picture in the team folder. |
| Design | Designers | Test visual ideas before a shoot | A designer tries ten wordings of one scene and compares the files. |
| Education | Teachers | Illustrate a slide or a worksheet | A teacher describes a scene from a lesson and drops the picture into the class folder. |
| Small business | Shop owners | Make banners and product backgrounds | An owner asks for a plain wooden table with soft light and saves it for later. |
You need an n8n, a fal.ai API key and a Google account with a Drive folder.
Any n8n that can reach fal.ai and Google Drive will run it. It starts by hand, so it fits a quick session at your desk. To make it run on its own, swap the first node for a schedule, a form or a webhook.
Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Import the file, add two credentials, pick a folder and write a prompt.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| fal.ai | An account and an API key |
| Google Drive | A Google account, a folder, and an OAuth2 credential in n8n |
workflow.json.Authorization and its value to Key <YOUR_FAL_KEY>, with your own key in place of the placeholder. Add it to Fal Flux, Check Status and Get Image Result URL.Google Drive, then pick the folder that should receive the pictures.Edit Fields and write your prompt. Change the width, height, steps and guidance if you like.Write what you want to see in the prompt, then run the workflow. After a short wait, the picture appears in your Drive folder. Change one word and run it again to compare. Short prompts work. Each run makes a new file.
| To change | Where |
|---|---|
| The picture | The prompt, width, height, steps and guidance in Edit Fields |
| The format or the number of images | The body in Fal Flux |
| How often it checks | Wait 3 Sec |
| Where it lands | The folder in Google Drive |
A shop owner needs a banner background for a spring sale. She types a prompt about pale green leaves on a white table with soft morning light, and runs the workflow.
About half a minute later a file appears in her Drive folder. The picture is 1024 by 768 pixels. She does not like the leaves, so she rewrites the prompt and runs it again. Both files stay in the folder, so she can compare them side by side.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. fal.ai is a service that runs image models for you. Flux is one such model. You send a prompt, and it returns a picture. Making one takes a few seconds, so the workflow asks again and again until the picture is done.
For experts. fal’s queue answers at once with a request id, and the workflow polls that id in a loop.
| Node | What it does | What to know |
|---|---|---|
Fal Flux | Posts the prompt and the settings to the Flux dev queue | The prompt goes in with JSON.stringify, so quotes and line breaks cannot break the body |
Check Status | Asks fal for the status of the request | The address holds only the owner and the app, fal-ai/flux, as fal’s documentation asks |
Completed? | Tests whether status equals COMPLETED | A failed request also reads COMPLETED, with an error, and the loop has no limit |
Get Image Result URL | Fetches the finished result | The result lists the pictures and their addresses |
Download Image | Downloads the first picture as a file | It fails when the result holds an error |
Google Drive | Uploads the file under its own name | The folder picker starts blank |
The notes come from fal’s documentation and its model page, read on 12 November 2026, and nothing was run.
COMPLETED, with no limit. A request that stalls keeps the run waitingCOMPLETED, with an error message, and Download Image then stopsfal-ai/flux. fal’s documentation says an address with /dev in it answers 405, so the file is rightJSON.stringify, so a quote mark no longer breaks it. The Drive folder was blanked, and a sticky note’s key example became a placeholderAn n8n workflow that makes one picture from a text prompt with the Flux dev model on fal.ai. It waits until the picture
is ready, downloads it and saves it in a Google Drive folder.
workflow.json: the workflow as n8n exports it, 9 nodes and 3 sticky notes. It holds no credential.README.md: these notes.Fal Flux wrote the prompt into its JSON body as plain text, so a quote mark or a line break in a prompt would breakJSON.stringify.Google Drive held the original author's folder. It is blank now.Key <YOUR_FAL_KEY>.workflow.json.Authorization and its value to Key <YOUR_FAL_KEY>, with your own keyFal Flux, Check Status and Get Image Result URL.Google Drive, then pick the folder that should receive the pictures.Edit Fields and write your prompt. Change the width, height, steps and guidance if you like.When clicking ‘Test workflow’ and run the workflow.When clicking ‘Test workflow’ starts the run by hand.Edit Fields holds the settings: Prompt, Width (1024), Height (768), Steps (30) and Guidance (3.5).Fal Flux posts them to https://queue.fal.run/fal-ai/flux/dev, asking for one image with the safety checker on.Wait 3 Sec pauses for three seconds. Check Status asks fal for that request's status. Completed? tests whetherstatus equals COMPLETED. If it does not, the run goes back to the wait.Get Image Result URL fetches the finished result, which lists the pictures and their addresses. Download ImageGoogle Drive uploads it, under the file's own name, to your folder in My Drive.Edit Fields.Fal Flux. Only the first picture is saved.Wait 3 Sec.Google Drive.fal-ai/flux, and not the full fal-ai/flux/dev.COMPLETED, with an error message. Get Image Result URL then returns that error, andDownload Image stops. A request that never completes keeps the loop polling, because it has no limit.NOTICE.md 633 B README.md 4 KB workflow.json 8 KB
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
nerijs · Kit
A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…
LiconStudio · Kit
Keeps characters, clothing, objects and backgrounds consistent in generated video by feeding the model up to five reference images. A LoRA for LTX-2.5 in Comfy…