AI eBook generation API

Generate complete, multi-chapter EPUB books with a single REST call. JSON responses, async job processing, 72-hour secure download links. Exclusively available via RapidAPI.

5
REST endpoints
100+
Genres & themes
1–24
Chapters per book
EPUB 3
Output format
~8 min
Average job time
RapidAPI marketplace

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-Key header.
  • 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.
Available on the RapidAPI marketplace. Subscribe to the free or paid plan, copy your X-RapidAPI-Key, and you're done.
Open on RapidAPI
RapidAPI-only access

All API traffic goes through RapidAPI

Direct calls to scrivibe.com/v1 without a valid RapidAPI proxy header are rejected with 401 Unauthorized. This ensures every request is authenticated, metered, and covered by RapidAPI's rate-limit infrastructure.

  • No Scrivibe account needed — authentication is handled entirely by RapidAPI. One key covers all endpoints.
  • Billing through RapidAPI — usage quotas, plan upgrades, and invoices are managed on the RapidAPI dashboard, not on Scrivibe.
  • EPUB files available for 72 hours after generation completes — download promptly, as expired files cannot be recovered.

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

GET
/v1/genres
List all available genres, content types, and themes.
POST
/v1/books
Start a generation job. Returns a job_id and queues async chapter generation.
GET
/v1/books/{job_id}
Poll job status — returns progress, chapter count completed, and final status.
GET
/v1/books/{job_id}/epub
Download the completed EPUB file directly (application/epub+zip). Available for 72 hours after generation.
GET
/v1/health
Service health check. Returns {"status":"ok"}.

How it works

1

Get an API key

Subscribe on RapidAPI — free tier available, takes about 30 seconds. Your X-RapidAPI-Key is auto-injected into every request.

2

Start a job

POST a title, content type, theme, and chapter count to /v1/books. You get back a job_id immediately.

3

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.

  1. Go to the RapidAPI marketplace and search for Scrivibe.
  2. Click Subscribe on the Free plan (or a paid tier if you need more volume).
  3. Open the Endpoints tab — your X-RapidAPI-Key is automatically injected into every snippet.
  4. Test POST /v1/books live from the dashboard, then copy the language snippet of your choice.
  5. Paste it into your project. Use the returned job_id to 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