Characters

Update a character

Renames a character, or gives it new pictures in place of all the old ones; Leap then reads its look again. Runs that named it stay as they ran.

Needs an API key with the generations:write scope.

patch/v1/characters/{id}

Request

  • Base URL: https://api.tryleap.ai
  • URL: https://api.tryleap.ai/v1/characters/{id}
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

idstring required

The character's ID, chr_....

Request body

namestring

A new name.

imagesstring[]

New pictures, in place of all the old ones. Leap reads its look again from them.

Response

The character.

idstring required

The character's ID, chr_.... Pass it wherever a model or recipe takes an image file.

object'character' required
betatrue required

This endpoint is in beta: its shape can change, or it can go away, without the 180-day notice stable endpoints get.

namestring required

The character's name.

created_atstring date-time required

When it was made.

updated_atstring date-time required

When its name or pictures last changed.

Changes

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