addedInput schema / $schema
Added value: +"http://json-schema.org/draft-07/schema#"
addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / imageConfig
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "aspectRatio": {
+ "enum": [
+ "1:1",
+ "2:3",
+ "3:2",
+ "3:4",
+ "4:3",
+ "4:5",
+ "5:4",
+ "9:16",
+ "16:9",
+ "21:9",
+ "1:4",
+ "4:1",
+ "1:8",
+ "8:1"
+ ],
+ "type": "string"
+ },
+ "imageSize": {
+ "enum": [
+ "1K",
+ "2K",
+ "4K"
+ ],
+ "type": "string"
+ },
+ "quality": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
addedInput schema / properties / model
Added value: +{
+ "description": "图片生成模型,默认 gemini-3-pro-image。选择建议:gemini-3-pro-image 综合最强、指令遵循和文字渲染好(15 积分/1K-2K);gemini-3.1-flash-image 快速便宜的日常生成(10 积分);gpt-image-2 性价比最高(4 积分起);gpt-image-2.5-flare 偏快速出图,gpt-image-2.5-sunburst 偏细节密集;两者同价,具体尺寸和积分先用 estimate_credits 查询;wan2.7-image-pro / wan2.7-image 写实与海报风格;seedream-5-0-pro 擅长精准局部编辑(配合参考图使用)",
+ "enum": [
+ "gemini-3-pro-image",
+ "gemini-3.1-flash-image",
+ "gpt-image-2",
+ "gpt-image-2.5-flare",
+ "gpt-image-2.5-sunburst",
+ "wan2.7-image-pro",
+ "wan2.7-image",
+ "seedream-5-0-pro"
+ ],
+ "type": "string"
+}
addedInput schema / properties / prompt
Added value: +{
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / referenceImages
Added value: +{
+ "description": "图生图 / 改图的参考图片,支持 fileUri(gs:// 或 https://)或 base64 inlineData",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "fileData": {
+ "additionalProperties": false,
+ "properties": {
+ "fileUri": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "fileUri"
+ ],
+ "type": "object"
+ },
+ "inlineData": {
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "mimeType": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "data"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "maxItems": 14,
+ "type": "array"
+}
addedInput schema / required
Added value: +[
+ "prompt"
+]