PieBox
Documentation

Integration Services Overview

Image generation, video generation, TTS, ASR, search, and more

In addition to the OpenAI-compatible chat interface, AI Hub also provides integration services for image generation, video generation, text-to-speech, speech-to-text, search, and more.

Base URL & Authentication

Integration services use two endpoint prefixes:

TypeBase URL
HTTP APIhttps://tokenhub.piegateway.me/v2/extend
WebSocketwss://tokenhub.piegateway.me/ws/v2/extend

HTTP authentication (pick one):

X-API-Key: <your-api-key>
Authorization: Bearer <your-api-key>

WebSocket connections only support HMAC-SHA256 signature authentication (passed via query params). See the HMAC-SHA256 Authentication documentation for details.