{"openapi":"3.1.0","info":{"title":"Loupre Commercial API","description":"Loupre — 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":"2.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/models":{"get":{"tags":["Models"],"summary":"List Model Cast","operationId":"list_model_cast_v1_models_get","parameters":[{"name":"zone","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"description":"Optional placement zone filter (e.g. hand_ring)","title":"Zone"},"description":"Optional placement zone filter (e.g. hand_ring)"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Model Cast V1 Models Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/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/account/preferences":{"get":{"tags":["Account"],"summary":"Get Account Preferences","operationId":"get_account_preferences_v1_account_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Account Preferences V1 Account Preferences Get"}}}}}},"post":{"tags":["Account"],"summary":"Update Account Preferences","operationId":"update_account_preferences_v1_account_preferences_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountPreferencesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Update Account Preferences V1 Account Preferences Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-kits":{"get":{"tags":["Brand Kits"],"summary":"List Brand Kits","operationId":"list_brand_kits_v1_brand_kits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response List Brand Kits V1 Brand Kits Get"}}}}}},"post":{"tags":["Brand Kits"],"summary":"Create Brand Kit","operationId":"create_brand_kit_v1_brand_kits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BrandKitCreateRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Create Brand Kit V1 Brand Kits Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/brand-kits/{kit_id}":{"get":{"tags":["Brand Kits"],"summary":"Get Brand Kit","operationId":"get_brand_kit_v1_brand_kits__kit_id__get","parameters":[{"name":"kit_id","in":"path","required":true,"schema":{"type":"string","title":"Kit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Brand Kit V1 Brand Kits  Kit Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Brand Kits"],"summary":"Delete Brand Kit","operationId":"delete_brand_kit_v1_brand_kits__kit_id__delete","parameters":[{"name":"kit_id","in":"path","required":true,"schema":{"type":"string","title":"Kit Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Delete Brand Kit V1 Brand Kits  Kit Id  Delete"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/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/shoots/{shoot_id}/feedback":{"post":{"tags":["Feedback"],"summary":"Submit Shoot Feedback","operationId":"submit_shoot_feedback_v1_shoots__shoot_id__feedback_post","parameters":[{"name":"shoot_id","in":"path","required":true,"schema":{"type":"string","title":"Shoot Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShootFeedbackRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Submit Shoot Feedback V1 Shoots  Shoot Id  Feedback Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/feedback/summary":{"get":{"tags":["Feedback"],"summary":"Get Feedback Summary","operationId":"get_feedback_summary_v1_feedback_summary_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Get Feedback Summary V1 Feedback Summary Get"}}}}}}},"/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":{"AccountPreferencesRequest":{"properties":{"dpo_training_consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dpo Training Consent"},"notify_email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Email"}},"type":"object","title":"AccountPreferencesRequest"},"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"},"render_mode":{"type":"string","maxLength":48,"title":"Render Mode","default":"catalog_polish"},"deliverables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Deliverables"},"sku_ref":{"type":"string","maxLength":120,"title":"Sku Ref","default":""},"controls":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Controls"},"lighting_rig":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Lighting Rig"},"metal_luster":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Metal Luster"},"gem_sparkle":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Gem Sparkle"},"shadow_depth":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Shadow Depth"},"camera_angle":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Camera Angle"},"aspect_ratio":{"anyOf":[{"type":"string","maxLength":16},{"type":"null"}],"title":"Aspect Ratio"},"tweak_instruction":{"anyOf":[{"type":"string","maxLength":256},{"type":"null"}],"title":"Tweak Instruction"},"model_cast_id":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Model Cast Id"},"generate_seo_copy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Generate Seo Copy"}},"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"},"BrandKitCreateRequest":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"preset":{"type":"string","maxLength":64,"title":"Preset","default":"tiffany_white"},"lighting_rig":{"type":"string","maxLength":64,"title":"Lighting Rig","default":"tiffany_softbox"},"metal_luster":{"type":"string","maxLength":64,"title":"Metal Luster","default":"liquid_glass"},"gem_sparkle":{"type":"string","maxLength":64,"title":"Gem Sparkle","default":"natural_optical"},"shadow_depth":{"type":"string","maxLength":64,"title":"Shadow Depth","default":"whisper_contact"},"camera_angle":{"type":"string","maxLength":64,"title":"Camera Angle","default":"front_macro"},"aspect_ratio":{"type":"string","maxLength":16,"title":"Aspect Ratio","default":"1:1"},"model_cast_id":{"type":"string","maxLength":64,"title":"Model Cast Id","default":""},"is_default":{"type":"boolean","title":"Is Default","default":false}},"type":"object","required":["name"],"title":"BrandKitCreateRequest"},"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"},"ShootFeedbackRequest":{"properties":{"verdict":{"type":"string","maxLength":32,"minLength":1,"title":"Verdict"},"reason":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Reason"},"reasons":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":10},{"type":"null"}],"title":"Reasons"},"notes":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Notes"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note"}},"type":"object","required":["verdict"],"title":"ShootFeedbackRequest"},"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"}}}}