Skip to content

Releases: fqueis/pollinationsai

v1.0.3

21 Mar 20:01
2fffc01

Choose a tag to compare

What's Changed

  • Fix/incorrect json formatting by @fqueis in #9

Full Changelog: v1.0.2...v1.0.3

v1.0.2

14 Mar 22:18

Choose a tag to compare

Full Changelog: v1.0.1...v1.0.2

fix: escape quotes in build:cjs script in package.json to ensure proper JSON formatting

Initial Release

14 Mar 21:26

Choose a tag to compare

🐝 Pollinations AI Client

Core Capabilities

Image Generation

  • Multiple models (flux, etc.) with dimension/seed control
  • Privacy flags & safety filters
  • Streamable image outputs

💬 Text Processing

  • Chat/completion API with message history
  • Vision model integration
  • Real-time streaming support

🗣️ Speech Synthesis

  • Text-to-speech with voice selection
  • OpenAI-compatible audio API
  • Speech-to-text transcription

Key Features

📦 Dual Module Support

  • Native ESM + CommonJS compatibility
  • Full TypeScript definitions included

Builder Pattern API

  • Fluent interface for request construction
  • Strong type validation
  • Automatic URL parameter encoding

🔧 Production Ready

  • 100% test coverage with Jest
  • Axios-based HTTP client
  • Comprehensive error handling

Installation

npm install pollinationsai
# or
yarn add pollinationsai

Compatibility

  • Node.js 18+ (LTS versions)
  • Modern browsers (via bundler)
  • TypeScript 5.8+

📚 Full Documentation | 💻 Source Code