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
X-Api-Key<token>

In: header

Path Parameters

id*string

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

POST
/personas/{id}/shots/photos
curl -X POST "https://example.com/personas/string/shots/photos" \  -F photo="string" \  -F rights_confirmed="true"
{  "id": "string"}