Linux 软件免费装

Bestony AI Provider for Xiaomi MiMo

开发者 bestony
更新时间 2026年9月28日 14:35
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

ai connector vision xiaomi mimo

下载

1.0.4

详情介绍:

Adds Xiaomi MiMo (小米 MiMo) as a provider for the WordPress AI Client.

安装:

  1. Upload the plugin files to /wp-content/plugins/bestony-ai-provider/.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to Settings → Connectors, open the Xiaomi MiMo card and paste your API key — or define it outside the database (see Configuration).
A Xiaomi MiMo account with API access is required. Create a key at https://platform.xiaomimimo.com/console/api-key.

升级注意事项:

1.0.4 WordPress.org plugin directory slug changed to bestony-ai-provider. Fixed SVN deploy depth typo. Existing settings and keys keep working. 1.0.3 WordPress.org plugin directory slug changed to bestony-ai-provider. Existing settings and keys keep working. 1.0.2 Stops shipping the .wordpress-org directory in the release zip. Existing settings and keys keep working. 1.0.0 Initial release.

常见问题:

Does this plugin work without the PHP AI Client?

No. It requires the PHP AI Client SDK, which is provided by WordPress 7.0 or by the AI plugin. The provider stays silent when the SDK is missing.

Do I need to configure anything in the database?

The API key (on Settings → Connectors) and, if you change them from the defaults, the settings on Settings → Bestony AI Provider for Xiaomi MiMo. Both can instead be set with an environment variable or constant.

Why does the plugin require WordPress 7.0?

Because the Connectors screen and the connectors_ai_xiaomimimo_api_key option are WordPress 7.0 features. The SDK's own credential lookup reads only environment variables and constants, so on 6.9 you could paste a key into a UI that does not exist yet. WordPress 7.0 wires the stored key to the provider for you.

Which API host should I choose?

The standard API (https://api.xiaomimimo.com/v1) for a pay-as-you-go key, which is billed against your account balance. If you bought a Token Plan subscription, use the cluster that matches where the plan was issued — China, Singapore or Europe — because Token Plan keys and their quota are separate from pay-as-you-go keys.

Which models can be used with vision features?

mimo-v2.6-pro, mimo-v2.6-flash, mimo-v2.6-pro-ultraspeed and mimo-v2.5. The model list endpoint reports no capabilities, so this list lives in the plugin source. If your model supports images but is not on the list, set XIAOMIMIMO_MODEL_INPUT_MODALITIES=text,image.

A JSON feature fails or returns nothing

MiMo implements OpenAI JSON mode only (response_format: {"type":"json_object"}) and rejects a JSON schema, so this plugin sends json_object and drops the schema. MiMo guarantees valid JSON but not the exact fields, so the model relies on the prompt for the shape. Try setting Structured output to Send no response_format if a feature is unhappy, or point that feature at another provider.

Why does temperature have no effect?

MiMo forces its own temperature/top_p while thinking is enabled, which is the default. Set Thinking mode to Disable thinking (or XIAOMIMIMO_THINKING=disabled) to make those parameters apply.

Why is there no image generation?

MiMo's open platform serves text/multimodal-understanding and speech models, not text-to-image, so the plugin declares no image-generation capability.

Why is there no speech (ASR/TTS) support?

The PHP AI Client exposes text, image, speech, video and embedding entry points, and the MiMo speech endpoints do not fit the shape the SDK sends. The ASR/TTS models still appear in the model list, but with no capability they cannot be selected.

Where is my API key stored?

In the WordPress options table on your own site, under the AI Client's connector option (connectors_ai_xiaomimimo_api_key), or in an environment variable or PHP constant if you set one. It is never transmitted anywhere except to the Xiaomi MiMo host configured above.

What data leaves my site?

Only what you send to the AI: your prompts, and whatever the calling plugin or theme adds to them (system instructions, conversation history, tool definitions, attached files). See External services below for the exact endpoints.

Is there a settings page?

Yes: Settings → Bestony AI Provider for Xiaomi MiMo, which chooses the API host, the thinking mode and the structured-output mode. The API key still lives on Settings → Connectors.

更新日志:

1.0.4 1.0.3 1.0.2 0.0.1 1.0.1 1.0.0