changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "properties": {
- "change_shoes": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": true,
- "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
- },
- "garment_category": {
- "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
- "enum": [
- "full_body",
- "lower_body",
- "upper_body",
- "shoes",
- "auto",
- "outer"
- ],
- "type": "string"
- },
- "ref_file_url": {
- "description": "Url of the reference file to run task. The url should be publicly accessible.",
- "examples": [
- "https://example.com/reference.jpg"
- ],
- "type": "string"
- },
- "src_file_url": {
- "description": "Url of the file to run task. The url should be publicly accessible.",
- "examples": [
- "https://example.com/selfie.jpg"
- ],
- "type": "string"
- }
- },
- "required": [
- "src_file_url",
- "ref_file_url",
- "garment_category"
- ],
- "type": "object"
- },
- {
- "properties": {
- "change_shoes": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": true,
- "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
- },
- "garment_category": {
- "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
- "enum": [
- "full_body",
- "lower_body",
- "upper_body",
- "shoes",
- "auto",
- "outer"
- ],
- "type": "string"
- },
- "ref_file_id": {
- "description": "ID of the reference file to run task. File ID from upload file API.",
- "examples": [
- "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
- ],
- "type": "string"
- },
- "src_file_url": {
- "description": "Url of the file to run task. The url should be publicly accessible.",
- "examples": [
- "https://example.com/selfie.jpg"
- ],
- "type": "string"
- }
- },
- "required": [
- "src_file_url",
- "ref_file_id",
- "garment_category"
- ],
- "type": "object"
- },
- {
- "properties": {
- "change_shoes": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": true,
- "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
- },
- "garment_category": {
- "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
- "enum": [
- "full_body",
- "lower_body",
- "upper_body",
- "shoes",
- "auto",
- "outer"
- ],
- "type": "string"
- },
- "ref_file_url": {
- "description": "Url of the reference file to run task. The url should be publicly accessible.",
- "examples": [
- "https://example.com/reference.jpg"
- ],
- "type": "string"
- },
- "src_file_id": {
- "description": "ID of file to run task. File ID from upload file API.",
- "examples": [
- "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
- ],
- "type": "string"
- }
- },
- "required": [
- "src_file_id",
- "ref_file_url",
- "garment_category"
- ],
- "type": "object"
- },
- {
- "properties": {
- "change_shoes": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "default": true,
- "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
- },
- "garment_category": {
- "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
- "enum": [
- "full_body",
- "lower_body",
- "upper_body",
- "shoes",
- "auto",
- "outer"
- ],
- "type": "string"
- },
- "ref_file_id": {
- "description": "ID of the reference file to run task. File ID from upload file API.",
- "examples": [
- "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
- ],
- "type": "string"
- },
- "src_file_id": {
- "description": "ID of file to run task. File ID from upload file API.",
- "examples": [
- "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
- ],
- "type": "string"
- }
- },
- "required": [
- "src_file_id",
- "ref_file_id",
- "garment_category"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "change_shoes": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": true,
+ "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
+ },
+ "filter_multi_person": {
+ "anyOf": [
+ {
+ "enum": [
+ "off",
+ "normal",
+ "strict"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "off",
+ "description": "Filter out multi-person cases in the source image and the human reference image.\n<br> `off` - No filtering. The engine uses the largest person in the image.\n<br> `normal` - Reject when another person is comparable in size to the main subject, or is clearly visible on the same plane, such as standing nearby with a sharp, recognizable face. Typical group or two-person photos. Distant or blurry background people are ignored.\n<br> `strict` - Reject when any additional person is visible, including small, distant, background, or blurry / out-of-focus people.\n"
+ },
+ "garment_category": {
+ "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
+ "enum": [
+ "full_body",
+ "lower_body",
+ "upper_body",
+ "shoes",
+ "auto",
+ "outer"
+ ],
+ "type": "string"
+ },
+ "ref_file_url": {
+ "description": "Url of the reference file to run task. The url should be publicly accessible.",
+ "examples": [
+ "https://example.com/reference.jpg"
+ ],
+ "type": "string"
+ },
+ "src_file_url": {
+ "description": "Url of the file to run task. The url should be publicly accessible.",
+ "examples": [
+ "https://example.com/selfie.jpg"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "src_file_url",
+ "ref_file_url",
+ "garment_category"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "change_shoes": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": true,
+ "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
+ },
+ "filter_multi_person": {
+ "anyOf": [
+ {
+ "enum": [
+ "off",
+ "normal",
+ "strict"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "off",
+ "description": "Filter out multi-person cases in the source image and the human reference image.\n<br> `off` - No filtering. The engine uses the largest person in the image.\n<br> `normal` - Reject when another person is comparable in size to the main subject, or is clearly visible on the same plane, such as standing nearby with a sharp, recognizable face. Typical group or two-person photos. Distant or blurry background people are ignored.\n<br> `strict` - Reject when any additional person is visible, including small, distant, background, or blurry / out-of-focus people.\n"
+ },
+ "garment_category": {
+ "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
+ "enum": [
+ "full_body",
+ "lower_body",
+ "upper_body",
+ "shoes",
+ "auto",
+ "outer"
+ ],
+ "type": "string"
+ },
+ "ref_file_id": {
+ "description": "ID of the reference file to run task. File ID from upload file API.",
+ "examples": [
+ "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
+ ],
+ "type": "string"
+ },
+ "src_file_url": {
+ "description": "Url of the file to run task. The url should be publicly accessible.",
+ "examples": [
+ "https://example.com/selfie.jpg"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "src_file_url",
+ "ref_file_id",
+ "garment_category"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "change_shoes": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": true,
+ "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
+ },
+ "filter_multi_person": {
+ "anyOf": [
+ {
+ "enum": [
+ "off",
+ "normal",
+ "strict"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "off",
+ "description": "Filter out multi-person cases in the source image and the human reference image.\n<br> `off` - No filtering. The engine uses the largest person in the image.\n<br> `normal` - Reject when another person is comparable in size to the main subject, or is clearly visible on the same plane, such as standing nearby with a sharp, recognizable face. Typical group or two-person photos. Distant or blurry background people are ignored.\n<br> `strict` - Reject when any additional person is visible, including small, distant, background, or blurry / out-of-focus people.\n"
+ },
+ "garment_category": {
+ "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
+ "enum": [
+ "full_body",
+ "lower_body",
+ "upper_body",
+ "shoes",
+ "auto",
+ "outer"
+ ],
+ "type": "string"
+ },
+ "ref_file_url": {
+ "description": "Url of the reference file to run task. The url should be publicly accessible.",
+ "examples": [
+ "https://example.com/reference.jpg"
+ ],
+ "type": "string"
+ },
+ "src_file_id": {
+ "description": "ID of file to run task. File ID from upload file API.",
+ "examples": [
+ "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "src_file_id",
+ "ref_file_url",
+ "garment_category"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "change_shoes": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": true,
+ "description": "Control whether shoes should be swapped when a full body reference image with shoes is available for processing.\n<br> Have effect when `garment_category` is `full_body` or `lower_body`\n"
+ },
+ "filter_multi_person": {
+ "anyOf": [
+ {
+ "enum": [
+ "off",
+ "normal",
+ "strict"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": "off",
+ "description": "Filter out multi-person cases in the source image and the human reference image.\n<br> `off` - No filtering. The engine uses the largest person in the image.\n<br> `normal` - Reject when another person is comparable in size to the main subject, or is clearly visible on the same plane, such as standing nearby with a sharp, recognizable face. Typical group or two-person photos. Distant or blurry background people are ignored.\n<br> `strict` - Reject when any additional person is visible, including small, distant, background, or blurry / out-of-focus people.\n"
+ },
+ "garment_category": {
+ "description": "The category of garment of reference image. It's required if reference image provided. Utilize the \"auto\" parameter to allow the AI engine to automatically identify and classify garment categories.",
+ "enum": [
+ "full_body",
+ "lower_body",
+ "upper_body",
+ "shoes",
+ "auto",
+ "outer"
+ ],
+ "type": "string"
+ },
+ "ref_file_id": {
+ "description": "ID of the reference file to run task. File ID from upload file API.",
+ "examples": [
+ "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
+ ],
+ "type": "string"
+ },
+ "src_file_id": {
+ "description": "ID of file to run task. File ID from upload file API.",
+ "examples": [
+ "pfNK5PuRe0MrwLHcGA3DOmB1ahwfXTbYHjv+KoBIxbE="
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "src_file_id",
+ "ref_file_id",
+ "garment_category"
+ ],
+ "type": "object"
+ }
+]