Skip to Content
Cut.ProDocs
AI characters

Upload a product photo

Sends one photo of a product as multipart/form-data. JPEG, PNG, WebP or HEIC up to 10 MB; a sharp photo with the label facing the camera gives the most faithful result. rights_confirmed must be true: the user states they may use the product and the photo. Pass the returned id in product.photo_ids of POST /personas/{id}/shots within 24 hours.

Authorization

apiKey
headerX-Api-Key<token>

Path Parameters

id*string

Request Body

multipart/form-data
  1. body
photo*unknown

The image file.

rights_confirmed*"true"

Confirms the user may use the product and this photo.

Value in"true"

Response Body

Response for status 201

application/json
  1. response
id*string

Product photo id, for product.photo_ids.

POST
/personas/{id}/shots/photos
Example Request
curl -X POST 'https://api.cut.pro/api/v1/personas/string/shots/photos' \  -F 'rights_confirmed=true'
Example Response
{  "id": "string"}