Cut.ProDocs
Personas

Price a swap video

Measures a library video and returns what swapping its person for a persona costs at the given quality. Nothing is charged. Pass the returned credits to POST /personas/{id}/videos with type: swap and the same quality, which refuses with PRICE_CHANGED if the price is different. replace does not change the price.

VIDEO_DURATION_OUT_OF_RANGE and VIDEO_UNSUPPORTED (format, size or resolution) follow video_limits of GET /personas/catalog for that quality; a video refused at standard may still fit high.

Authorization

apiKey
X-Api-Key<token>

In: header

Query Parameters

media_id*string

The media_id from POST /personas/sources/upload, or any video already in the library.

quality?string

standard follows the persona's traits and is the cheapest, up to video_limits.standard.max_seconds. high also follows the persona's photos, keeps the face closest to them and takes longer videos, at a higher price; prefer it for personas made from face photos.

Default"standard"

Value in

  • "standard"
  • "high"
replace?string

What of the video's main person becomes the persona: head changes only the head and hair and keeps the body and outfit, person replaces the whole person, body and outfit included.

Default"head"

Value in

  • "head"
  • "person"

Response Body

application/json

application/json

application/json

application/json

GET
/personas/swap/quote
curl -X GET "https://example.com/personas/swap/quote?media_id=string"
{  "media_id": "string",  "quality": "standard",  "replace": "head",  "seconds": 0,  "credits": 0}