{"openapi":"3.0.2","components":{"schemas":{"Input":{"type":"object","title":"Input","required":["jewelry_images"],"properties":{"prompt":{"type":"string","title":"Additional Prompt","x-order":2,"description":"Optional additional prompt to refine the jewelry modeling result."},"image_size":{"anyOf":[{"$ref":"#/components/schemas/image_size_enum"}],"title":"Image Size","default":"1_1_1k","x-order":4,"description":"The size of the generated image."},"model_image":{"type":"string","title":"Model Image","format":"uri","x-order":1,"nullable":true,"description":"Optional model/person reference image for jewelry modeling. Supports public URLs or data URIs."},"num_outputs":{"type":"integer","title":"Number of Outputs","default":1,"maximum":4,"minimum":1,"x-order":3,"description":"The number of images to generate."},"jewelry_images":{"type":"array","items":{"type":"string","format":"uri"},"title":"Jewelry Images","x-order":0,"maxItems":2,"minItems":1,"description":"Jewelry image(s) for jewelry modeling. List of 1-2 images. Supports public URLs or data URIs."}},"additionalProperties":false},"Output":{"type":"array","items":{"type":"string","format":"uri"},"title":"Output"},"Status":{"enum":["starting","processing","succeeded","canceled","failed"],"type":"string","title":"Status","description":"The status of the prediction."},"WebhookEvent":{"enum":["start","output","logs","completed"],"type":"string","title":"Webhook Event","description":"Webhook event filter values."},"ValidationError":{"type":"object","title":"ValidationError","required":["loc","msg","type"],"properties":{"loc":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}}},"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","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."},"PredictionRequest":{"type":"object","title":"PredictionRequest","properties":{"id":{"type":"string","title":"Id","nullable":true},"input":{"$ref":"#/components/schemas/Input"},"context":{"type":"object","title":"Context","nullable":true,"additionalProperties":{"type":"string"}},"webhook":{"type":"string","title":"Webhook","format":"uri","nullable":true,"maxLength":65536,"minLength":1},"created_at":{"type":"string","title":"Created At","format":"date-time","nullable":true},"output_file_prefix":{"type":"string","title":"Output File Prefix","nullable":true},"webhook_events_filter":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEvent"},"title":"Webhook Events Filter","default":["start","output","logs","completed"],"nullable":true}}},"PredictionResponse":{"type":"object","title":"PredictionResponse","properties":{"id":{"type":"string","title":"Id","nullable":true},"logs":{"type":"string","title":"Logs","default":""},"error":{"type":"string","title":"Error","nullable":true},"input":{"$ref":"#/components/schemas/Input"},"output":{"$ref":"#/components/schemas/Output"},"status":{"allOf":[{"$ref":"#/components/schemas/Status"}]},"metrics":{"type":"object","title":"Metrics","nullable":true,"additionalProperties":true},"version":{"type":"string","title":"Version","nullable":true},"created_at":{"type":"string","title":"Created At","format":"date-time","nullable":true},"started_at":{"type":"string","title":"Started At","format":"date-time","nullable":true},"completed_at":{"type":"string","title":"Completed At","format":"date-time","nullable":true}}},"HTTPValidationError":{"type":"object","title":"HTTPValidationError","properties":{"detail":{"type":"array","items":{"$ref":"#/components/schemas/ValidationError"},"title":"Detail"}}},"sequential_image_generation":{"enum":["disabled","auto"],"type":"string","title":"Sequential Image Generation","description":"Group image generation mode."}}}}