V1InpaintOrigin
Update inpaint origin asset
Appends a new taskId to an existing inpaint origin asset and updates the mask URL.
Appends a new taskId to an existing inpaint origin asset and updates the mask URL.
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
application/json
curl -X PUT "http://localhost:3002/v1/inpaint/origin" \ -H "Content-Type: application/json" \ -d '{ "storageKey": "string", "newTaskId": "string", "maskUrl": "string" }'{
"success": true,
"error": "string"
}{
"success": true,
"error": "string"
}