Cut.ProDocs
Generations

Upload a reference image

Sends one image as multipart/form-data, to animate it, use it as a first or last frame, or borrow a person, product or style from it. It goes to the workspace library and counts toward its storage. Pass the returned id in image_ids of POST /generations. An image CutPro generated needs no upload: its output.image_id works the same.

Authorization

apiKey
X-Api-Key<token>

In: header

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

POST
/generations/images
curl -X POST "https://example.com/generations/images" \  -F image="string"
{  "id": "string"}