{
"contentType": "application/json",
"properties": {
"contents": {
"items": {
"properties": {
"parts": {
"items": {
"properties": {
"inline_data": {
"properties": {
"data": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"mime_type",
"data"
],
"type": "object"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"generationConfig": {
"properties": {
"responseModalities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"responseModalities"
],
"type": "object"
},
"response_format": {
"description": "填url返回url,不填默认base64",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Fill in the url and return the url, if not fill in the default base64"
}
}
}
},
"required": [
"contents",
"generationConfig"
]
}{
"contentType": "application/json",
"properties": {
"contents": {
"items": {
"properties": {
"parts": {
"items": {
"properties": {
"inline_data": {
"properties": {
"data": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"mime_type",
"data"
],
"type": "object"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"generationConfig": {
"properties": {
"responseModalities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"responseModalities"
],
"type": "object"
},
"response_format": {
"description": "填url返回url,不填默认base64",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Fill in the url and return the url, if not fill in the default base64"
}
}
}
},
"required": [
"contents",
"generationConfig"
]
}{
"contentType": "application/json",
"properties": {
"contents": {
"items": {
"properties": {
"parts": {
"items": {
"properties": {
"inline_data": {
"properties": {
"data": {
"type": "string"
},
"mime_type": {
"type": "string"
}
},
"required": [
"mime_type",
"data"
],
"type": "object"
},
"text": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"generationConfig": {
"properties": {
"responseModalities": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"responseModalities"
],
"type": "object"
},
"response_format": {
"description": "填url返回url,不填默认base64",
"type": "string",
"x-i18n": {
"en-US": {
"description": "Fill in the url and return the url, if not fill in the default base64"
}
}
}
},
"required": [
"contents",
"generationConfig"
]
}