List a persona's photos
Returns the photos made with this persona, newest first, with signed image URLs for the finished ones.
apiKeyX-Api-Key<token>id*stringpage?numberPage number (default: 1)
1 <= valuelimit?numberItems per page (default: 20, max: 100)
1 <= value <= 100Response for status 200
application/json- response
shots*array<>pagination*curl -X GET 'https://api.cut.pro/api/v1/personas/string/shots'{ "shots": [ { "id": "string", "status": "processing", "version_id": "string", "scene": "string", "template": "mirror", "product": { "name": "string", "description": "string", "price": "string", "action": "show", "photo_ids": [ "string" ] }, "style": "cel", "aspect_ratio": "9:16", "credits_charged": 0, "image_url": "string", "expected_seconds": 0, "error_code": "MEDIA_REJECTED", "feedback": "up", "created_at": "string" } ], "pagination": { "current_page": 0, "total_pages": 0, "total_count": 0, "has_next_page": true, "has_previous_page": true, "limit": 0 }}Upload a product photo POST
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.
Create a persona photo POST
Draws a saved persona into a ready `template` scene or into a `scene` you write, optionally holding a product from `product.photo_ids`. A template also decides what the persona does with the product: it is held up to the camera, or used with one hand on `street`. A written `scene` replaces the template, and there `product.action` is `show` (holds it up to the camera, the default) or `use` (uses it with one hand); with neither, a template is picked at random. A written scene that needs both hands on the product (spreading, pouring, opening, eating) is refused with `SCENE_ACTION_UNSUPPORTED` before anything is charged. Costs `pricing.scene_photo_credits` of `GET /personas/catalog`, twice that with a `style`, even on a workspace with unlimited usage, and is refunded automatically if it fails; send that price in `credits`, or the server answers `409 PRICE_CHANGED` with the right one in `extra`. Responds `202`. Poll `GET /personas/{id}/shots/{shotId}` every 5 seconds until `ready` or `failed`.