Wraps

Re-run the front-panel AI extension (free, async)

Re-runs the AI outpaint that extends the front cover artwork to the full print panel, then recomposes the wrap with its existing back artwork, layout, and spine. Use it when the extension came back with a seam, a framed-picture look, or an unfilled band (see the front_outpaint_incomplete warning on the wrap job). Free — the wrap was already paid for — but it runs an AI chain, so it returns 202 and a job to poll. The equivalent of the wrap editor's "re-extend front" action. Works on Barnes & Noble designs from the editor too: the panel is extended to the wrap's own geometry, a dust jacket's front flap included.

post/api/v1/wraps/{wrapId}/extend-front

Request

  • Base URL: https://beyourcover.com
  • URL: https://beyourcover.com/api/v1/wraps/{wrapId}/extend-front
  • Auth: HTTP bearer

Path parameters

wrapIdstring uuid required

The wrap's id, returned as wrapId in the wrap job result.

Headers

Idempotency-Keystring

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

external_refstring

Your own reference id, echoed on the job and its webhooks.

webhookUrlstring

Overrides the API key's default webhook URL for this job.

Response

Idempotent replay: a job already exists for this Idempotency-Key.

jobIdstring uuid required
status'queued' | 'processing' | 'completed' | 'failed' required

Current status of the previously created job.

operation'generate' | 'variation' | 'edit_image' | 'upscale' | 'audiobook_cover' | 'remove_text' | 'generate_reference' | 'wrap' | 'wrap_extend_front' required
credits_reservedinteger

What the ORIGINAL job reserved. Returned by the variations, edit-image, upscale, audiobook-cover, remove-text, wraps and extend-front endpoints when the job recorded it.

included_formatboolean

true when the book's marketing kit paid for the ORIGINAL job instead of credits. Returned by the edit-image, upscale, audiobook-cover, remove-text, wraps and extend-front endpoints.

external_refstring nullable required

The external_ref stored on the ORIGINAL job.

created_atstring date-time required
poll_urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.