Skip to main content
POST
/
v1
/
phota
/
profiles
/
add
Add Profile
curl --request POST \
  --url https://api.photalabs.com/v1/phota/profiles/add \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "image_urls": [
    "<string>"
  ]
}
'
{
  "profile_id": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

Request body for creating a new profile.

image_urls
string[]
required

Publicly accessible URLs pointing to the training images.

Required array length: 30 - 50 elements

Response

Successful Response

Response returned after a profile is created.

profile_id
string
required

Unique identifier for the new profile. Use this to poll training status.