{"openapi":"3.1.0","info":{"title":"Lozura Commercial API","description":"Lozura — Haute Joaillerie & Horology Tabletop AI Studio & Commercial API (`v1`). Pure Tabletop / Zero-Hands studio photography, 4K 300 DPI print masters, transparent RGBA cutouts, and 24fps luxury light-sweep sparkle videos.","version":"1.0.0"},"paths":{"/v1/health":{"get":{"tags":["System"],"summary":"Health","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health V1 Health Get"}}}}}}},"/v1/config":{"get":{"tags":["System"],"summary":"Public Config","operationId":"public_config_v1_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Public Config V1 Config Get"}}}}}}},"/v1/presets":{"get":{"tags":["System"],"summary":"Presets","operationId":"presets_v1_presets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Presets V1 Presets Get"}}}}}}},"/v1/auth/register":{"post":{"tags":["Auth"],"summary":"Register","operationId":"register_v1_auth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Register V1 Auth Register Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/login":{"post":{"tags":["Auth"],"summary":"Login","operationId":"login_v1_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Login V1 Auth Login Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/auth/logout":{"post":{"tags":["Auth"],"summary":"Logout","operationId":"logout_v1_auth_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Logout V1 Auth Logout Post"}}}}}}},"/v1/account":{"get":{"tags":["Account"],"summary":"Get Account","operationId":"get_account_v1_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Account V1 Account Get"}}}}}}},"/v1/keys":{"get":{"tags":["API Keys"],"summary":"List Keys","operationId":"list_keys_v1_keys_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Keys V1 Keys Get"}}}}}},"post":{"tags":["API Keys"],"summary":"Create Key","operationId":"create_key_v1_keys_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateKeyRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Key V1 Keys Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/keys/{key_id}":{"delete":{"tags":["API Keys"],"summary":"Revoke Key","operationId":"revoke_key_v1_keys__key_id__delete","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Revoke Key V1 Keys  Key Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shoots":{"post":{"tags":["Shoots"],"summary":"Create Shoot","operationId":"create_shoot_v1_shoots_post","parameters":[{"name":"dry_run","in":"query","required":false,"schema":{"type":"boolean","description":"Automated CI/unit-test mode using local showcase assets","default":false,"title":"Dry Run"},"description":"Automated CI/unit-test mode using local showcase assets"}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Create Shoot V1 Shoots Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Shoots"],"summary":"List Shoots","operationId":"list_shoots_v1_shoots_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Shoots V1 Shoots Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shoots/batch":{"post":{"tags":["Shoots"],"summary":"Create Batch Shoots","operationId":"create_batch_shoots_v1_shoots_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchShootRequest"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Batch Shoots V1 Shoots Batch Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/shoots/{shoot_id}":{"get":{"tags":["Shoots"],"summary":"Get Shoot","operationId":"get_shoot_v1_shoots__shoot_id__get","parameters":[{"name":"shoot_id","in":"path","required":true,"schema":{"type":"string","title":"Shoot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Shoot V1 Shoots  Shoot Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/assets/{shoot_id}/{filename}":{"get":{"tags":["Assets"],"summary":"Download Signed Asset","operationId":"download_signed_asset_v1_assets__shoot_id___filename__get","parameters":[{"name":"shoot_id","in":"path","required":true,"schema":{"type":"string","title":"Shoot Id"}},{"name":"filename","in":"path","required":true,"schema":{"type":"string","title":"Filename"}},{"name":"exp","in":"query","required":true,"schema":{"type":"integer","title":"Exp"}},{"name":"sig","in":"query","required":true,"schema":{"type":"string","title":"Sig"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/checkout":{"post":{"tags":["Billing"],"summary":"Billing Checkout","operationId":"billing_checkout_v1_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Billing Checkout V1 Billing Checkout Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/sandbox-complete":{"post":{"tags":["Billing"],"summary":"Billing Sandbox Complete","operationId":"billing_sandbox_complete_v1_billing_sandbox_complete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SandboxCompleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Billing Sandbox Complete V1 Billing Sandbox Complete Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/billing/webhook":{"post":{"tags":["Billing"],"summary":"Billing Webhook","operationId":"billing_webhook_v1_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"BatchShootItem":{"properties":{"image_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Image Url"},"sample_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Sample Id"},"preset":{"type":"string","title":"Preset","default":"tiffany_white"},"category":{"type":"string","title":"Category","default":"auto"},"deliverables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Deliverables"},"sku_ref":{"type":"string","maxLength":120,"title":"Sku Ref","default":""}},"type":"object","title":"BatchShootItem"},"BatchShootRequest":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BatchShootItem"},"type":"array","maxItems":50,"minItems":1,"title":"Items"},"webhook_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Webhook Url"},"dry_run":{"type":"boolean","title":"Dry Run","default":false}},"type":"object","required":["items"],"title":"BatchShootRequest"},"CheckoutRequest":{"properties":{"plan_id":{"type":"string","maxLength":64,"minLength":2,"title":"Plan Id"},"success_url":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Success Url"},"cancel_url":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Cancel Url"}},"type":"object","required":["plan_id"],"title":"CheckoutRequest"},"CreateKeyRequest":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name","default":"Production API Key"}},"type":"object","title":"CreateKeyRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"password":{"type":"string","maxLength":128,"minLength":1,"title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"RegisterRequest":{"properties":{"email":{"type":"string","maxLength":254,"minLength":5,"title":"Email"},"password":{"type":"string","maxLength":128,"minLength":8,"title":"Password"},"company":{"type":"string","maxLength":120,"title":"Company","default":""}},"type":"object","required":["email","password"],"title":"RegisterRequest"},"SandboxCompleteRequest":{"properties":{"session_id":{"type":"string","maxLength":128,"minLength":8,"title":"Session Id"}},"type":"object","required":["session_id"],"title":"SandboxCompleteRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}