Get fal.ai Queue Request Result
fal_get_resultRetrieve the final output from a completed fal.ai queue request. Use after fal_check_status reports COMPLETED to get images, video, audio, or text results.
Instructions
Fetch the final output of a queued request submitted with fal_submit_request. Only call this once fal_check_status reports status COMPLETED — calling it earlier will error.
Args:
model_id (string): The same model id used when submitting, e.g. "fal-ai/minimax/video-01"
request_id (string): The request_id returned by fal_submit_request
response_format ('markdown' | 'json'): Output format (default: markdown)
Returns: The model's result payload (structure is model-specific — images/video/audio/text). For JSON format: the complete raw result object. For markdown format: a summary with any generated media URLs surfaced up top.
Examples:
Use when: fal_check_status just reported "COMPLETED" for this request_id
Don't use when: status is still IN_QUEUE or IN_PROGRESS — check status again instead
Error Handling:
Returns "Not found (404)" if the request_id is wrong, expired, or not yet completed
Returns "Authentication failed" if FAL_KEY is missing or invalid
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | The fal.ai model/endpoint id, e.g. "fal-ai/flux/dev", "fal-ai/flux-pro/kontext", or "fal-ai/minimax/video-01". Find valid ids with fal_list_models or at https://fal.ai/models. | |
| request_id | Yes | The request_id returned by fal_submit_request when the job was queued. | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable (default: markdown) | markdown |