fal.ai
Generate images, audio, and video.
AIAPI key13 endpoints
Endpoints
| Operation | Method & path | Effect | Latency | Rate | Cost |
|---|---|---|---|---|---|
FAL_AI_CANCEL_QUEUE_REQUEST Tool to cancel a queued or in-progress request in fal.ai's queue system. Use when you need to stop a request before it completes. Note that cancellation only succeeds if the request hasn't started processing; if already completed, returns an error status. Even with successful cancellation, the request may still execute if it was near the front of the queue. | POST /composio/fal_ai/fal_ai_cancel_queue_request | external_send | — | — | managed |
FAL_AI_ESTIMATE_PRICING Tool to estimate pricing for fal.ai model endpoints. Use when you need to calculate expected costs for API calls or unit-based usage across one or more endpoints. | POST /composio/fal_ai/fal_ai_estimate_pricing | external_send | — | — | managed |
FAL_AI_GET_JWKS Tool to retrieve public keys for webhook signature verification. Returns a JSON Web Key Set containing ED25519 public keys. Use when you need to verify webhook signatures from fal.ai. The keys are cacheable but should be refreshed at least every 24 hours. | GET /composio/fal_ai/fal_ai_get_jwks | none | — | — | managed |
FAL_AI_GET_MODELS Tool to discover and search fal.ai model endpoints. Use when you need to list all models, find specific models by ID, or search by category/query. Supports pagination and optional expansion of OpenAPI schemas. | GET /composio/fal_ai/fal_ai_get_models | none | — | — | managed |
FAL_AI_GET_PRICING Tool to retrieve unit pricing for model endpoints. Returns pricing information including unit price, billing unit, and currency. Use when you need to check costs for specific fal.ai models. | GET /composio/fal_ai/fal_ai_get_pricing | none | — | — | managed |
FAL_AI_GET_QUEUE_REQUEST_RESULT Tool to retrieve the final result of a completed queue request. Use when you need to get the output of a model request that was submitted to the queue and has finished processing. BYOK retrieves completed output. Instant checks status once and returns pending/failed status or completed output, without blocking or an additional charge. | GET /composio/fal_ai/fal_ai_get_queue_request_result | none | — | — | managed |
FAL_AI_LIST_MODEL_REQUESTS List recent fal.ai model requests with filters and cursor pagination. | GET /composio/fal_ai/fal_ai_list_model_requests | none | — | — | managed |
FAL_AI_QUEUE_GET_STATUS Tool to check the status of a queued request in fal.ai. Use when you need to monitor the progress of an async request. Returns different information based on status: queue position when IN_QUEUE, logs when IN_PROGRESS or COMPLETED. | POST /composio/fal_ai/fal_ai_queue_get_status | external_send | — | — | managed |
FAL_AI_QUEUE_GET_STATUS_STREAM Tool to stream request status updates via SSE. Use when you need real-time updates on a queued request's processing state. | POST /composio/fal_ai/fal_ai_queue_get_status_stream | external_send | — | — | managed |
FAL_AI_RUN_MODEL_SYNC Tool to invoke a fal.ai model synchronously via fal.run, generating new content (images, audio, video, or other model outputs) hosted at fal.ai CDN URLs in the response. Each call executes paid inference on fal.ai — it consumes the connected account's credit balance and is billed per request, so it is NOT a read-only operation. Use when you need a single-shot result and the model is fast enough to return inline — the request blocks until the model finishes and returns the generated output directly. For long-running jobs, parallel invocations, or anything production-grade, prefer SUBMIT_ASYNC_JOB (queue.fal.run) which adds persistence, retries, and webhooks; both produce the same kind of newly-generated, persistently-hosted output and are billed identically. | POST /composio/fal_ai/fal_ai_run_model_sync | external_send | — | — | managed |
FAL_AI_SUBMIT_ASYNC_JOB Start image, text-to-video, image-to-video or 3D generation and return a job ID immediately. Instant uses Composio's managed fal account; BYOK means using your own connected fal account. For Instant, choose one of the 19 model_id/input examples, omit the five BYOK-only queue options, then save request_id and use GET_QUEUE_REQUEST_RESULT with the same model_id, user and complete ID to check progress and retrieve the output. The exact Sunburst route supports text-to-image only; Flare, GPT Image 2 and image editing are not substitutes. Status/result retrieval is included in the accepted-job price. Instant submissions disable automatic HTTP/provider retries; do not submit a duplicate after an uncertain response. Other queue helpers, cancellation, streams and webhooks are available only with your own fal account. | POST /composio/fal_ai/fal_ai_submit_async_job | external_send | — | — | managed |
FAL_AI_SUBSCRIBE_ASYNC_JOB Tool to submit a fal.ai inference job to the async queue and block until it completes (or a deadline is reached), returning the model's final result. Mirrors fal-js's `subscribe()` ergonomics: SUBMIT_ASYNC_JOB + QUEUE_GET_STATUS polling + GET_QUEUE_REQUEST_RESULT in one call. Use when you want async-style reliability (queue persistence, retries) but a synchronous-style return value, and the model is fast enough to finish within max_wait_seconds. For very long jobs, prefer SUBMIT_ASYNC_JOB and check status/result manually or via webhook. | POST /composio/fal_ai/fal_ai_subscribe_async_job | external_send | — | — | managed |
Showing 12 of 13 fal.ai actions. Every action is in the provider catalog, and the CLI and MCP list them with their inputs.