You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "A positive prompt that describes the desired elements and visual features in the edited image."
33
+
},
34
+
"image_urls": {
35
+
"type": "array",
36
+
"items": {
37
+
"type": "string",
38
+
"format": "uri"
39
+
},
40
+
"minItems": 1,
41
+
"maxItems": 3,
42
+
"description": "List of URLs or local Base64 encoded images to edit."
43
+
},
44
+
"image_size": {
45
+
"anyOf": [
46
+
{
47
+
"type": "object",
48
+
"properties": {
49
+
"width": {
50
+
"type": "integer",
51
+
"minimum": 512,
52
+
"maximum": 1440
53
+
},
54
+
"height": {
55
+
"type": "integer",
56
+
"minimum": 512,
57
+
"maximum": 1440
58
+
}
59
+
},
60
+
"required": [
61
+
"width",
62
+
"height"
63
+
],
64
+
"description": "For both height and width, the value must be a multiple of 32."
65
+
},
66
+
{
67
+
"type": "string",
68
+
"enum": [
69
+
"square_hd",
70
+
"square",
71
+
"portrait_4_3",
72
+
"portrait_16_9",
73
+
"landscape_4_3",
74
+
"landscape_16_9"
75
+
],
76
+
"description": "The size of the generated image."
77
+
}
78
+
],
79
+
"default": "landscape_4_3",
80
+
"description": "The size of the generated image."
81
+
},
82
+
"enhance_prompt": {
83
+
"type": "boolean",
84
+
"default": true,
85
+
"description": "Optional parameter to use an LLM-based prompt rewriting feature for higher-quality images that better match the original prompt. Disabling it may affect image quality and prompt alignment."
86
+
},
87
+
"negative_prompt": {
88
+
"type": "string",
89
+
"maxLength": 500,
90
+
"description": "The description of elements to avoid in the generated image."
91
+
},
92
+
"seed": {
93
+
"type": "integer",
94
+
"minimum": 0,
95
+
"maximum": 2147483647,
96
+
"description": "The same seed and the same prompt given to the same version of the model will output the same image every time."
97
+
},
98
+
"watermark": {
99
+
"type": "boolean",
100
+
"default": false,
101
+
"description": "Add an invisible watermark to the generated images."
102
+
}
103
+
},
104
+
"required": [
105
+
"model",
106
+
"prompt"
107
+
],
108
+
"title": "alibaba/wan-2-6-image"
109
+
}
110
+
}
111
+
}
112
+
},
113
+
"responses": {
114
+
"200": {
115
+
"content": {
116
+
"application/json": {
117
+
"schema": {
118
+
"type": "object",
119
+
"properties": {
120
+
"data": {
121
+
"type": "array",
122
+
"nullable": true,
123
+
"items": {
124
+
"type": "object",
125
+
"properties": {
126
+
"url": {
127
+
"type": "string",
128
+
"nullable": true,
129
+
"description": "The URL where the file can be downloaded from.",
0 commit comments