Finalize Template

Promote one or more chosen candidates from a draft to live templates.

The first picked index finalizes the draft row in place. Each remaining picked index is cloned into a fresh ai_gen row so the gallery shows N independent entries.

Rejects:

  • 404: template id missing / owned by someone else / not an ai_gen draft.
  • 409: draft already finalized (is_active=true already).
  • 422: any picked index is out of range, duplicated, OR points at a candidate whose anatomy gate failed.
post/api/hand-templates/{template_id}/finalize

Request

  • Base URL: https://api.tintin-x.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.tintin-x.com/api/hand-templates/{template_id}/finalize
  • Auth: HTTP bearer

Path parameters

template_idstring uuid required

Request body

picked_indicesinteger[] required

Response

Successful Response

Changes

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