| 开发者 | deapi |
|---|---|
| 更新时间 | 2026年11月10日 17:28 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
DEAPI_API_KEY environment variable or a DEAPI_API_KEY constant in wp-config.php.
To try it, install the AI Experiments plugin and use its image generation feature in the post editor.Transcription, music generation and the other deAPI endpoints are not part of this plugin, because the WordPress AI Client does not support them yet or deAPI does not offer them through its OpenAI-compatible gateway.
deAPI waits for the GPU job to finish before it answers. Most images take 5 to 30 seconds, edits can take longer. The plugin allows up to 5 minutes per request.
Usually 30 seconds to 2 minutes. The AI Client waits for the finished MP4, so call it from WP-CLI, a cron event or a background job rather than a normal page request, where the PHP time limit (often 30 seconds) can stop it first. Set the length with the seconds custom option, for example ['customOptions' => ['seconds' => 5]].
Pass a voice ID through the AI Client, for example af_nova or bm_george for Kokoro. The OpenAI voice names (alloy, echo, fable, onyx, nova, shimmer) also work. The default voice is alloy.