| 开发者 |
iamkingsleyf
kraftysprouts |
|---|---|
| 更新时间 | 2026年8月27日 02:29 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_ai_client_prompt()->generateImage() can use fal once this provider is active and an API key is configured.
After you activate the plugin and save a fal API key under Settings → Connectors, image generation requests that the AI Client routes to fal run through Flux, Recraft, and related models — without each consumer embedding fal-specific HTTP code or storing API keys itself.
Features
FAL_KEY environment variable / PHP constant when setAuthorization: Key … header required by falai-provider-for-fal-ai folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload Plugin.FAL_KEY environment variable or PHP constant.Create an account at fal.ai and generate a key under Dashboard → Keys.
No. Keys are stored by WordPress Connectors (encrypted), or you can supply FAL_KEY via environment / wp-config.php constant. This plugin does not write its own options for credentials.
No. On WordPress 7.0+ the AI Client is built in. On WordPress 6.9 you must have the PHP AI Client package available. Without it, the plugin loads but does not register a provider.
Version 1.1.0 ships a static catalog including Seedream 5.0 Pro, GPT Image 2, Nano Banana Pro, Nano Banana 2, Flux Schnell/Dev/Pro/Ultra, and Recraft V3. Prefer a model with using_model_preference() / provider preference APIs when your consumer supports it; otherwise the AI Client selects a suitable image-capable model.
Anyone. It registers with the shared WordPress AI Client registry. Themes, plugins, mu-plugins, and custom PHP that call wp_ai_client_prompt() can request images once fal is configured in Connectors.
When image generation runs, the fal API key and the text prompt (plus generation parameters such as image size) are sent to fal.ai. See External services.
wp_get_connector().fal-ai) with the WordPress AI Client / Connectors.Authorization: Key and the official FAL_KEY credential name.