{"openapi":"3.1.0","info":{"title":"yapster","version":"1.1"},"paths":{"/auth/oauth/validate":{"get":{"summary":"Validate Handler","operationId":"validate_handler_auth_oauth_validate_get","parameters":[{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OAuthValidateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/oauth/login":{"get":{"summary":"Login Handler","operationId":"login_handler_auth_oauth_login_get","parameters":[{"name":"provider","in":"query","required":true,"schema":{"$ref":"#/components/schemas/OAuthProvider"}},{"name":"redirect","in":"query","required":true,"schema":{"type":"string","format":"uri","minLength":1,"maxLength":2083,"title":"Redirect"}},{"name":"utm_source","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Source"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/oauth/logout":{"get":{"summary":"Logout Handler","operationId":"logout_handler_auth_oauth_logout_get","parameters":[{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/oauth/{provider}":{"get":{"summary":"Oauth Callback Handler","description":"Handle OAuth callback from any provider","operationId":"oauth_callback_handler_auth_oauth__provider__get","parameters":[{"name":"provider","in":"path","required":true,"schema":{"$ref":"#/components/schemas/OAuthProvider"}},{"name":"code","in":"query","required":true,"schema":{"type":"string","title":"Code"}},{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}},{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"error_description","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Description"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/products":{"get":{"summary":"Products Handler","operationId":"products_handler_payments_products_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Product"},"type":"array","title":"Response Products Handler Payments Products Get"}}}}}}},"/payments/webhook":{"post":{"summary":"Webhook Handler","operationId":"webhook_handler_payments_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnderstandableHaveANiceDay"}}}}}}},"/payments/webhook/mixpanel":{"post":{"summary":"Mixpanel Webhook Handler","operationId":"mixpanel_webhook_handler_payments_webhook_mixpanel_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Mixpanel Webhook Handler Payments Webhook Mixpanel Post"}}}}}}},"/payments/subscribe":{"post":{"summary":"Subscribe Handler","operationId":"subscribe_handler_payments_subscribe_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribeResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/change-plan":{"post":{"summary":"Change Plan Handler","operationId":"change_plan_handler_payments_change_plan_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePlanRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePlanResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/cancel-scheduled-change":{"post":{"summary":"Cancel Scheduled Change Handler","operationId":"cancel_scheduled_change_handler_payments_cancel_scheduled_change_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UncancelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/cancel":{"post":{"summary":"Cancel Handler","operationId":"cancel_handler_payments_cancel_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/uncancel":{"post":{"summary":"Uncancel Handler","operationId":"uncancel_handler_payments_uncancel_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UncancelResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/billing":{"get":{"summary":"Billing Overview Handler","operationId":"billing_overview_handler_payments_billing_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingOverviewResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/setup-intent":{"post":{"summary":"Setup Intent Handler","operationId":"setup_intent_handler_payments_setup_intent_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupIntentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/payment-method/replace":{"post":{"summary":"Replace Payment Method Handler","operationId":"replace_payment_method_handler_payments_payment_method_replace_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplacePaymentMethodRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentMethodResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account":{"get":{"summary":"Get Handler","operationId":"get_handler_v1_account_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Handler","operationId":"delete_handler_v1_account_delete","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/new_api_key":{"get":{"summary":"New Api Key Handler","operationId":"new_api_key_handler_v1_account_new_api_key_get","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ApiKeyTargetIntegration"},{"type":"null"}],"title":"Type"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/accept_tos":{"post":{"summary":"Accept Tos Handler","operationId":"accept_tos_handler_v1_account_accept_tos_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/set_email_prefs":{"post":{"summary":"Set Email Prefs Handler","operationId":"set_email_prefs_handler_v1_account_set_email_prefs_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_set_email_prefs_handler_v1_account_set_email_prefs_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/clips":{"get":{"summary":"Get Clips Handler","operationId":"get_clips_handler_v1_account_clips_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","exclusiveMinimum":0,"default":12,"title":"Page Size"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"}},{"name":"sort_by","in":"query","required":false,"schema":{"enum":["timestamp","text_length","voice"],"type":"string","default":"timestamp","title":"Sort By"}},{"name":"sort_order","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","default":"desc","title":"Sort Order"}},{"name":"debug","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Debug"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClipsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/clip/{clip_id}":{"delete":{"summary":"Delete Clip Handler","operationId":"delete_clip_handler_v1_account_clip__clip_id__delete","parameters":[{"name":"clip_id","in":"path","required":true,"schema":{"type":"string","title":"Clip Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Get Clip Handler","operationId":"get_clip_handler_v1_account_clip__clip_id__get","parameters":[{"name":"clip_id","in":"path","required":true,"schema":{"type":"string","title":"Clip Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clip"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/api_key/{masked}":{"delete":{"summary":"Delete Api Key Handler","operationId":"delete_api_key_handler_v1_account_api_key__masked__delete","parameters":[{"name":"masked","in":"path","required":true,"schema":{"type":"string","title":"Masked"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/api_key/{masked}/name":{"post":{"summary":"Set Api Key Name Handler","operationId":"set_api_key_name_handler_v1_account_api_key__masked__name_post","parameters":[{"name":"masked","in":"path","required":true,"schema":{"type":"string","title":"Masked"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyNameRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/billing_history":{"get":{"summary":"Get Usage History Handler","operationId":"get_usage_history_handler_v1_account_billing_history_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UsageHistoryItem"},"title":"Response Get Usage History Handler V1 Account Billing History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/daily_usage_history":{"get":{"summary":"Get Daily Usage History Handler","operationId":"get_daily_usage_history_handler_v1_account_daily_usage_history_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DailyUsageHistoryItem"},"title":"Response Get Daily Usage History Handler V1 Account Daily Usage History Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/vercel/projects":{"post":{"summary":"Handle Project Request","operationId":"handle_project_request_v1_account_vercel_projects_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_handle_project_request_v1_account_vercel_projects_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VercelProjectResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/vercel/env_vars":{"post":{"summary":"Handle Env Var Request","operationId":"handle_env_var_request_v1_account_vercel_env_vars_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_handle_env_var_request_v1_account_vercel_env_vars_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VercelEnvVarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/sessions":{"get":{"summary":"List Handler","operationId":"list_handler_v1_account_sessions_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/sessions/revoke_all":{"post":{"summary":"Revoke All Handler","operationId":"revoke_all_handler_v1_account_sessions_revoke_all_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/account/sessions/{session_public_id}":{"delete":{"summary":"Revoke Handler","operationId":"revoke_handler_v1_account_sessions__session_public_id__delete","parameters":[{"name":"session_public_id","in":"path","required":true,"schema":{"type":"string","title":"Session Public Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/speech":{"get":{"summary":"Get Handler","operationId":"get_handler_v1_ai_speech_get","parameters":[{"name":"speed","in":"query","required":false,"schema":{"type":"number","maximum":2.0,"minimum":0.25,"default":1.0,"title":"Speed"}},{"name":"conversational","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Conversational"}},{"name":"temperature","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":5.0,"minimum":0.0001},{"type":"null"}],"title":"Temperature"}},{"name":"top_k","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Top K"}},{"name":"top_p","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Top P"}},{"name":"length","in":"query","required":false,"schema":{"anyOf":[{"type":"number","maximum":300.0,"minimum":0.1},{"type":"null"}],"title":"Length"}},{"name":"expressive","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Expressive"}},{"name":"quality","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quality"}},{"name":"solver","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Solver"}},{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}},{"name":"voice","in":"query","required":true,"schema":{"type":"string","title":"Voice"}},{"name":"model","in":"query","required":false,"schema":{"enum":["aurora","blizzard","blizzard-2.0","blizzard-2.1","blizzard-dialogue"],"type":"string","default":"aurora","title":"Model"}},{"name":"language","in":"query","required":false,"schema":{"type":"string","default":"auto","title":"Language"}},{"name":"format","in":"query","required":false,"schema":{"enum":["aac","mp3","raw","wav","ulaw","webm","pcm_s16le","pcm_f32le"],"type":"string","default":"mp3","title":"Format"}},{"name":"sample_rate","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/SampleRate"},{"type":"null"}],"title":"Sample Rate"}},{"name":"seed","in":"query","required":false,"schema":{"type":"integer","title":"Seed"}},{"name":"return_timestamps","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Return Timestamps"}},{"name":"delay_headers","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Delay Headers"}},{"name":"debug","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Debug"}},{"name":"original_text","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Text"}},{"name":"original_language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Original Language"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"summary":"Post Handler","operationId":"post_handler_v1_ai_speech_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/speech/bytes":{"post":{"summary":"Bytes Post Handler","operationId":"bytes_post_handler_v1_ai_speech_bytes_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/speech/feedback":{"post":{"summary":"Feedback Handler","operationId":"feedback_handler_v1_ai_speech_feedback_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_feedback_handler_v1_ai_speech_feedback_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/speech/kanna":{"post":{"summary":"Kanna Handler","operationId":"kanna_handler_v1_ai_speech_kanna_post","parameters":[{"name":"text","in":"query","required":true,"schema":{"type":"string","title":"Text"}}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary","title":"Audio"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","additionalProperties":true},"title":"Response Kanna Handler V1 Ai Speech Kanna Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/speech/kanna_improved":{"post":{"summary":"Kanna Improved Handler","operationId":"kanna_improved_handler_v1_ai_speech_kanna_improved_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_kanna_improved_handler_v1_ai_speech_kanna_improved_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Response Kanna Improved Handler V1 Ai Speech Kanna Improved Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/voice/list":{"get":{"summary":"List Handler","operationId":"list_handler_v1_ai_voice_list_get","parameters":[{"name":"starred","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"}},{"name":"owner","in":"query","required":false,"schema":{"anyOf":[{"enum":["system","me","all"],"type":"string"},{"type":"null"}],"title":"Owner"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Voice"},"title":"Response List Handler V1 Ai Voice List Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/voice/{id}":{"get":{"summary":"Get Handler","operationId":"get_handler_v1_ai_voice__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Voice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"summary":"Update Handler","description":"If a user tries to update a voice that is not owned by them, this call will return an error unless 'starred' is\none of the present parameters. The user will be able to star/unstar voices that do not belong to them, but their\nother changes will not be recorded.","operationId":"update_handler_v1_ai_voice__id__put","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVoiceRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"summary":"Delete Handler","operationId":"delete_handler_v1_ai_voice__id__delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteVoiceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/voice":{"post":{"summary":"Create Handler","operationId":"create_handler_v1_ai_voice_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_handler_v1_ai_voice_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Voice"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/voice/{id}/preview":{"get":{"summary":"Preview Handler","operationId":"preview_handler_v1_ai_voice__id__preview_get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/voice/{id}/preview/invalidate":{"post":{"summary":"Invalidate Preview Handler","operationId":"invalidate_preview_handler_v1_ai_voice__id__preview_invalidate_post","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/voice/precheck":{"post":{"summary":"Precheck Clone Handler","operationId":"precheck_clone_handler_v1_ai_voice_precheck_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_precheck_clone_handler_v1_ai_voice_precheck_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrecheckCloneResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/damage_report":{"get":{"summary":"Damage Report Handler","operationId":"damage_report_handler_v1_damage_report_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/speech/beta/synthesize":{"post":{"summary":"Synthesize Beta Handler","operationId":"synthesize_beta_handler_speech_beta_synthesize_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/speech/beta/voices":{"get":{"summary":"List Beta Handler","operationId":"list_beta_handler_speech_beta_voices_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Api-Key"}},{"name":"lmnt-auth0","in":"cookie","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lmnt-Auth0"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response List Beta Handler Speech Beta Voices Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/speech/beta/{path}":{"get":{"summary":"Catch All Beta","operationId":"catch_all_beta_speech_beta__path__options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"put":{"summary":"Catch All Beta","operationId":"catch_all_beta_speech_beta__path__options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Catch All Beta","operationId":"catch_all_beta_speech_beta__path__options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"delete":{"summary":"Catch All Beta","operationId":"catch_all_beta_speech_beta__path__options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"options":{"summary":"Catch All Beta","operationId":"catch_all_beta_speech_beta__path__options","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/echo":{"post":{"summary":"Echo Handler","description":"Debugging endpoint with two distinct modes:\n  - `length` < 0: echo what you sent (default)\n  - `length` <= `_MAX_GENERATE_LENGTH`: return a zero-filled array of the requested length\n\nThere are three different latencies you might want to test:\n  - up and down: send a payload and set no length to use the default echo\n  - up only: send a payload and use a small value of `length`\n  - down only: send no payload and set your desired`length` of response","operationId":"echo_handler_echo_post","parameters":[{"name":"length","in":"query","required":false,"schema":{"type":"integer","default":-1,"title":"Length"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health_check":{"get":{"summary":"Health Check","operationId":"health_check_health_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready_check":{"get":{"summary":"Ready Check","operationId":"ready_check_ready_check_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/drain":{"post":{"summary":"Drain","operationId":"drain_drain_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AccountResponse":{"properties":{"plan":{"$ref":"#/components/schemas/PlanInfo"},"usage":{"$ref":"#/components/schemas/UsageInfo"},"apikeys":{"anyOf":[{"items":{"$ref":"#/components/schemas/ApiKeyInfo"},"type":"array"},{"type":"null"}],"title":"Apikeys"},"accepted_tos":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Accepted Tos"},"sub_state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sub State"},"cancel_at_period_end":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Cancel At Period End"}},"type":"object","required":["plan","usage"],"title":"AccountResponse","description":"Account information returned to users."},"AlertingResponse":{"properties":{"red_alerts":{"items":{"type":"string"},"type":"array","title":"Red Alerts"}},"type":"object","required":["red_alerts"],"title":"AlertingResponse"},"ApiKeyInfo":{"properties":{"masked":{"type":"string","title":"Masked"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"created_at":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["masked"],"title":"ApiKeyInfo"},"ApiKeyNameRequest":{"properties":{"name":{"type":"string","title":"Name"}},"type":"object","required":["name"],"title":"ApiKeyNameRequest"},"ApiKeyResponse":{"properties":{"apikey":{"type":"string","title":"Apikey"},"masked":{"type":"string","title":"Masked"}},"type":"object","required":["apikey","masked"],"title":"ApiKeyResponse"},"ApiKeyTargetIntegration":{"type":"string","enum":["heygen","pipecat","vapi"],"title":"ApiKeyTargetIntegration","description":"Represents a target integration for API keys."},"AppliedDiscount":{"properties":{"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["name","description"],"title":"AppliedDiscount"},"BillingOverviewResponse":{"properties":{"subscription":{"$ref":"#/components/schemas/SubscriptionResponse"},"payment_method":{"anyOf":[{"$ref":"#/components/schemas/PaymentMethodResponse"},{"type":"null"}]},"invoices":{"items":{"$ref":"#/components/schemas/InvoiceItem"},"type":"array","title":"Invoices","default":[]}},"type":"object","required":["subscription"],"title":"BillingOverviewResponse"},"Body_create_handler_v1_ai_voice_post":{"properties":{"file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"File"},"files":{"anyOf":[{"items":{"type":"string","format":"binary"},"type":"array"},{"type":"null"}],"title":"Files"},"files[]":{"anyOf":[{"items":{"type":"string","format":"binary"},"type":"array"},{"type":"null"}],"title":"Files[]"},"file_field":{"anyOf":[{"items":{"type":"string","format":"binary"},"type":"array"},{"type":"null"}],"title":"File Field"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"type":{"anyOf":[{"type":"string","enum":["instant","professional","intrinsic"]},{"type":"null"}],"title":"Type","default":"instant"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender","default":"U"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"enhance":{"type":"boolean","title":"Enhance","default":false},"metadata":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Metadata"},"filter":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Filter","default":false},"accent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accent"}},"type":"object","title":"Body_create_handler_v1_ai_voice_post"},"Body_feedback_handler_v1_ai_speech_feedback_post":{"properties":{"id":{"type":"string","title":"Id"},"rating":{"type":"string","enum":["thumbsUp","thumbsDown"],"title":"Rating"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"context":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Context"}},"type":"object","required":["id","rating"],"title":"Body_feedback_handler_v1_ai_speech_feedback_post"},"Body_handle_env_var_request_v1_account_vercel_env_vars_post":{"properties":{"config_id":{"type":"string","title":"Config Id"},"add_project_names":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Add Project Names"},"remove_projects":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remove Projects"}},"type":"object","required":["config_id"],"title":"Body_handle_env_var_request_v1_account_vercel_env_vars_post"},"Body_handle_project_request_v1_account_vercel_projects_post":{"properties":{"config_id":{"type":"string","title":"Config Id"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"}},"type":"object","required":["config_id"],"title":"Body_handle_project_request_v1_account_vercel_projects_post"},"Body_kanna_improved_handler_v1_ai_speech_kanna_improved_post":{"properties":{"text":{"type":"string","title":"Text"},"audio":{"type":"string","format":"binary","title":"Audio"}},"type":"object","required":["text","audio"],"title":"Body_kanna_improved_handler_v1_ai_speech_kanna_improved_post"},"Body_precheck_clone_handler_v1_ai_voice_precheck_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_precheck_clone_handler_v1_ai_voice_precheck_post"},"Body_set_email_prefs_handler_v1_account_set_email_prefs_post":{"properties":{"wants_email":{"type":"boolean","title":"Wants Email"}},"type":"object","required":["wants_email"],"title":"Body_set_email_prefs_handler_v1_account_set_email_prefs_post"},"CancelResponse":{"properties":{"cancel_at":{"type":"integer","title":"Cancel At"}},"type":"object","required":["cancel_at"],"title":"CancelResponse"},"ChangePlanRequest":{"properties":{"price_id":{"type":"string","title":"Price Id"}},"type":"object","required":["price_id"],"title":"ChangePlanRequest"},"ChangePlanResponse":{"properties":{"kind":{"type":"string","enum":["upgraded","downgrade_scheduled"],"title":"Kind"},"effective_at":{"type":"integer","title":"Effective At"}},"type":"object","required":["kind","effective_at"],"title":"ChangePlanResponse"},"Clip":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url"},"voice":{"type":"string","title":"Voice"},"timestamp":{"type":"integer","title":"Timestamp"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"speed":{"anyOf":[{"type":"number","maximum":2.0,"minimum":0.25},{"type":"null"}],"title":"Speed"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"debug":{"type":"boolean","title":"Debug","default":false}},"type":"object","required":["url","voice","timestamp"],"title":"Clip"},"ClipsResponse":{"properties":{"clips":{"items":{"$ref":"#/components/schemas/Clip"},"type":"array","title":"Clips"},"page":{"type":"integer","exclusiveMinimum":0.0,"title":"Page"},"page_size":{"type":"integer","exclusiveMinimum":0.0,"title":"Page Size"},"total_clips":{"type":"integer","minimum":0.0,"title":"Total Clips"},"total_pages":{"type":"integer","minimum":0.0,"title":"Total Pages"}},"type":"object","required":["clips","page","page_size","total_clips","total_pages"],"title":"ClipsResponse"},"DailyUsageHistoryItem":{"properties":{"api_chars_used":{"type":"integer","minimum":0.0,"title":"Api Chars Used"},"playground_chars_used":{"type":"integer","minimum":0.0,"title":"Playground Chars Used"},"day":{"type":"string","format":"date","title":"Day"}},"type":"object","required":["api_chars_used","playground_chars_used","day"],"title":"DailyUsageHistoryItem"},"DeleteVoiceResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"DeleteVoiceResponse"},"FeedbackResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"FeedbackResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InvoiceItem":{"properties":{"id":{"type":"string","title":"Id"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"amount_paid":{"type":"integer","title":"Amount Paid"},"currency":{"type":"string","title":"Currency"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"created":{"type":"integer","title":"Created"},"hosted_invoice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hosted Invoice Url"},"invoice_pdf":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invoice Pdf"}},"type":"object","required":["id","amount_paid","currency","created"],"title":"InvoiceItem"},"OAuthProvider":{"type":"string","enum":["auth0","github","google","microsoft"],"title":"OAuthProvider"},"OAuthValidateResponse":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"email":{"type":"string","title":"Email"},"profile_picture":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Profile Picture"}},"type":"object","required":["id","name","email"],"title":"OAuthValidateResponse"},"PaymentMethodResponse":{"properties":{"brand":{"type":"string","title":"Brand"},"last4":{"type":"string","title":"Last4"}},"type":"object","required":["brand","last4"],"title":"PaymentMethodResponse"},"PlanInfo":{"properties":{"type":{"type":"string","title":"Type"},"commercial_use_allowed":{"type":"boolean","title":"Commercial Use Allowed"},"character_limit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Character Limit"}},"type":"object","required":["type","commercial_use_allowed"],"title":"PlanInfo","description":"Plan information returned to users."},"PrecheckCloneResponse":{"properties":{"dnsmos":{"type":"number","title":"Dnsmos"},"start_s":{"type":"number","title":"Start S"},"end_s":{"type":"number","title":"End S"}},"type":"object","required":["dnsmos","start_s","end_s"],"title":"PrecheckCloneResponse"},"Product":{"properties":{"name":{"type":"string","title":"Name"},"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"monthly_cost":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Monthly Cost"},"additional_unit_cost":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Additional Unit Cost"},"char_limit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Char Limit"},"chars_per_unit":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Chars Per Unit"}},"type":"object","required":["name"],"title":"Product"},"ReplacePaymentMethodRequest":{"properties":{"payment_method_id":{"type":"string","title":"Payment Method Id"}},"type":"object","required":["payment_method_id"],"title":"ReplacePaymentMethodRequest"},"SampleRate":{"type":"integer","enum":[8000,16000,24000],"title":"SampleRate"},"ScheduledChange":{"properties":{"price_id":{"type":"string","title":"Price Id"},"plan_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan Name"},"effective_at":{"type":"integer","title":"Effective At"}},"type":"object","required":["price_id","effective_at"],"title":"ScheduledChange"},"SessionInfo":{"properties":{"id":{"type":"string","title":"Id"},"device_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Device Label"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"created_at":{"type":"integer","title":"Created At"},"updated_at":{"type":"integer","title":"Updated At"},"current":{"type":"boolean","title":"Current","default":false}},"type":"object","required":["id","created_at","updated_at"],"title":"SessionInfo","description":"An active session row, returned to the user's account page.\n\n`current` is server-tagged: true when this row's id matches the request's `lmnt-auth0`\ncookie. The cookie is httpOnly so the browser can't compute this itself.\n\nIP is stored server-side for audit but never returned to the user."},"SessionListResponse":{"properties":{"sessions":{"items":{"$ref":"#/components/schemas/SessionInfo"},"type":"array","title":"Sessions"}},"type":"object","required":["sessions"],"title":"SessionListResponse"},"SetupIntentResponse":{"properties":{"client_secret":{"type":"string","title":"Client Secret"}},"type":"object","required":["client_secret"],"title":"SetupIntentResponse"},"SubscribeRequest":{"properties":{"price_id":{"type":"string","title":"Price Id"}},"type":"object","required":["price_id"],"title":"SubscribeRequest"},"SubscribeResponse":{"properties":{"subscription_id":{"type":"string","title":"Subscription Id"},"client_secret":{"type":"string","title":"Client Secret"},"amount":{"type":"integer","title":"Amount"},"currency":{"type":"string","title":"Currency"},"applied_discount":{"anyOf":[{"$ref":"#/components/schemas/AppliedDiscount"},{"type":"null"}]}},"type":"object","required":["subscription_id","client_secret","amount","currency"],"title":"SubscribeResponse"},"SubscriptionResponse":{"properties":{"price_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Price Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"current_period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Current Period End"},"cancel_at_period_end":{"type":"boolean","title":"Cancel At Period End","default":false},"scheduled_change":{"anyOf":[{"$ref":"#/components/schemas/ScheduledChange"},{"type":"null"}]}},"type":"object","title":"SubscriptionResponse"},"SuccessResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"SuccessResponse"},"UncancelResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"UncancelResponse"},"UnderstandableHaveANiceDay":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"UnderstandableHaveANiceDay"},"UpdateVoiceRequest":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"}},"type":"object","title":"UpdateVoiceRequest"},"UpdateVoiceResponse":{"properties":{"voice":{"$ref":"#/components/schemas/Voice"}},"type":"object","required":["voice"],"title":"UpdateVoiceResponse"},"UsageHistoryItem":{"properties":{"plan":{"type":"string","title":"Plan"},"period_end":{"type":"integer","title":"Period End"},"chars_used":{"type":"integer","minimum":0.0,"title":"Chars Used"},"playground_chars_used":{"type":"integer","minimum":0.0,"title":"Playground Chars Used","default":0}},"type":"object","required":["plan","period_end","chars_used"],"title":"UsageHistoryItem"},"UsageInfo":{"properties":{"characters":{"type":"integer","minimum":0.0,"title":"Characters","default":0},"playground_characters":{"type":"integer","minimum":0.0,"title":"Playground Characters","default":0},"credit_characters":{"type":"integer","minimum":0.0,"title":"Credit Characters","default":0},"instant_voices":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Instant Voices","default":0},"professional_voices":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Professional Voices","default":0},"period_end":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Period End"}},"type":"object","title":"UsageInfo","description":"Usage information returned to users."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VercelEnvVarResponse":{"properties":{"success":{"type":"boolean","title":"Success"}},"type":"object","required":["success"],"title":"VercelEnvVarResponse"},"VercelProject":{"properties":{"name":{"type":"string","title":"Name"}},"additionalProperties":true,"type":"object","required":["name"],"title":"VercelProject","description":"A Vercel project fetched from the Vercel API."},"VercelProjectResponse":{"properties":{"projects":{"items":{"$ref":"#/components/schemas/VercelProject"},"type":"array","title":"Projects"}},"type":"object","required":["projects"],"title":"VercelProjectResponse"},"Voice":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"state":{"type":"string","enum":["preparing","pending","training","ready","broken","cancelled"],"title":"State"},"owner":{"type":"string","enum":["system","me","all"],"title":"Owner"},"type":{"type":"string","enum":["instant","professional","intrinsic"],"title":"Type"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"starred":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Starred"},"tags":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Tags"},"preview_url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Preview Url"}},"type":"object","required":["id","name","state","owner","type"],"title":"Voice"}}}}