Developer

Documentation

API Reference

DWPcreator's Cloudflare Pages Functions are available as lightweight JSON APIs. All endpoints are free, no API key required for client-side use.

Base URLhttps://dwpcreator.pages.dev
GET/api/booksSearch 40M+ books via Open Library

Parameters

qstringrequiredSearch query (min 2 chars)
pagenumberoptionalPage number (default: 1)
limitnumberoptionalResults per page (max: 40)

Example Request

GET /api/books?q=harry+potter&page=1&limit=20

Response

{ books: [...], total: 4820, page: 1, hasMore: true }
GET/api/soundsSearch 600K+ CC-licensed sound effects via Freesound

Parameters

qstringoptionalSearch query (empty = popular)
filterstringoptionalCategory filter (nature, urban, sfx…)
pagenumberoptionalPage number (default: 1)

Example Request

GET /api/sounds?q=ocean+waves&filter=nature&page=1

Response

{ sounds: [...], total: 1240, page: 1, hasMore: true }
GET/api/fontsFetch all Google Fonts metadata

Parameters

sortstringoptionalpopularity | alpha | date | trending
categorystringoptionalserif | sans-serif | display | monospace | handwriting

Example Request

GET /api/fonts?sort=popularity&category=sans-serif

Response

{ fonts: [...], total: 1400 }
POST/api/enhanceEnhance a wallpaper prompt using Gemini AI and generate an image via Pollinations.ai

Parameters

promptstringrequiredUser's wallpaper idea (max 300 chars)

Example Request

POST /api/enhance
Content-Type: application/json

{ "prompt": "glowing jellyfish deep ocean" }

Response

{ enhanced: "bioluminescent jellyfish...", imageUrl: "https://image.pollinations.ai/..." }
⚠️

Rate Limits

These APIs are intended for use within DWPcreator only. Heavy external usage may be rate-limited or blocked without notice. For production integrations, use the source APIs directly (Open Library, Freesound, Google Fonts) with your own API keys.

Questions about the API? We're happy to help.

Contact Us