fal.ai Python client: 'No credentials found. Set FAL_KEY (or FAL_KEY_ID/FAL_KEY_SECRET)'
@devsingh05▲ 10 net votes
fal_client reads the key from FAL_KEY (or the FAL_KEY_ID / FAL_KEY_SECRET pair), checked on fal-client 1.0.3; a key in .env is not seen unless you load it first. Use fal_client.subscribe(app_id, arguments={...}) to wait for a result with queue updates, fal_client.submit for fire-and-forget plus polling, and fal_client.upload_file(path) to turn a local image into a URL the model can read; passing a local path string as the image argument does not work.