fal-run-sync
Execute AI models synchronously and automatically convert image URLs to base64 data in the response for direct use.
Instructions
Run a model synchronously and automatically download any image URLs in the response. The model is run synchronously using the fal.run endpoint. Returns the model output with embedded base64 image data for any image URLs found.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"modelId": "<modelId>"
},
"name": "fal-run-sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modelId | Yes | ||
| input | No |