Skip to main content

fal-api-reference

Provides a comprehensive API reference for fal.ai, covering client setup, method usage, and webhook configuration for seamless integration.

Install this skill

or
19/100

Security score

The fal-api-reference skill was audited on May 22, 2026 and we found 33 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 296

Curl to non-GitHub URL

SourceSKILL.md
296curl -X POST "https://queue.fal.run/fal-ai/flux/dev" \
medium line 312

Curl to non-GitHub URL

SourceSKILL.md
312curl "https://queue.fal.run/fal-ai/flux/dev/requests/abc123-def456/status" \
medium line 327

Curl to non-GitHub URL

SourceSKILL.md
327curl "https://queue.fal.run/fal-ai/flux/dev/requests/abc123-def456" \
medium line 343

Curl to non-GitHub URL

SourceSKILL.md
343curl -X POST "https://queue.fal.run/fal-ai/flux/dev" \
medium line 368

Curl to non-GitHub URL

SourceSKILL.md
368curl -X POST "https://fal.run/fal-ai/fast-sdxl" \
low line 178

Fetch to external URL

SourceSKILL.md
178const response = await fetch("https://example.com/image.jpg");
medium line 5

Webhook reference - potential data exfiltration

SourceSKILL.md
5PROACTIVELY activate for: (1) @fal-ai/client JavaScript setup, (2) fal_client Python setup, (3) fal.subscribe/run/stream methods, (4) Queue management (submit/status/result), (5) Webhook configuration
medium line 6

Webhook reference - potential data exfiltration

SourceSKILL.md
6Provides: Client configuration, method signatures, queue workflow, webhook payloads, common parameters.
medium line 36

Webhook reference - potential data exfiltration

SourceSKILL.md
36- Implementing webhook callbacks
low line 147

Webhook reference - potential data exfiltration

SourceSKILL.md
147webhookUrl: "https://your-server.com/webhook" // Optional
medium line 338

Webhook reference - potential data exfiltration

SourceSKILL.md
338### Webhooks
medium line 340

Webhook reference - potential data exfiltration

SourceSKILL.md
340Submit with webhook URL to receive results via POST:
low line 348

Webhook reference - potential data exfiltration

SourceSKILL.md
348"webhook_url": "https://your-server.com/webhook"
medium line 352

Webhook reference - potential data exfiltration

SourceSKILL.md
352Webhook payload:
medium line 493

Webhook reference - potential data exfiltration

SourceSKILL.md
493- Use webhooks for high-volume applications
low line 65

Access to .env file

SourceSKILL.md
65credentials: process.env.FAL_KEY,
low line 67

External URL reference

SourceSKILL.md
67proxyUrl: "https://your-server.com/api/fal-proxy"
low line 132

External URL reference

SourceSKILL.md
132image_url: "https://example.com/base.jpg"
low line 147

External URL reference

SourceSKILL.md
147webhookUrl: "https://your-server.com/webhook" // Optional
low line 178

External URL reference

SourceSKILL.md
178const response = await fetch("https://example.com/image.jpg");
low line 279

External URL reference

SourceSKILL.md
279| Queue Submit | `https://queue.fal.run/{model_id}` |
low line 280

External URL reference

SourceSKILL.md
280| Queue Status | `https://queue.fal.run/{model_id}/requests/{request_id}/status` |
low line 281

External URL reference

SourceSKILL.md
281| Queue Result | `https://queue.fal.run/{model_id}/requests/{request_id}` |
low line 282

External URL reference

SourceSKILL.md
282| Queue Cancel | `https://queue.fal.run/{model_id}/requests/{request_id}/cancel` |
low line 283

External URL reference

SourceSKILL.md
283| Direct Run | `https://fal.run/{model_id}` |
low line 296

External URL reference

SourceSKILL.md
296curl -X POST "https://queue.fal.run/fal-ai/flux/dev" \
low line 312

External URL reference

SourceSKILL.md
312curl "https://queue.fal.run/fal-ai/flux/dev/requests/abc123-def456/status" \
low line 327

External URL reference

SourceSKILL.md
327curl "https://queue.fal.run/fal-ai/flux/dev/requests/abc123-def456" \
low line 332

External URL reference

SourceSKILL.md
332# "images": [{"url": "https://fal.media/...", "width": 1024, "height": 576}],
low line 343

External URL reference

SourceSKILL.md
343curl -X POST "https://queue.fal.run/fal-ai/flux/dev" \
low line 348

External URL reference

SourceSKILL.md
348"webhook_url": "https://your-server.com/webhook"
low line 358

External URL reference

SourceSKILL.md
358"images": [{"url": "https://fal.media/..."}]
low line 368

External URL reference

SourceSKILL.md
368curl -X POST "https://fal.run/fal-ai/fast-sdxl" \
Scanned on May 22, 2026
View Security Dashboard
Installation guide →