Cut.ProDocs
AI characters

Create a persona photo

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.

Authorization

apiKey
X-Api-Key<token>

In: header

Path Parameters

id*string

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

POST
/personas/{id}/shots
curl -X POST "https://example.com/personas/string/shots" \  -H "Content-Type: application/json" \  -d '{    "aspect_ratio": "9:16",    "credits": 0  }'
{  "id": "string",  "status": "processing",  "credits_charged": 0}