Pin one headshot candidate as the person's face on the cast canon.
Pins candidate candidate (1-based) of design designId as the person's headshot on the cast canon, with the prompt it was drawn from: every new episode, deck, trailer and showcase draws them from it. Free (the candidates were paid for). A NEW face clears the canon body shot and character sheet, because they were drawn from the previous face (cleared; previous keeps the old urls): draw them again with POST /story-projects/{projectId}/cast for this character. Choosing the face already pinned changes nothing. A candidate still being drawn, or that could not be drawn, is a 409 cast_precondition_failed. Requires Idempotency-Key. Scope: story:write.
Request
- Base URL: https://docs.sleeperhit.studio/api/v1
- URL: https://docs.sleeperhit.studio/api/v1/story-projects/{projectId}/cast-portraits/choose
- Auth: HTTP bearer
Headers
Customer-generated stable identifier for safe retries of idempotent POST requests.
Request body
Response
The face pinned, and what it cleared.
Changes
No recorded changes to this operation across all 2 revisions of this API.