PixelDance
V1InpaintOrigin

Create inpaint origin asset

POST
/v1/inpaint/origin

Authorization

cookieAuth
better-auth.session_token<token>

Session cookie set by Better Auth. Login via the app to obtain.

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "http://localhost:3002/v1/inpaint/origin" \  -H "Content-Type: application/json" \  -d '{    "taskId": "string",    "storageKey": "string",    "maskUrl": "string",    "width": 0,    "height": 0,    "contentType": "string",    "fileSize": 0  }'
{
  "success": true,
  "assetId": "string"
}