Bestony AI Provider for PPIO
v1.0.1Bestony · 2026年11月17日 上架
PPIO provider for the WordPress PHP AI Client: text, vision, tools, structured output, and reasoning.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 133
- 最近更新
- 2026年11月17日
贡献者
Bestony AI Provider for PPIO adds PPIO as an OpenAI-compatible provider.
- Models are discovered from
GET /openai/v1/models. - Text and chat history use
POST /openai/v1/chat/completions. - Catalogued models support vision input, function calling, JSON Schema, and JSON Object output.
reasoning_content, token usage, tool calls, and image content use the PHP AI Client parser.- Unknown models stay visible as text-only models. Embedding, reranking, ASR, TTS, audio, and video
models are visible without an unsupported chat capability.
Image generation, video or audio output, embeddings, and reranking are documented non-goals because
this provider implements only PPIO’s model-list and chat-completion endpoints.
Configuration
Optional values can be set as environment variables or PHP constants:
PPIO_DEFAULT_MODEL— preferred text and vision model. Default:deepseek/deepseek-v4-flash.PPIO_BASE_URL— API base URL. Default:https://api.ppio.com/openai/v1.PPIO_STRUCTURED_OUTPUT—json_schema(default),json_object, ornone.PPIO_MODEL_INPUT_MODALITIES— includeimagein a comma-separated list to declare vision for all
chat models, for exampletext,image.PPIO_REQUEST_TIMEOUT— request timeout in seconds. Default:120.PPIO_CONNECT_TIMEOUT— connection timeout in seconds. Default:10.PPIO_SEPARATE_REASONING— optional boolean override forseparate_reasoning.PPIO_ENABLE_THINKING— optional boolean override forenable_thinking.
The automatic reasoning flags are enabled only for the documented models
deepseek/deepseek-r1-turbo and deepseek/deepseek-v3.2-exp. The structured JSON Schema request is
wrapped as json_schema.name=ppio_response; none removes response_format entirely.
External services
This plugin connects to the PPIO API to provide PPIO models to the WordPress AI Client, so sites can
use PPIO for text and vision features.
Requests go to the configured PPIO base URL. Chat requests can contain prompts, history, tool
definitions, JSON schemas, and images supplied by the calling plugin. The AI Client sends the PPIO
API key as a Bearer credential. No request is sent until model discovery or generation is requested.
This service is provided by PPIO:
- Platform and API key documentation: https://ppio.com/docs/support/api-key
- Terms of service: https://ppio.com/legal/terms-of-service
- Privacy policy: https://ppio.com/legal/privacy-policy