Authentication
Most endpoints require the AI Puffer REST API key.- Open WordPress Admin > AI Puffer > Settings.
- Open Developers.
- Enter a value in REST API Key.
- Wait for the setting to save.

Send the key in a header
Use anAuthorization header when possible.
Send the key as a request parameter
You can also send the key asaipkit_api_key.
Endpoints
Text generation
Generate a text response with one of the configured text providers.Parameters
Request
Response
Image generation
Generate images from a text prompt.Parameters
Request
Response
Embeddings
Create embeddings from one string or an array of strings.Parameters
Google
task_type values:
Request
Response
Chat message
Send a message to one chatbot. The chatbot must exist in WordPress. The request uses the chatbot settings saved in AI Puffer.Parameters
Request
Response
Chat logs
Read saved chatbot conversation logs.Parameters
The response includes pagination headers:
Request
Response
Vector store upsert
Embed text and add the vectors to Pinecone, Qdrant, or Chroma. The target index or collection must already exist. AI Puffer creates embeddings, then sends vectors to the selected vector database.Parameters
Each
vectors item must include:
Request
Response
Chatbot embed config
Read the config and rendered HTML for an externally embedded chatbot. This endpoint is not authenticated with the REST API key. Access is controlled by the chatbot’s embed settings and allowed domains.Parameters
Response
403.