Overview
Edit product images with the product mode. The clothing mode is deprecated; use Virtual Try-On for garment previews. This endpoint does not provide inpainting or outpainting.
Primary Endpoint
/api/v1/userImageEdit/startThis endpoint no longer creates tasks for product or clothing editing. It immediately returns business code 100008 without charging credits. For product images use POST /api/v1/productAvatar/start with image_urls and the required product_rect placement; the old request body is not directly compatible. For clothing use POST /api/v1/virtualTryOn/start. Existing Image Edit records remain accessible through the query endpoints. ### Request - Send a valid bearer token. The server evaluates the operation in the authenticated caller's access context. - No request body or operation-specific parameters are required. ### Behavior - This operation is deprecated: every call is rejected with business code `100008` and performs no processing. - No task, record, or charge is created; follow the migration guidance above instead of retrying this operation. ### Response - A `200` response carries business code `100008` and the deprecation message; it contains no task data. - JSON object responses, including error responses, normally carry a top-level `trace_id` string for this request; include it when contacting support. It is not a task identifier. - Do not infer undocumented fields or statuses; clients should tolerate additional response properties. ### Errors - `401` — Unauthorized - Invalid or missing JWT token. ### Related Operations - `GET /api/v1/userImageEdit/allRecords` — Get all task records. - `GET /api/v1/userImageEdit/{_id}` — Get task details. - `DELETE /api/v1/userImageEdit/{_id}` — Delete task. Authentication: set header Authorization: Bearer <token> (supports user JWT or sk_ API token).
Response Fields
- code: enum: 100008
- msg: string
- data: object
- trace_id: string
- Trace ID of this HTTP request. Include it when contacting support about this request. It is generated per request and is not a task identifier; use the returned task `_id` to query results.
Related Endpoints
Responses
Endpoint deprecated (code 100008). No task is created or credits charged.
Unauthorized - Invalid or missing bearer token