X-RapidAPI-Key, and you're done.
AI eBook generation API
Generate complete, multi-chapter EPUB books with a single REST call. JSON responses, async job processing, secure download links. Available directly or via RapidAPI.
Get an API key in 30 seconds via RapidAPI
The fastest way to start — no Scrivibe account, no credit-card form on our side, no manual key rotation. RapidAPI handles billing, key management, and usage analytics for you.
- Free tier available — try the API with no upfront cost. Upgrade plans directly inside RapidAPI when you need more volume.
- Single key works for all endpoints — generate, status, download, genres. Authentication is automatically injected via the
X-RapidAPI-Keyheader. - Built-in code snippets — RapidAPI generates ready-to-paste examples in Python, Node.js, PHP, Go, Ruby, Java, and more.
- Live testing console — fire requests from the RapidAPI dashboard before you write a single line of code.
Or call the API directly
Prefer to skip the marketplace? Generate a long-lived API key from your Scrivibe account and hit the endpoints directly. Same payload, same JSON responses — only the auth header changes.
- Authenticate with
X-API-Key: sk_live_...on every request. Keys are scoped to a single Scrivibe account. - Manage keys (create, list, revoke) from your profile.
- EPUB files stay available for 24 hours after generation completes — fetch a fresh signed link any time during that window.
Generate a book in one call
Pick your language. The example creates an async job and returns a job ID you can poll.
Available endpoints
Base URL: https://www.scrivibe.com/v1
/v1/genres
/v1/books
job_id and queues async chapter generation./v1/books/{job_id}
/v1/books/{job_id}/download
/v1/health
{"status":"ok"}.How it works
Get an API key
Either subscribe on RapidAPI (30 seconds, free tier) or generate a key from your Scrivibe profile.
Start a job
POST a title, content type, theme, and chapter count to /v1/books. You get back a job_id immediately.
Poll & download
Poll status every 10–15 seconds. When the job reaches completed, fetch the signed EPUB URL.
Setting up via RapidAPI
The recommended path for most developers. Five clicks from zero to first generated book.
- Go to the RapidAPI marketplace and search for Scrivibe.
- Click Subscribe on the Free plan (or a paid tier if you need more volume).
- Open the Endpoints tab — your
X-RapidAPI-Keyis automatically injected into every snippet. - Test
POST /v1/bookslive from the dashboard, then copy the language snippet of your choice. - Paste it into your project. Use the returned
job_idto poll status and grab the EPUB download URL.
Authentication header
All RapidAPI calls require two headers — both are auto-filled in the dashboard snippets:
X-RapidAPI-Key: YOUR_RAPIDAPI_KEY
X-RapidAPI-Host: scrivibe.p.rapidapi.com