Community Agents
Create Agent
Create a prompt agent or deploy agent.ts from a public GitHub repository. Code-agent identity comes from the repository, and public visibility requires community publisher access. Code agents export a default function accepting { request, pollinations, mcp } and return an OpenAI Responses-compatible Response. API keys require account:keys.
post/account/agents
Request
- Base URL: https://gen.pollinations.ai
- URL: https://gen.pollinations.ai/account/agents
- Auth: HTTP bearer
Request body
Response
Created agent
Changes
No recorded changes to this operation across all 1 revision of this API.