Edit an existing cover image with a text prompt (async)
Applies an AI image edit to the cover's preview image, producing one new child cover. Costs 1 credit. The source cover must have a preview image. NOTE: the prompt limit on this endpoint is 1000 characters (route-local), not the 1500-character limit used by /covers/generate.
Request
- Base URL: https://beyourcover.com
- URL: https://beyourcover.com/api/v1/covers/{coverId}/edit-image
- Auth: HTTP bearer
Path parameters
The cover's public id (UUID) as returned in job results (covers[].coverId).
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.