Skip to main content
POST
https://ai-nebula.com
/
prod-api
/
nebula
/
v4
/
api
/
dressing2Submitv4
Any Shoot - Dressing Mode - Submit Task
curl --request POST \
  --url https://ai-nebula.com/prod-api/nebula/v4/api/dressing2Submitv4 \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cVDressingV4DTO.model.url": "<string>",
  "cVDressingV4DTO.garment.data": [
    {}
  ],
  "cVDressingV4DTO.garment.data[].type": "<string>",
  "cVDressingV4DTO.garment.data[].url": "<string>",
  "cVDressingV4DTO.req_key": "<string>",
  "cVDressingV4DTO.return_url": true,
  "cVDressingV4DTO.inference_config.do_sr": true,
  "cVDressingV4DTO.inference_config.seed": 123,
  "cVDressingV4DTO.inference_config.keep_head": true,
  "cVDressingV4DTO.inference_config.keep_hand": true,
  "cVDressingV4DTO.inference_config.keep_foot": true,
  "cVDressingV4DTO.inference_config.num_steps": 123,
  "cVDressingV4DTO.inference_config.keep_upper": true,
  "cVDressingV4DTO.inference_config.keep_lower": true,
  "cVDressingV4DTO.inference_config.tight_mask": "<string>",
  "cVDressingV4DTO.inference_config.p_bbox_iou_ratio": 123,
  "cVDressingV4DTO.inference_config.p_bbox_expand_ratio": 123,
  "cVDressingV4DTO.inference_config.max_process_side_length": 123,
  "cVDressingV4DTO.logoInfo.add_logo": true,
  "cVDressingV4DTO.logoInfo.position": 123,
  "cVDressingV4DTO.logoInfo.language": 123,
  "cVDressingV4DTO.logoInfo.opacity": 123
}
'
{
  "code": 200,
  "msg": "Operation successful",
  "data": {
    "task_id": "task-1234567890"
  }
}

Introduction

Submit Any Shoot dressing mode task, used for virtual try-on.

Authentication

Authorization
string
required
Bearer Token, e.g., Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9... How to get: Obtain via the POST interface in the Authentication module at the top left, https://docs.openai-nebula.com/en/nebula-lab-v4/endpoint/get-token

Request Parameters

cVDressingV4DTO.model.url
string
required
Model image URL
cVDressingV4DTO.garment.data
object[]
required
Garment asset list
cVDressingV4DTO.garment.data[].type
string
required
Asset type (e.g., image)
cVDressingV4DTO.garment.data[].url
string
required
Asset URL
cVDressingV4DTO.req_key
string
Request key for business correlation or de-duplication
cVDressingV4DTO.return_url
boolean
Whether to return the result URL directly
cVDressingV4DTO.inference_config.do_sr
boolean
Enable super-resolution
cVDressingV4DTO.inference_config.seed
integer
Random seed
cVDressingV4DTO.inference_config.keep_head
boolean
Keep head
cVDressingV4DTO.inference_config.keep_hand
boolean
Keep hands
cVDressingV4DTO.inference_config.keep_foot
boolean
Keep feet
cVDressingV4DTO.inference_config.num_steps
integer
Number of generation steps
cVDressingV4DTO.inference_config.keep_upper
boolean
Keep upper body
cVDressingV4DTO.inference_config.keep_lower
boolean
Keep lower body
cVDressingV4DTO.inference_config.tight_mask
string
Tight mask
cVDressingV4DTO.inference_config.p_bbox_iou_ratio
number
Person bbox IOU ratio
cVDressingV4DTO.inference_config.p_bbox_expand_ratio
number
Person bbox expand ratio
cVDressingV4DTO.inference_config.max_process_side_length
integer
Max process side length
Whether to add Logo
cVDressingV4DTO.logoInfo.position
integer
Logo position
cVDressingV4DTO.logoInfo.language
integer
Logo language
cVDressingV4DTO.logoInfo.opacity
number
Logo opacity

Example Code

curl -X POST "https://ai-nebula.com/prod-api/nebula/v4/api/dressing2Submitv4" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-xxxxxxxxxx" \
  -d '{
    "imageUrl": "https://example.com/model.jpg",
    "clothingUrl": "https://example.com/clothing.jpg"
  }'

Response Example

{
  "code": 200,
  "msg": "Operation successful",
  "data": {
    "task_id": "task-1234567890"
  }
}