inference.recraft.v4.pro.txt2vec.v1
Schema
Section titled “Schema”{ "type": "object", "required": [ "type", "config" ], "properties": { "type": { "type": "string", "enum": [ "inference.recraft.v4.pro.txt2vec.v1" ] }, "config": { "type": "object", "additionalProperties": false, "required": [ "prompt" ], "properties": { "prompt": { "type": "string", "minLength": 0, "maxLength": 10000, "examples": [ "a minimalist logo of a mountain" ] }, "size": { "type": "string", "default": "2048x2048", "enum": [ "2048x2048", "3072x1536", "1536x3072", "2560x1664", "1664x2560", "2432x1792", "1792x2432", "2304x1792", "1792x2304", "1664x2688", "2560x1792", "1792x2560", "2688x1536", "1536x2688" ] }, "controls": { "type": "object", "additionalProperties": false, "properties": { "colors": { "type": "array", "items": { "type": "object", "additionalProperties": false, "required": [ "rgb" ], "properties": { "rgb": { "type": "array", "minLength": 3, "maxLength": 3, "items": { "type": "integer", "minimum": 0, "maximum": 255 } } } } }, "background_color": { "type": "object", "additionalProperties": false, "required": [ "rgb" ], "properties": { "rgb": { "type": "array", "minLength": 3, "maxLength": 3, "items": { "type": "integer", "minimum": 0, "maximum": 255 } } } } } } } } }}