changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "properties": {
- "gender": {
- "description": "Gender of the person in the image.",
- "enum": [
- "female",
- "male"
- ],
- "examples": [
- "female"
- ],
- "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"
- },
- "style": {
- "anyOf": [
- {
- "enum": [
- "random",
- "style_minimalist",
- "style_bohemian",
- "style_cottagecore",
- "style_french_elegance",
- "style_retro_fashion"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "random",
- "description": "To control outfit and background style.",
- "examples": [
- "random"
- ]
- }
- },
- "required": [
- "gender",
- "src_file_url",
- "ref_file_url"
- ],
- "type": "object"
- },
- {
- "properties": {
- "gender": {
- "description": "Gender of the person in the image.",
- "enum": [
- "female",
- "male"
- ],
- "examples": [
- "female"
- ],
- "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"
- },
- "style": {
- "anyOf": [
- {
- "enum": [
- "random",
- "style_minimalist",
- "style_bohemian",
- "style_cottagecore",
- "style_french_elegance",
- "style_retro_fashion"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "random",
- "description": "To control outfit and background style.",
- "examples": [
- "random"
- ]
- }
- },
- "required": [
- "gender",
- "src_file_url",
- "ref_file_id"
- ],
- "type": "object"
- },
- {
- "properties": {
- "gender": {
- "description": "Gender of the person in the image.",
- "enum": [
- "female",
- "male"
- ],
- "examples": [
- "female"
- ],
- "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"
- },
- "style": {
- "anyOf": [
- {
- "enum": [
- "random",
- "style_minimalist",
- "style_bohemian",
- "style_cottagecore",
- "style_french_elegance",
- "style_retro_fashion"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "random",
- "description": "To control outfit and background style.",
- "examples": [
- "random"
- ]
- }
- },
- "required": [
- "gender",
- "src_file_id",
- "ref_file_url"
- ],
- "type": "object"
- },
- {
- "properties": {
- "gender": {
- "description": "Gender of the person in the image.",
- "enum": [
- "female",
- "male"
- ],
- "examples": [
- "female"
- ],
- "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"
- },
- "style": {
- "anyOf": [
- {
- "enum": [
- "random",
- "style_minimalist",
- "style_bohemian",
- "style_cottagecore",
- "style_french_elegance",
- "style_retro_fashion"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": "random",
- "description": "To control outfit and background style.",
- "examples": [
- "random"
- ]
- }
- },
- "required": [
- "gender",
- "src_file_id",
- "ref_file_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "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"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "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"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "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"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "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"
+ ],
+ "type": "object"
+ }
+]