Loading...
Loading...
Generate production-ready fal.ai workflow JSON files. Use when user requests "create workflow", "chain models", "multi-step generation", "image to video pipeline", or complex AI generation pipelines.
npx skill4agent add ilkerzg/agent-skills fal-workflow| Type | Purpose |
|---|---|
| Execute a model/app |
| Output results to user |
type: "input"schema.input{
"name": "my-workflow",
"title": "My Workflow",
"contents": {
"name": "workflow",
"nodes": {
"output": {
"type": "display",
"id": "output",
"depends": ["node-image"],
"input": {},
"fields": { "image": "$node-image.images.0.url" }
},
"node-image": {
"type": "run",
"id": "node-image",
"depends": ["input"],
"app": "fal-ai/flux/dev",
"input": { "prompt": "$input.prompt" }
}
},
"output": { "image": "$node-image.images.0.url" },
"schema": {
"input": {
"prompt": {
"name": "prompt",
"label": "Prompt",
"type": "string",
"required": true,
"modelId": "node-image"
}
},
"output": {
"image": { "name": "image", "label": "Generated Image", "type": "string" }
}
},
"version": "1",
"metadata": {
"input": { "position": { "x": 0, "y": 0 } },
"description": "Simple text to image workflow"
}
},
"is_public": true,
"user_id": "",
"user_nickname": "",
"created_at": ""
}| Reference | Use Case | Example |
|---|---|---|
| Input value | |
| LLM text output | |
| First image URL | |
| Single image URL | |
| Video URL | |
| Audio URL | |
| Extracted frame | |
// ❌ WRONG - WILL BREAK
"prompt": "Create image of $input.subject in $input.style"
// ✅ CORRECT - Variable is the ENTIRE value
"prompt": "$input.prompt"
"prompt": "$node-llm.output"fal-ai/text-concatfal-ai/workflow-utilities/merge-text// ❌ WRONG
"node-b": {
"depends": [],
"input": { "data": "$node-a.output" }
}
// ✅ CORRECT
"node-b": {
"depends": ["node-a"],
"input": { "data": "$node-a.output" }
}// ❌ WRONG
"my-node": { "id": "different-id" }
// ✅ CORRECT
"my-node": { "id": "my-node" }openrouter/routeropenrouter/router/vision"schema": {
"input": {
"field": { "modelId": "first-consuming-node" }
}
}"output": {
"depends": ["node-a", "node-b", "node-c"],
"fields": {
"a": "$node-a.video",
"b": "$node-b.images.0.url"
}
}| Task | Default Model |
|---|---|
| Image generation | |
| Image editing | |
| Video (I2V) | |
| Text LLM | |
| Vision LLM | |
| Music | |
| Upscale | |
| Text concat (2 texts) | |
| Text merge (array) | |
| Video merge | |
| Audio+Video merge | |
| Frame extract | |
| Model Type | Output Reference |
|---|---|
| LLM | |
| Text Concat | |
| Merge Text | |
| Image Gen (array) | |
| Image Process (single) | |
| Video | |
| Music | |
| Frame Extract | |
fal-ai/nano-banana-pro
fal-ai/nano-banana-pro/edit
fal-ai/text-concat
fal-ai/workflow-utilities/merge-text
fal-ai/bytedance/seedance/v1.5/pro/image-to-video
fal-ai/kling-video/o1/image-to-video
fal-ai/kling-video/v2.6/pro/image-to-video
fal-ai/elevenlabs/music
fal-ai/ffmpeg-api/merge-videos
fal-ai/ffmpeg-api/merge-audio-video
fal-ai/ffmpeg-api/extract-frame
fal-ai/seedvr/upscale/image
openrouter/router
openrouter/router/vision"schema": {
"input": {
"text_field": {
"name": "text_field",
"label": "Display Label",
"type": "string",
"description": "Help text",
"required": true,
"modelId": "consuming-node"
},
"image_urls": {
"name": "image_urls",
"type": { "kind": "list", "elementType": "string" },
"required": true,
"modelId": "node-id"
}
}
}type: "run"type: "display"type: "input"$node.xxxdependsidmodelIdbash /mnt/skills/user/fal-workflow/scripts/create-workflow.sh \
--name "my-workflow" \
--title "My Workflow Title" \
--nodes '[...]' \
--outputs '{...}'mcp__fal-ai__create-workflow({
smartMode: true,
intent: "Generate a story with LLM, create an illustration, then animate it"
})Error: unexpected value; permitted: 'run', 'display', field requiredtype: "input"type: "input"schema.inputError: Node references $node-x but doesn't depend on itdependsError: Node key "my-node" doesn't match id "different-id"idError: image_urls provided but using text-only routeropenrouter/router/visionhttps://fal.ai/api/openapi/queue/openapi.json?endpoint_id=[endpoint_id]https://fal.ai/api/openapi/queue/openapi.json?endpoint_id=fal-ai/nano-banana-pro