PixelDance
V1ImageTasksIdUploads

Create upload assets for a task

Batch creates upload asset records for image-to-image reference images.

POST
/v1/image/tasks/{id}/uploads

Batch creates upload asset records for image-to-image reference images.

Authorization

cookieAuth
better-auth.session_token<token>

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

In: cookie

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "http://localhost:3002/v1/image/tasks/string/uploads" \  -H "Content-Type: application/json" \  -d '{    "entries": [      {        "storageKey": "string"      }    ]  }'
{
  "success": true,
  "error": "string"
}