Skip to main content
PATCH
/
v1
/
faces
/
{face_id}
Update Face
curl --request PATCH \
  --url https://api.faces.sh/v1/faces/{face_id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "basic_facts": {},
  "default_tools": [
    "<string>"
  ],
  "default_model": "<string>",
  "formula": "<string>"
}
'
{
  "id": "<string>",
  "created": 123,
  "owned_by": "<string>",
  "uid": "<string>",
  "object": "face",
  "name": "<string>",
  "basic_facts": {},
  "default_tools": [
    "<string>"
  ],
  "default_model": "<string>",
  "formula": "<string>"
}

Headers

authorization
string | null

Path Parameters

face_id
string
required

Body

application/json

Request to update a face.

name
string | null
basic_facts
Basic Facts · object
default_tools
string[] | null
default_model
string | null
formula
string | null

Response

Successful Response

Public representation of a user-created face (model IAM).

id
string
required
created
integer
required
owned_by
string
required
uid
string | null
object
string
default:face
name
string | null
basic_facts
Basic Facts · object
default_tools
string[] | null
default_model
string | null
formula
string | null