Generate a cover from reference images (async)
Generates a NEW cover for a book from 1-4 reference images plus art direction. A vision model reads the references and writes a self-contained prompt which the text-to-image chain renders — the image model never receives the reference images, so the output is an original cover in the referenced style, not a derivative. Costs 1 credit. References come from POST /api/v1/uploads (reference_upload_ids) and/or existing covers in the account (reference_cover_ids). Uploads are size-, dimension-, and content-checked, and instructions are moderated, all before the credit is reserved. Covers produced this way have a null coverStyle (they sit outside the template system).
Request
- Base URL: https://beyourcover.com
- URL: https://beyourcover.com/api/v1/covers/generate-reference
- Auth: HTTP bearer
Headers
Optional idempotency key. If a resource/job was already created with the same key (scoped to the API key for jobs, to the user for books), the endpoint returns 200 with the existing resource instead of creating a duplicate. Concurrent duplicates are also collapsed via a unique-constraint retry.
Request body
Response
Idempotent replay of an existing job with the same Idempotency-Key.
Changes
No recorded changes to this operation across all 1 revision of this API.