{"info":{"title":"API","version":"0.1.0"},"paths":{"/health-check":{"get":{"summary":"Healthcheck","responses":{"200":{"content":{"application/json":{"schema":{"title":"Response Healthcheck Health Check Get"}}},"description":"Successful Response"}},"operationId":"healthcheck_health_check_get"}}},"openapi":"3.1.0","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["prompt"],"properties":{"prompt":{"type":"string","title":"Prompt","x-order":0,"description":"The text prompt used to generate the image"},"image_size":{"anyOf":[{"$ref":"#/components/schemas/ImageSize"},{"$ref":"#/components/schemas/image_size_enum"}],"title":"Image Size","default":"4_3_1k","x-order":1,"description":"The size of the generated image. Use a preset string (e.g. '4_3_1k') or a custom {width, height} object."},"max_images":{"type":"integer","title":"Max Images","default":1,"maximum":6,"minimum":1,"x-order":3,"description":"If set to a number greater than one, enables multi-image generation. The model will potentially return up to `max_images` images every generation, and in total, `num_images` generations will be carried out. In total, the number of images generated will be between `num_images` and `max_images*num_images`."},"num_images":{"type":"integer","title":"Num Images","default":1,"maximum":6,"minimum":1,"x-order":2,"description":"Number of separate model generations to be run with the prompt."},"enable_safety_checker":{"type":"boolean","title":"Enable Safety Checker","default":true,"x-order":4,"disabled":true,"description":"If set to true, the safety checker will be enabled. This setting can only be configured via the API."}}},"Output":{"type":"array","items":{"type":"string","format":"uri"},"title":"Output"},"ImageSize":{"type":"object","title":"ImageSize","properties":{"width":{"type":"integer","title":"Width","default":512,"maximum":14142,"description":"The width of the generated image.","exclusiveMinimum":0},"height":{"type":"integer","title":"Height","default":512,"maximum":14142,"description":"The height of the generated image.","exclusiveMinimum":0}}},"image_size_enum":{"enum":["1_1_512","1_1_1k","1_1_2k","1_1_4k","16_9_512","16_9_1k","16_9_2k","16_9_4k","9_16_512","9_16_1k","9_16_2k","9_16_4k","4_3_512","4_3_1k","4_3_2k","4_3_4k","3_4_512","3_4_1k","3_4_2k","3_4_4k","3_2_512","3_2_1k","3_2_2k","3_2_4k","2_3_512","2_3_1k","2_3_2k","2_3_4k","4_5_512","4_5_1k","4_5_2k","4_5_4k","5_4_512","5_4_1k","5_4_2k","5_4_4k","4_1_512","4_1_1k","4_1_2k","4_1_4k","1_4_512","1_4_1k","1_4_2k","1_4_4k","8_1_512","8_1_1k","8_1_2k","8_1_4k","1_8_512","1_8_1k","1_8_2k","1_8_4k","21_9_512","21_9_1k","21_9_2k","21_9_4k"],"type":"string","title":"image_size_enum","description":"Preset image sizes using {W}_{H}_{resolution} naming (e.g. 4_3_1k, 16_9_2k)."}}}}