{"openapi":"3.1.0","info":{"title":"ofmakers-api","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"type":"string"},"type":"object","title":"Response Health Health Get"}}}}}}},"/events":{"post":{"summary":"Record Funnel Event","operationId":"record_funnel_event_events_post","responses":{"204":{"description":"Successful Response"}}}},"/analytics-config":{"get":{"summary":"Analytics Config","description":"The browser analytics settings, read at runtime so a dev or test build never sends.\nPublic on purpose: the project key is a public token. Nothing is given unless real\nvisitors reach this site and a key is set.","operationId":"analytics_config_analytics_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsConfigResponse"}}}}}}},"/feedback":{"post":{"tags":["feedback"],"summary":"Submit Feedback","operationId":"submit_feedback_feedback_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Payload"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/media/{key}":{"get":{"tags":["media"],"summary":"Get Media","operationId":"get_media_media__key__get","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","title":"Key"}},{"name":"exp","in":"query","required":true,"schema":{"type":"integer","title":"Exp"}},{"name":"sig","in":"query","required":true,"schema":{"type":"string","title":"Sig"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/signup":{"post":{"summary":"Signup","operationId":"signup_auth_signup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignupRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/login":{"post":{"summary":"Login","operationId":"login_auth_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/logout":{"post":{"summary":"Logout","operationId":"logout_auth_logout_post","responses":{"204":{"description":"Successful Response"}}}},"/auth/confirm-age":{"post":{"summary":"Confirm Age","operationId":"confirm_age_auth_confirm_age_post","responses":{"204":{"description":"Successful Response"}}}},"/auth/verify-email":{"post":{"summary":"Verify Email","operationId":"verify_email_auth_verify_email_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/email-code/verify":{"post":{"summary":"Verify Email Code","operationId":"verify_email_code_auth_email_code_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailCodeVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyEmailResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/forgot-password":{"post":{"summary":"Forgot Password","operationId":"forgot_password_auth_forgot_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/reset-password":{"post":{"summary":"Reset Password","operationId":"reset_password_auth_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/resend-verification":{"post":{"summary":"Resend Verification","operationId":"resend_verification_auth_resend_verification_post","responses":{"204":{"description":"Successful Response"}}}},"/auth/email-code":{"post":{"summary":"Send Email Code","operationId":"send_email_code_auth_email_code_post","responses":{"204":{"description":"Successful Response"}}}},"/welcome-offer":{"get":{"summary":"Welcome Offer","description":"What the signup screen may promise. Public: it says nothing about any account.","operationId":"welcome_offer_welcome_offer_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WelcomeOfferResponse"}}}}}}},"/me":{"get":{"summary":"Get Me","operationId":"get_me_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}}}},"patch":{"summary":"Update Me","operationId":"update_me_me_patch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferencesUpdate"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/session":{"get":{"summary":"Get Session","description":"What the app reads on every load. /me answers a visitor with 401, which the browser\nprints in red on every page they open; this says nobody is signed in instead.","operationId":"get_session_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionResponse"}}}}}}},"/me/account":{"get":{"summary":"Get Account","operationId":"get_account_me_account_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountResponse"}}}}}}},"/me/password":{"post":{"summary":"Change Password","operationId":"change_password_me_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/delete":{"post":{"summary":"Delete Account","operationId":"delete_account_me_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAccountRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/.well-known/oauth-protected-resource/mcp":{"get":{"tags":["oauth"],"summary":"Protected Resource","description":"RFC 9728: tells a client which server signs people in for the MCP server.","operationId":"protected_resource__well_known_oauth_protected_resource_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Protected Resource  Well Known Oauth Protected Resource Mcp Get"}}}}}}},"/.well-known/oauth-protected-resource":{"get":{"tags":["oauth"],"summary":"Protected Resource","description":"RFC 9728: tells a client which server signs people in for the MCP server.","operationId":"protected_resource__well_known_oauth_protected_resource_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Protected Resource  Well Known Oauth Protected Resource Get"}}}}}}},"/.well-known/oauth-authorization-server":{"get":{"tags":["oauth"],"summary":"Authorization Server","operationId":"authorization_server__well_known_oauth_authorization_server_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Authorization Server  Well Known Oauth Authorization Server Get"}}}}}}},"/oauth/register":{"post":{"tags":["oauth"],"summary":"Register Client","description":"Dynamic client registration (RFC 7591). A client id names who is asking and grants\nnothing until a signed in creator approves an exchange.","operationId":"register_client_oauth_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientRegistration"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/authorize":{"get":{"tags":["oauth"],"summary":"Authorize","operationId":"authorize_oauth_authorize_get","parameters":[{"name":"client_id","in":"query","required":false,"schema":{"type":"string","default":"","title":"Client Id"}},{"name":"redirect_uri","in":"query","required":false,"schema":{"type":"string","default":"","title":"Redirect Uri"}},{"name":"response_type","in":"query","required":false,"schema":{"type":"string","default":"code","title":"Response Type"}},{"name":"code_challenge","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code Challenge"}},{"name":"code_challenge_method","in":"query","required":false,"schema":{"type":"string","default":"","title":"Code Challenge Method"}},{"name":"state","in":"query","required":false,"schema":{"type":"string","default":"","title":"State"}},{"name":"resource","in":"query","required":false,"schema":{"type":"string","default":"","title":"Resource"}},{"name":"scope","in":"query","required":false,"schema":{"type":"string","default":"","title":"Scope"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["oauth"],"summary":"Approve","operationId":"approve_oauth_authorize_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_approve_oauth_authorize_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/device_authorization":{"post":{"tags":["oauth"],"summary":"Device Authorization","description":"Begins a sign in for a client with no browser of its own (RFC 8628).","operationId":"device_authorization_oauth_device_authorization_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_device_authorization_oauth_device_authorization_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/device":{"get":{"tags":["oauth"],"summary":"Device Page","operationId":"device_page_device_get","parameters":[{"name":"user_code","in":"query","required":false,"schema":{"type":"string","default":"","title":"User Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["oauth"],"summary":"Device Decision","operationId":"device_decision_device_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_device_decision_device_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/token":{"post":{"tags":["oauth"],"summary":"Token","operationId":"token_oauth_token_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_token_oauth_token_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/oauth/revoke":{"post":{"tags":["oauth"],"summary":"Revoke","description":"RFC 7009. Whoever holds the token may end it, so no session is needed, and the answer\nis 200 whether or not it existed: a caller learns nothing about tokens it does not hold.\nOnly access tokens exist here, so the hint changes nothing.","operationId":"revoke_oauth_revoke_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_revoke_oauth_revoke_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/connections":{"get":{"tags":["connections"],"summary":"List Connections","description":"The apps (Claude, Codex, the CLI) this creator has connected.","operationId":"list_connections_me_connections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConnectionOut"},"type":"array","title":"Response List Connections Me Connections Get"}}}}}}},"/me/connections/{connection_id}":{"delete":{"tags":["connections"],"summary":"Disconnect","operationId":"disconnect_me_connections__connection_id__delete","parameters":[{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","title":"Connection Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/references/video":{"post":{"tags":["references"],"summary":"Upload Reference Video","description":"Keep a clip to remake with the creator's own model: silent, at most 1080p.","operationId":"upload_reference_video_references_video_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_reference_video_references_video_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceVideoOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/references/video/{video_id}":{"get":{"tags":["references"],"summary":"Get Reference Video","operationId":"get_reference_video_references_video__video_id__get","parameters":[{"name":"video_id","in":"path","required":true,"schema":{"type":"string","title":"Video Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceVideoOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/references":{"get":{"tags":["references"],"summary":"List References","description":"The caller's own uploads and created images, for the picker in the create modal.","operationId":"list_references_references_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReferenceOut"},"type":"array","title":"Response List References References Get"}}}}}},"post":{"tags":["references"],"summary":"Upload Reference","operationId":"upload_reference_references_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_reference_references_post"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/references/from-cover":{"post":{"tags":["references"],"summary":"Create Reference From Cover","description":"Make a generated cover usable as the starting image of a normal generation.","operationId":"create_reference_from_cover_references_from_cover_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceFromCover"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/references/from-template":{"post":{"tags":["references"],"summary":"Create Reference From Template","description":"Use an active template's public poster as the starting image.","operationId":"create_reference_from_template_references_from_template_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceFromTemplate"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/references/{reference_id}/edit":{"post":{"tags":["references"],"summary":"Edit Reference","description":"Change one of the creator's own photos from a plain text instruction, such as a new\nhaircut or thinner eyebrows, and keep the result as a new photo of the same model. The\noriginal is left as it was. It costs the same as a scene photo, is refunded if the edit\ncannot be made, and a creator can make 40 a day.","operationId":"edit_reference_references__reference_id__edit_post","parameters":[{"name":"reference_id","in":"path","required":true,"schema":{"type":"string","title":"Reference Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhotoEditIn"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/characters/prices":{"get":{"tags":["characters"],"summary":"Get Prices","description":"What the create form shows beside its buttons, in credits.","operationId":"get_prices_characters_prices_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterPrices"}}}}}}},"/characters":{"get":{"tags":["characters"],"summary":"List Characters","operationId":"list_characters_characters_get","parameters":[{"name":"also","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Also"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CharacterSummary"},"title":"Response List Characters Characters Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["characters"],"summary":"Create Character","operationId":"create_character_characters_post","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_character_characters_post"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/characters/{character_id}":{"get":{"tags":["characters"],"summary":"Get Character","operationId":"get_character_characters__character_id__get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["characters"],"summary":"Update Character","description":"Rename the character, or switch it public (everyone can see its avatar and posts).","operationId":"update_character_characters__character_id__patch","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CharacterOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["characters"],"summary":"Delete Character","operationId":"delete_character_characters__character_id__delete","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/characters/{character_id}/posts":{"get":{"tags":["characters"],"summary":"Get Character Posts","description":"A public model's page: its header and 24 published posts, newest first. Open to\nanyone; an anonymous visitor gets the blur and explicit rules the feed applies.","operationId":"get_character_posts_characters__character_id__posts_get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowcasePage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/characters/{character_id}/made":{"get":{"tags":["characters"],"summary":"Get Character Made","description":"The owner's finished videos and scene photos of their model, newest first.","operationId":"get_character_made_characters__character_id__made_get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MadeItem"},"title":"Response Get Character Made Characters  Character Id  Made Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/characters/{character_id}/scenes":{"post":{"tags":["characters"],"summary":"Make Scene Photo","description":"Photos of the character in a scene, usable as a first frame like any upload.\n\nOne photo answers with that photo, as it always has. Four answer with the photos that\nwere made, how many failed (each refunded) and how many were never tried (not charged).","operationId":"make_scene_photo_characters__character_id__scenes_post","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenePhotoRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ReferenceOut"},{"$ref":"#/components/schemas/ScenePhotosOut"}],"title":"Response Make Scene Photo Characters  Character Id  Scenes Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/guest":{"post":{"tags":["companion"],"summary":"Start Guest Chat","description":"A visitor who just confirmed they are 18 or older gets a hidden guest account and the\nnormal session cookie.\n\nAnswers 409 when the browser already has a session, a guest's or an account's. That is not\nan error for the web: it means carry on, the visitor can already chat.","operationId":"start_guest_chat_companion_guest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuestIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/earnings":{"get":{"tags":["companion"],"summary":"Get Earnings","description":"The signed in creator's totals per model. Counts and money only, never a fan or text.","operationId":"get_earnings_companion_earnings_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorEarningsOut"}}}}}}},"/companion/{character_id}/settings":{"get":{"tags":["companion"],"summary":"Get Creator Settings","operationId":"get_creator_settings_companion__character_id__settings_get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorSettingsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["companion"],"summary":"Put Creator Settings","operationId":"put_creator_settings_companion__character_id__settings_put","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorSettingsIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorSettingsOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/featured":{"get":{"tags":["companion"],"summary":"Get Featured","description":"Always 200, so the landing page logs nothing when no one is featured.","operationId":"get_featured_companion_featured_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanionFeatured"}}}}}}},"/companion/{character_id}/available":{"get":{"tags":["companion"],"summary":"Get Available","description":"Always 200, so a model page can ask without logging an error when she does not chat.","operationId":"get_available_companion__character_id__available_get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanionAvailable"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/{character_id}":{"get":{"tags":["companion"],"summary":"Get Companion","operationId":"get_companion_companion__character_id__get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanionView"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/{character_id}/messages":{"get":{"tags":["companion"],"summary":"List Messages","operationId":"list_messages_companion__character_id__messages_get","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"}},{"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":{"$ref":"#/components/schemas/CompanionMessages"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["companion"],"summary":"Send Message","operationId":"send_message_companion__character_id__messages_post","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanionSend"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/{character_id}/gifts/{gift_id}":{"post":{"tags":["companion"],"summary":"Send Gift","operationId":"send_gift_companion__character_id__gifts__gift_id__post","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}},{"name":"gift_id","in":"path","required":true,"schema":{"type":"string","title":"Gift Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/{character_id}/offers/{message_id}/accept":{"post":{"tags":["companion"],"summary":"Accept Offer","operationId":"accept_offer_companion__character_id__offers__message_id__accept_post","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfferAcceptedOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/{character_id}/locked/{message_id}/unlock":{"post":{"tags":["companion"],"summary":"Unlock Locked Photo","operationId":"unlock_locked_photo_companion__character_id__locked__message_id__unlock_post","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}},{"name":"message_id","in":"path","required":true,"schema":{"type":"string","title":"Message Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanionMessageOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/companion/{character_id}/chat":{"delete":{"tags":["companion"],"summary":"Delete Chat","operationId":"delete_chat_companion__character_id__chat_delete","parameters":[{"name":"character_id","in":"path","required":true,"schema":{"type":"string","title":"Character Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/photos":{"get":{"tags":["photos"],"summary":"List Photos","description":"The caller's own created photos, newest first. Private: nobody else is ever shown them.","operationId":"list_photos_photos_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PhotoOut"},"type":"array","title":"Response List Photos Photos Get"}}}}}}},"/photos/delete":{"post":{"tags":["photos"],"summary":"Delete Photos","description":"Delete up to 100 of the caller's photos. Ids that are not theirs to delete are skipped.","operationId":"delete_photos_photos_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/photos/{photo_id}":{"delete":{"tags":["photos"],"summary":"Delete Photo","operationId":"delete_photo_photos__photo_id__delete","parameters":[{"name":"photo_id","in":"path","required":true,"schema":{"type":"string","title":"Photo Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates":{"get":{"tags":["templates"],"summary":"Get Templates","operationId":"get_templates_templates_get","parameters":[{"name":"category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"top","title":"Sort"}},{"name":"tab","in":"query","required":false,"schema":{"type":"string","default":"for-you","title":"Tab"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TemplateResponse"},"title":"Response Get Templates Templates Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["templates"],"summary":"Create Template","operationId":"create_template_templates_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateCreateRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/covers":{"post":{"tags":["templates"],"summary":"Generate Cover","operationId":"generate_cover_templates_covers_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CoverResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/{slug}":{"get":{"tags":["templates"],"summary":"Get Template","operationId":"get_template_templates__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["templates"],"summary":"Unpublish Template","operationId":"unpublish_template_templates__slug__delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/{slug}/rating":{"patch":{"tags":["templates"],"summary":"Set Template Rating","description":"Admins only: set a post's rating either way, to correct one rated by mistake.","operationId":"set_template_rating_templates__slug__rating_patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRatingUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateRatingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/{slug}/visibility":{"patch":{"tags":["templates"],"summary":"Set Template Visibility","description":"Admins only: take any post off the feed or put it back, whoever owns it.\n\nThe delete below stays owner only. A creator hides their own work with that; this is for\nthe seeded posts, which have no owner, and for undoing a take down.","operationId":"set_template_visibility_templates__slug__visibility_patch","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateVisibilityUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TemplateVisibilityResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/prompt-tags":{"get":{"tags":["prompt-tags"],"summary":"List Prompt Tags","description":"The camera tags and reference tags the prompt picker offers. Needs no sign in.","operationId":"list_prompt_tags_prompt_tags_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptTagsResponse"}}}}}}},"/templates/{slug}/reactions":{"post":{"tags":["reactions"],"summary":"React","operationId":"react_templates__slug__reactions_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionToggleRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionToggleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["reactions"],"summary":"Unreact","operationId":"unreact_templates__slug__reactions_delete","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionToggleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/{slug}/reactions/boost":{"post":{"tags":["reactions"],"summary":"Boost","operationId":"boost_templates__slug__reactions_boost_post","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionBoostRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionToggleResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/{slug}/reactions/breakdown":{"get":{"tags":["reactions"],"summary":"Breakdown","operationId":"breakdown_templates__slug__reactions_breakdown_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionBreakdownResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/templates/{slug}/reactions/top":{"put":{"tags":["reactions"],"summary":"Set Top Kinds","operationId":"set_top_kinds_templates__slug__reactions_top_put","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionTopRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReactionBreakdownResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generations":{"post":{"tags":["generations"],"summary":"Create Gen","operationId":"create_gen_generations_post","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationCreate"}}}},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["generations"],"summary":"List Gen","operationId":"list_gen_generations_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GenerationResponse"},"title":"Response List Gen Generations Get"}}}}}}},"/generations/quote":{"get":{"tags":["generations"],"summary":"Quote Generation","description":"What this video would cost, so the Generate button can say so before it is pressed.","operationId":"quote_generation_generations_quote_get","parameters":[{"name":"template_slug","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Slug"}},{"name":"duration","in":"query","required":false,"schema":{"anyOf":[{"enum":["5s","10s","15s"],"type":"string"},{"type":"null"}],"title":"Duration"}},{"name":"resolution","in":"query","required":false,"schema":{"enum":["480p","720p","1080p"],"type":"string","default":"720p","title":"Resolution"}},{"name":"aspect_ratio","in":"query","required":false,"schema":{"enum":["9:16","1:1","16:9"],"type":"string","default":"9:16","title":"Aspect Ratio"}},{"name":"reference_video_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Video Id"}},{"name":"quality","in":"query","required":false,"schema":{"anyOf":[{"enum":["low","high"],"type":"string"},{"type":"null"}],"title":"Quality"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generations/{id}":{"get":{"tags":["generations"],"summary":"Get Gen","operationId":"get_gen_generations__id__get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["generations"],"summary":"Delete Gen","operationId":"delete_gen_generations__id__delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generations/delete":{"post":{"tags":["generations"],"summary":"Delete Many Gens","description":"Delete up to 100 finished videos of the caller. Ids that are not theirs, are unknown or\nare still being made are skipped, so one stale tile never fails the rest.","operationId":"delete_many_gens_generations_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDeleteResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generations/delete-failed":{"post":{"tags":["generations"],"summary":"Delete Failed Gens","description":"Delete up to 100 of the caller's oldest failed videos, for the Delete failed button.\n`remaining` says how many failed ones are left, so the button asks again until it is 0.","operationId":"delete_failed_gens_generations_delete_failed_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFailedResult"}}}}}}},"/generations/{id}/edits":{"post":{"tags":["generations"],"summary":"Send Edit","operationId":"send_edit_generations__id__edits_post","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","title":"Idempotency-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditDelta"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generations/{id}/thread":{"get":{"tags":["generations"],"summary":"Get Thread","description":"Every message of this video's chat in order, and the prices the composer shows.","operationId":"get_thread_generations__id__thread_get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/generations/{id}/rating":{"post":{"tags":["generations"],"summary":"Rate Gen","description":"Raise the rating of the owner's own finished video to NSFW. Free, and never lowered.\n\nRefused while the video is being made: its price is fixed at creation and the worker\nreads the rating when it runs, so a late switch would run the NSFW model at a safe price.","operationId":"rate_gen_generations__id__rating_post","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","title":"Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatingRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RatingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/credits/packs":{"get":{"tags":["credits"],"summary":"Get Packs","operationId":"get_packs_credits_packs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PackInfo"},"type":"array","title":"Response Get Packs Credits Packs Get"}}}}}}},"/credits/balance":{"get":{"tags":["credits"],"summary":"Get Balance","operationId":"get_balance_credits_balance_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceResponse"}}}}}}},"/payments/checkout":{"post":{"tags":["payments"],"summary":"Create Checkout","operationId":"create_checkout_payments_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/card-interest":{"post":{"tags":["payments"],"summary":"Record Card Interest","operationId":"record_card_interest_payments_card_interest_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardInterestRequest"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/open":{"get":{"tags":["payments"],"summary":"Get Open Payment","operationId":"get_open_payment_payments_open_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/OpenPaymentResponse"},{"type":"null"}],"title":"Response Get Open Payment Payments Open Get"}}}}}}},"/payments/{payment_id}":{"get":{"tags":["payments"],"summary":"Get Payment","operationId":"get_payment_payments__payment_id__get","parameters":[{"name":"payment_id","in":"path","required":true,"schema":{"type":"string","title":"Payment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentStatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/payments/webhook":{"post":{"tags":["payments"],"summary":"Webhook","operationId":"webhook_payments_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"title":"Response Webhook Payments Webhook Post"}}}}}}},"/referrals/me":{"get":{"tags":["referrals"],"summary":"Get My Referrals","operationId":"get_my_referrals_referrals_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralSummaryResponse"}}}}}}},"/affiliates/terms":{"get":{"tags":["affiliates"],"summary":"Get Terms","operationId":"get_terms_affiliates_terms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateTermsResponse"}}}}}}},"/affiliates/applications":{"post":{"tags":["affiliates"],"summary":"Apply","operationId":"apply_affiliates_applications_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateApplicationRequest"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateApplicationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/affiliates/me":{"get":{"tags":["affiliates"],"summary":"Get My Dashboard","operationId":"get_my_dashboard_affiliates_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateDashboardResponse"}}}}}}},"/notifications/unsubscribe":{"get":{"tags":["notifications"],"summary":"Open Unsubscribe Link","description":"Opening the link changes nothing: mail scanners fetch links, so a GET must be safe.\n\nIt hands the browser to the web page, which makes the POST.","operationId":"open_unsubscribe_link_notifications_unsubscribe_get","parameters":[{"name":"u","in":"query","required":true,"schema":{"type":"string","title":"U"}},{"name":"s","in":"query","required":true,"schema":{"type":"string","title":"S"}},{"name":"k","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"K"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["notifications"],"summary":"Unsubscribe","description":"Turn one kind of email off. Also the one click target of List-Unsubscribe.\n\nThe mail provider posts a small form body here; the signed query is the whole proof, so\nthe body is not read.","operationId":"unsubscribe_notifications_unsubscribe_post","parameters":[{"name":"u","in":"query","required":true,"schema":{"type":"string","title":"U"}},{"name":"s","in":"query","required":true,"schema":{"type":"string","title":"S"}},{"name":"k","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"K"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/notifications/resubscribe":{"post":{"tags":["notifications"],"summary":"Resubscribe","operationId":"resubscribe_notifications_resubscribe_post","parameters":[{"name":"u","in":"query","required":true,"schema":{"type":"string","title":"U"}},{"name":"s","in":"query","required":true,"schema":{"type":"string","title":"S"}},{"name":"k","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"K"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/ads":{"get":{"tags":["admin-ads"],"summary":"List Ad Library","operationId":"list_ad_library_admin_ads_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/ads/files/{name}":{"get":{"tags":["admin-ads"],"summary":"Download Ad File","operationId":"download_ad_file_admin_ads_files__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"inline","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Inline"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/ads/download":{"get":{"tags":["admin-ads"],"summary":"Download Ad Zip","operationId":"download_ad_zip_admin_ads_download_get","parameters":[{"name":"campaign","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Campaign"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/card-interest":{"get":{"tags":["admin-card-interest"],"summary":"Card Interest Summary","operationId":"card_interest_summary_admin_card_interest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/feedback":{"get":{"tags":["admin-feedback"],"summary":"List Feedback","description":"Newest first. `?new=1` leaves out whatever has been marked handled.","operationId":"list_feedback_admin_feedback_get","parameters":[{"name":"new","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"New"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/feedback/{feedback_id}/handled":{"post":{"tags":["admin-feedback"],"summary":"Mark Feedback Handled","operationId":"mark_feedback_handled_admin_feedback__feedback_id__handled_post","parameters":[{"name":"feedback_id","in":"path","required":true,"schema":{"type":"string","title":"Feedback Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users":{"get":{"tags":["admin-users"],"summary":"Users Summary","operationId":"users_summary_admin_users_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{user_id}":{"get":{"tags":["admin-users"],"summary":"User Detail","operationId":"user_detail_admin_users__user_id__get","parameters":[{"name":"user_id","in":"path","required":true,"schema":{"type":"string","title":"User Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AccountResponse":{"properties":{"email":{"type":"string","title":"Email"},"email_verified":{"type":"boolean","title":"Email Verified"},"joined":{"type":"string","format":"date-time","title":"Joined"},"notify_video_ready":{"type":"boolean","title":"Notify Video Ready"},"notify_reminders":{"type":"boolean","title":"Notify Reminders"},"purchases":{"items":{"$ref":"#/components/schemas/PurchaseOut"},"type":"array","title":"Purchases"}},"type":"object","required":["email","email_verified","joined","notify_video_ready","notify_reminders","purchases"],"title":"AccountResponse"},"ActivityOut":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"fan_line":{"type":"string","title":"Fan Line"},"locked":{"type":"boolean","title":"Locked"}},"type":"object","required":["id","label","fan_line","locked"],"title":"ActivityOut"},"AdminBoostEntry":{"properties":{"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"kind":{"type":"string","title":"Kind"},"amount":{"type":"integer","title":"Amount"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["email","kind","amount","created_at"],"title":"AdminBoostEntry"},"AffiliateApplicationRequest":{"properties":{"name":{"type":"string","maxLength":100,"minLength":1,"title":"Name"},"email":{"type":"string","minLength":1,"title":"Email"},"reach":{"type":"string","maxLength":1000,"minLength":1,"title":"Reach"},"audience_size":{"type":"string","maxLength":200,"minLength":1,"title":"Audience Size"},"link":{"type":"string","maxLength":300,"minLength":1,"title":"Link"}},"type":"object","required":["name","email","reach","audience_size","link"],"title":"AffiliateApplicationRequest","description":"The public application form. Every field is required and kept to one short line."},"AffiliateApplicationResponse":{"properties":{"status":{"type":"string","const":"received","title":"Status","default":"received"}},"type":"object","title":"AffiliateApplicationResponse"},"AffiliateDashboardResponse":{"properties":{"status":{"type":"string","enum":["active","revoked"],"title":"Status"},"percent":{"type":"integer","title":"Percent"},"months":{"type":"integer","title":"Months"},"code":{"type":"string","title":"Code"},"link":{"type":"string","title":"Link"},"signups":{"type":"integer","title":"Signups"},"buyers":{"type":"integer","title":"Buyers"},"purchases":{"type":"integer","title":"Purchases"},"purchase_cents":{"type":"integer","title":"Purchase Cents"},"earned_cents":{"type":"integer","title":"Earned Cents"},"paid_cents":{"type":"integer","title":"Paid Cents"},"owed_cents":{"type":"integer","title":"Owed Cents"},"by_month":{"items":{"$ref":"#/components/schemas/AffiliateMonthResponse"},"type":"array","title":"By Month"},"payouts":{"items":{"$ref":"#/components/schemas/AffiliatePayoutResponse"},"type":"array","title":"Payouts"}},"type":"object","required":["status","percent","months","code","link","signups","buyers","purchases","purchase_cents","earned_cents","paid_cents","owed_cents","by_month","payouts"],"title":"AffiliateDashboardResponse","description":"Counts and sums only. Nothing here says who a buyer is."},"AffiliateMonthResponse":{"properties":{"month":{"type":"string","title":"Month"},"purchases":{"type":"integer","title":"Purchases"},"purchase_cents":{"type":"integer","title":"Purchase Cents"},"commission_cents":{"type":"integer","title":"Commission Cents"}},"type":"object","required":["month","purchases","purchase_cents","commission_cents"],"title":"AffiliateMonthResponse"},"AffiliatePayoutResponse":{"properties":{"paid_on":{"type":"string","format":"date-time","title":"Paid On"},"amount_cents":{"type":"integer","title":"Amount Cents"},"note":{"type":"string","title":"Note"}},"type":"object","required":["paid_on","amount_cents","note"],"title":"AffiliatePayoutResponse"},"AffiliateTermsResponse":{"properties":{"percent":{"type":"integer","title":"Percent"},"months":{"type":"integer","title":"Months"}},"type":"object","required":["percent","months"],"title":"AffiliateTermsResponse","description":"The two terms the public page quotes. Settings, so the page never hardcodes them."},"AnalyticsConfigResponse":{"properties":{"key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key"},"host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Host"}},"type":"object","required":["key","host"],"title":"AnalyticsConfigResponse","description":"What the browser analytics script needs. Both are None when it must stay off."},"AttributionInput":{"properties":{"utm_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Source"},"utm_medium":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Medium"},"utm_campaign":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Campaign"},"utm_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Content"},"utm_term":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Utm Term"},"click_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Click Id"},"click_id_param":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Click Id Param"},"landing_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Landing Path"},"referrer_host":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referrer Host"},"captured_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Captured At"}},"type":"object","title":"AttributionInput","description":"Campaign data from the browser. Unknown keys are dropped, long values trimmed."},"BalanceResponse":{"properties":{"balance":{"type":"integer","title":"Balance"}},"type":"object","required":["balance"],"title":"BalanceResponse"},"Body_approve_oauth_authorize_post":{"properties":{"client_id":{"type":"string","title":"Client Id","default":""},"redirect_uri":{"type":"string","title":"Redirect Uri","default":""},"code_challenge":{"type":"string","title":"Code Challenge","default":""},"code_challenge_method":{"type":"string","title":"Code Challenge Method","default":""},"state":{"type":"string","title":"State","default":""},"resource":{"type":"string","title":"Resource","default":""},"scope":{"type":"string","title":"Scope","default":""},"csrf":{"type":"string","title":"Csrf","default":""},"decision":{"type":"string","title":"Decision","default":""}},"type":"object","title":"Body_approve_oauth_authorize_post"},"Body_create_character_characters_post":{"properties":{"name":{"type":"string","title":"Name"},"source":{"type":"string","enum":["photos","description","builder"],"title":"Source"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"appearance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Appearance"},"details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Details"},"nude":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Nude"},"consent_invented":{"type":"boolean","title":"Consent Invented","default":false},"photos":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Photos","default":[]}},"type":"object","required":["name","source"],"title":"Body_create_character_characters_post"},"Body_device_authorization_oauth_device_authorization_post":{"properties":{"client_id":{"type":"string","title":"Client Id","default":""},"resource":{"type":"string","title":"Resource","default":""}},"type":"object","title":"Body_device_authorization_oauth_device_authorization_post"},"Body_device_decision_device_post":{"properties":{"user_code":{"type":"string","title":"User Code","default":""},"csrf":{"type":"string","title":"Csrf","default":""},"decision":{"type":"string","title":"Decision","default":""}},"type":"object","title":"Body_device_decision_device_post"},"Body_revoke_oauth_revoke_post":{"properties":{"token":{"type":"string","title":"Token","default":""},"token_type_hint":{"type":"string","title":"Token Type Hint","default":""}},"type":"object","title":"Body_revoke_oauth_revoke_post"},"Body_token_oauth_token_post":{"properties":{"grant_type":{"type":"string","title":"Grant Type","default":""},"code":{"type":"string","title":"Code","default":""},"redirect_uri":{"type":"string","title":"Redirect Uri","default":""},"client_id":{"type":"string","title":"Client Id","default":""},"code_verifier":{"type":"string","title":"Code Verifier","default":""},"device_code":{"type":"string","title":"Device Code","default":""},"client_name":{"type":"string","title":"Client Name","default":""}},"type":"object","title":"Body_token_oauth_token_post"},"Body_upload_reference_references_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"},"consent_likeness":{"type":"boolean","title":"Consent Likeness","default":false},"character_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Character Id"}},"type":"object","required":["file"],"title":"Body_upload_reference_references_post"},"Body_upload_reference_video_references_video_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_reference_video_references_video_post"},"BulkDeleteRequest":{"properties":{"ids":{"items":{"type":"string","maxLength":64,"minLength":1},"type":"array","maxItems":100,"minItems":1,"title":"Ids"}},"type":"object","required":["ids"],"title":"BulkDeleteRequest"},"BulkDeleteResult":{"properties":{"deleted":{"items":{"type":"string"},"type":"array","title":"Deleted"},"skipped":{"items":{"type":"string"},"type":"array","title":"Skipped"}},"type":"object","required":["deleted","skipped"],"title":"BulkDeleteResult","description":"What was deleted and what was left alone, each in the order the ids were sent."},"CameraTagResponse":{"properties":{"tag":{"type":"string","title":"Tag"},"name":{"type":"string","title":"Name"},"kind":{"type":"string","title":"Kind"},"description":{"type":"string","title":"Description"},"use_for":{"type":"string","title":"Use For"},"for_photo":{"type":"boolean","title":"For Photo"}},"type":"object","required":["tag","name","kind","description","use_for","for_photo"],"title":"CameraTagResponse"},"CardInterestRequest":{"properties":{"pack_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pack Id"}},"type":"object","title":"CardInterestRequest"},"ChangePasswordRequest":{"properties":{"current_password":{"type":"string","title":"Current Password"},"new_password":{"type":"string","minLength":8,"title":"New Password"}},"type":"object","required":["current_password","new_password"],"title":"ChangePasswordRequest"},"CharacterOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"source":{"type":"string","enum":["photos","description"],"title":"Source"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"avatar_url":{"type":"string","title":"Avatar Url"},"sheet_url":{"type":"string","title":"Sheet Url"},"portrait_url":{"type":"string","title":"Portrait Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"gender":{"anyOf":[{"type":"string","enum":["woman","man"]},{"type":"null"}],"title":"Gender"},"is_public":{"type":"boolean","title":"Is Public"},"sheet_shared":{"type":"boolean","title":"Sheet Shared"},"can_share_sheet":{"type":"boolean","title":"Can Share Sheet"},"photos":{"items":{"$ref":"#/components/schemas/CharacterPhoto"},"type":"array","title":"Photos"}},"type":"object","required":["id","name","source","description","avatar_url","sheet_url","portrait_url","created_at","gender","is_public","sheet_shared","can_share_sheet","photos"],"title":"CharacterOut"},"CharacterPhoto":{"properties":{"thumb_url":{"type":"string","title":"Thumb Url"}},"type":"object","required":["thumb_url"],"title":"CharacterPhoto","description":"A small preview of a photo the owner uploaded. Never the original, never a key."},"CharacterPrices":{"properties":{"character":{"type":"integer","title":"Character"},"scene":{"type":"integer","title":"Scene"}},"type":"object","required":["character","scene"],"title":"CharacterPrices"},"CharacterSummary":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"source":{"type":"string","enum":["photos","description"],"title":"Source"},"avatar_url":{"type":"string","title":"Avatar Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"gender":{"anyOf":[{"type":"string","enum":["woman","man"]},{"type":"null"}],"title":"Gender"},"is_public":{"type":"boolean","title":"Is Public"}},"type":"object","required":["id","name","source","avatar_url","created_at","gender","is_public"],"title":"CharacterSummary"},"CharacterUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"is_public":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Public"},"sheet_shared":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Sheet Shared"}},"type":"object","title":"CharacterUpdate","description":"What the owner may change: the name, whether everyone can see the character, whether\nsigned in creators can see its sheet and use it, or any of them."},"CheckoutRequest":{"properties":{"pack_id":{"type":"string","title":"Pack Id"},"return_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Return Path"},"coin":{"anyOf":[{"type":"string","enum":["ltc","usdcsol","usdtbsc"]},{"type":"null"}],"title":"Coin"},"new_invoice":{"type":"boolean","title":"New Invoice","default":false}},"type":"object","required":["pack_id"],"title":"CheckoutRequest"},"CheckoutResponse":{"properties":{"invoice_url":{"type":"string","title":"Invoice Url"},"payment_id":{"type":"string","title":"Payment Id"}},"type":"object","required":["invoice_url","payment_id"],"title":"CheckoutResponse"},"ClientRegistration":{"properties":{"client_name":{"type":"string","maxLength":120,"title":"Client Name","default":""},"redirect_uris":{"items":{"type":"string","maxLength":2048},"type":"array","maxItems":10,"title":"Redirect Uris","default":[]},"grant_types":{"items":{"type":"string","maxLength":200},"type":"array","maxItems":10,"title":"Grant Types","default":[]}},"type":"object","title":"ClientRegistration"},"CompanionAvailable":{"properties":{"enabled":{"type":"boolean","title":"Enabled"}},"type":"object","required":["enabled"],"title":"CompanionAvailable","description":"Whether a model's page shows a Message button. Nothing else, for anyone."},"CompanionFeatured":{"properties":{"enabled":{"type":"boolean","title":"Enabled"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"}},"type":"object","required":["enabled"],"title":"CompanionFeatured","description":"The model the landing page invites visitors to chat with. Only enabled when none."},"CompanionMessageOut":{"properties":{"id":{"type":"string","title":"Id"},"role":{"type":"string","title":"Role"},"text":{"type":"string","title":"Text"},"mood":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mood"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"kind":{"type":"string","title":"Kind","default":"text"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"thumb_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Url"},"poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Url"},"aspect_ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect Ratio"},"preview_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Url"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"offer_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Offer Credits"},"offer_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Status"},"unlock_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Unlock Credits"},"signup_to_view":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Signup To View"}},"type":"object","required":["id","role","text","created_at"],"title":"CompanionMessageOut"},"CompanionMessages":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/CompanionMessageOut"},"type":"array","title":"Messages"}},"type":"object","required":["messages"],"title":"CompanionMessages"},"CompanionSend":{"properties":{"text":{"type":"string","title":"Text"},"activity_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Activity Id"}},"type":"object","required":["text"],"title":"CompanionSend"},"CompanionView":{"properties":{"name":{"type":"string","title":"Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"fiction_label":{"type":"string","title":"Fiction Label","default":"AI role play. This is fiction."},"status_line":{"type":"string","title":"Status Line"},"enabled":{"type":"boolean","title":"Enabled"},"viewer_is_guest":{"type":"boolean","title":"Viewer Is Guest","default":false},"age_required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Age Required"},"level":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Level"},"into_level":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Into Level"},"level_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Level Size"},"streak_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Streak Days"},"mood":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mood"},"blocked":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Blocked"},"activities":{"anyOf":[{"items":{"$ref":"#/components/schemas/ActivityOut"},"type":"array"},{"type":"null"}],"title":"Activities"},"gifts":{"anyOf":[{"items":{"$ref":"#/components/schemas/GiftOut"},"type":"array"},{"type":"null"}],"title":"Gifts"},"pending_media":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Pending Media"}},"type":"object","required":["name","status_line","enabled"],"title":"CompanionView","description":"The header of a chat. Fan fields are left out when nobody is signed in."},"ConnectionOut":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"hint":{"type":"string","title":"Hint"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"last_used_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Used At"}},"type":"object","required":["id","name","hint","created_at"],"title":"ConnectionOut","description":"One app a creator has connected. Never the token itself."},"CoverRequest":{"properties":{"prompt":{"type":"string","maxLength":2000,"minLength":1,"title":"Prompt"}},"type":"object","required":["prompt"],"title":"CoverRequest"},"CoverResponse":{"properties":{"cover_id":{"type":"string","title":"Cover Id"},"cover_url":{"type":"string","title":"Cover Url"}},"type":"object","required":["cover_id","cover_url"],"title":"CoverResponse"},"CreatorEarningsOut":{"properties":{"models":{"items":{"$ref":"#/components/schemas/ModelEarningsOut"},"type":"array","title":"Models"},"owed_cents":{"type":"integer","title":"Owed Cents"}},"type":"object","required":["models","owed_cents"],"title":"CreatorEarningsOut","description":"Totals only. No fan, no message."},"CreatorSettingsIn":{"properties":{"chat_enabled":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Chat Enabled"},"persona":{"anyOf":[{"$ref":"#/components/schemas/PersonaIn"},{"type":"null"}]}},"additionalProperties":false,"type":"object","title":"CreatorSettingsIn"},"CreatorSettingsOut":{"properties":{"chat_enabled":{"type":"boolean","title":"Chat Enabled"},"persona":{"$ref":"#/components/schemas/PersonaOut"},"share_percent":{"type":"integer","title":"Share Percent"},"can_enable":{"type":"boolean","title":"Can Enable"},"cannot_enable_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cannot Enable Reason"},"can_preview":{"type":"boolean","title":"Can Preview"},"library_ready":{"type":"integer","title":"Library Ready"},"library_total":{"type":"integer","title":"Library Total"},"library_filling":{"type":"boolean","title":"Library Filling"}},"type":"object","required":["chat_enabled","persona","share_percent","can_enable","can_preview","library_ready","library_total","library_filling"],"title":"CreatorSettingsOut"},"DeleteAccountRequest":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"DeleteAccountRequest"},"DeleteFailedResult":{"properties":{"deleted":{"type":"integer","title":"Deleted"},"remaining":{"type":"integer","title":"Remaining"},"ids":{"items":{"type":"string"},"type":"array","title":"Ids"}},"type":"object","required":["deleted","remaining","ids"],"title":"DeleteFailedResult","description":"How many failed videos this call deleted, which ones, and how many failed ones are still\nleft. The ids let the page drop exactly these even when a later call fails."},"EditDelta":{"properties":{"creator_message":{"$ref":"#/components/schemas/EditMessageOut"},"assistant_message":{"anyOf":[{"$ref":"#/components/schemas/EditMessageOut"},{"type":"null"}]},"version":{"anyOf":[{"$ref":"#/components/schemas/GenerationResponse"},{"type":"null"}]}},"type":"object","required":["creator_message"],"title":"EditDelta"},"EditMessageOut":{"properties":{"id":{"type":"string","title":"Id"},"role":{"type":"string","enum":["creator","assistant"],"title":"Role"},"text":{"type":"string","title":"Text"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"needs_nsfw":{"type":"boolean","title":"Needs Nsfw","default":false},"created_at":{"type":"string","format":"date-time","title":"Created At"},"version":{"anyOf":[{"$ref":"#/components/schemas/GenerationResponse"},{"type":"null"}]},"photo":{"anyOf":[{"$ref":"#/components/schemas/EditPhoto"},{"type":"null"}]},"status_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status Note"}},"type":"object","required":["id","role","text","created_at"],"title":"EditMessageOut"},"EditPhoto":{"properties":{"reference_id":{"type":"string","title":"Reference Id"},"url":{"type":"string","title":"Url"},"thumb_url":{"type":"string","title":"Thumb Url"}},"type":"object","required":["reference_id","url","thumb_url"],"title":"EditPhoto","description":"The new first frame a message made, as a small thumbnail plus the full image."},"EditPrices":{"properties":{"video_credits":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Video Credits"},"photo_credits":{"type":"integer","title":"Photo Credits"}},"type":"object","required":["photo_credits"],"title":"EditPrices"},"EditRequest":{"properties":{"message":{"type":"string","maxLength":1000,"minLength":1,"title":"Message"}},"type":"object","required":["message"],"title":"EditRequest"},"EmailCodeVerifyRequest":{"properties":{"code":{"type":"string","title":"Code"}},"type":"object","required":["code"],"title":"EmailCodeVerifyRequest"},"ForgotPasswordRequest":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ForgotPasswordRequest"},"GenerationCharacter":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"avatar_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Avatar Url"},"is_public":{"type":"boolean","title":"Is Public"}},"type":"object","required":["id","name","is_public"],"title":"GenerationCharacter","description":"The owner's model a video was made from, so Publish can offer to show it on the post."},"GenerationCreate":{"properties":{"template_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Slug"},"reference_id":{"type":"string","title":"Reference Id"},"aspect_ratio":{"type":"string","enum":["9:16","1:1","16:9"],"title":"Aspect Ratio"},"resolution":{"type":"string","enum":["480p","720p","1080p"],"title":"Resolution","default":"720p"},"prompt":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}],"title":"Prompt"},"duration":{"anyOf":[{"type":"string","enum":["5s","10s","15s"]},{"type":"null"}],"title":"Duration"},"enhance":{"type":"boolean","title":"Enhance","default":true},"reference_video_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Video Id"},"quality":{"anyOf":[{"type":"string","enum":["low","high"]},{"type":"null"}],"title":"Quality"},"frame_reference_ids":{"anyOf":[{"items":{"type":"string"},"type":"array","maxItems":2},{"type":"null"}],"title":"Frame Reference Ids"}},"type":"object","required":["reference_id","aspect_ratio"],"title":"GenerationCreate"},"GenerationResponse":{"properties":{"id":{"type":"string","title":"Id"},"template_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Slug"},"reference_id":{"type":"string","title":"Reference Id"},"aspect_ratio":{"type":"string","title":"Aspect Ratio"},"duration":{"type":"string","title":"Duration"},"resolution":{"type":"string","title":"Resolution"},"status":{"type":"string","title":"Status"},"quoted_usd":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Quoted Usd"},"credits_charged":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Charged"},"output_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Key"},"poster_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Key"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"output_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Output Url"},"poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Url"},"reference_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Url"},"reference_thumb_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Thumb Url"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"template_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Name"},"is_nsfw":{"type":"boolean","title":"Is Nsfw","default":false},"published_template_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Published Template Slug"},"watermarked":{"type":"boolean","title":"Watermarked","default":false},"is_slow":{"type":"boolean","title":"Is Slow","default":false},"character":{"anyOf":[{"$ref":"#/components/schemas/GenerationCharacter"},{"type":"null"}]}},"type":"object","required":["id","reference_id","aspect_ratio","duration","resolution","status","quoted_usd","credits_charged","output_key","poster_key","error_code","created_at"],"title":"GenerationResponse"},"GiftOut":{"properties":{"id":{"type":"string","title":"Id"},"label":{"type":"string","title":"Label"},"credits":{"type":"integer","title":"Credits"}},"type":"object","required":["id","label","credits"],"title":"GiftOut"},"GuestIn":{"properties":{"age_confirmed":{"type":"boolean","const":true,"title":"Age Confirmed"}},"type":"object","required":["age_confirmed"],"title":"GuestIn","description":"The visitor passed the 18+ gate. Only true is accepted."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"LoginRequest"},"MadeItem":{"properties":{"kind":{"type":"string","enum":["video","photo"],"title":"Kind"},"id":{"type":"string","title":"Id"},"thumb_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Url"},"preview_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Url"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"is_nsfw":{"type":"boolean","title":"Is Nsfw","default":false},"is_public":{"type":"boolean","title":"Is Public","default":false}},"type":"object","required":["kind","id","created_at"],"title":"MadeItem"},"ModelEarningsOut":{"properties":{"character_id":{"type":"string","title":"Character Id"},"name":{"type":"string","title":"Name"},"fans":{"type":"integer","title":"Fans"},"messages":{"type":"integer","title":"Messages"},"earned_cents_month":{"type":"integer","title":"Earned Cents Month"},"earned_cents_total":{"type":"integer","title":"Earned Cents Total"}},"type":"object","required":["character_id","name","fans","messages","earned_cents_month","earned_cents_total"],"title":"ModelEarningsOut"},"OfferAcceptedOut":{"properties":{"offer_id":{"type":"string","title":"Offer Id"},"offer_status":{"type":"string","title":"Offer Status"}},"type":"object","required":["offer_id","offer_status"],"title":"OfferAcceptedOut"},"OpenPaymentResponse":{"properties":{"id":{"type":"string","title":"Id"},"pack_name":{"type":"string","title":"Pack Name"},"amount_usd":{"type":"number","title":"Amount Usd"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"resume_url":{"type":"string","title":"Resume Url"}},"type":"object","required":["id","pack_name","amount_usd","created_at","resume_url"],"title":"OpenPaymentResponse","description":"An invoice the buyer started and has not paid, with where to pick it up again."},"PackInfo":{"properties":{"id":{"type":"string","title":"Id"},"price_usd":{"type":"number","title":"Price Usd"},"credits":{"type":"integer","title":"Credits"},"name":{"type":"string","title":"Name"},"bonus_credits":{"type":"integer","title":"Bonus Credits","default":0},"total_credits":{"type":"integer","title":"Total Credits"},"promo_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Promo Name"},"promo_ends_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Promo Ends At"}},"type":"object","required":["id","price_usd","credits","name","total_credits"],"title":"PackInfo"},"PaymentStatusResponse":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","title":"Status"},"credits":{"type":"integer","title":"Credits"},"pack_name":{"type":"string","title":"Pack Name"},"amount_usd":{"type":"number","title":"Amount Usd"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","status","credits","pack_name","amount_usd","created_at"],"title":"PaymentStatusResponse"},"PersonaIn":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"job":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job"},"voice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Voice"},"likes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Likes"},"dislikes":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Dislikes"},"pace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pace"}},"additionalProperties":false,"type":"object","title":"PersonaIn","description":"What a creator may edit. Her age is not here and extra fields are refused, so it can\nnever be sent. The service checks the wording and the lengths."},"PersonaOut":{"properties":{"name":{"type":"string","title":"Name"},"job":{"type":"string","title":"Job"},"voice":{"type":"string","title":"Voice"},"likes":{"items":{"type":"string"},"type":"array","title":"Likes"},"dislikes":{"items":{"type":"string"},"type":"array","title":"Dislikes"},"pace":{"type":"string","title":"Pace"}},"type":"object","required":["name","job","voice","likes","dislikes","pace"],"title":"PersonaOut"},"PhotoCharacter":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"avatar_url":{"type":"string","title":"Avatar Url"}},"type":"object","required":["id","name","avatar_url"],"title":"PhotoCharacter"},"PhotoEditIn":{"properties":{"instruction":{"type":"string","title":"Instruction"},"character_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Character Id"}},"type":"object","required":["instruction"],"title":"PhotoEditIn"},"PhotoOut":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumb_url":{"type":"string","title":"Thumb Url"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"character":{"anyOf":[{"$ref":"#/components/schemas/PhotoCharacter"},{"type":"null"}]},"scene_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scene Text"},"template_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Slug"}},"type":"object","required":["id","url","thumb_url","width","height","created_at","character","scene_text","template_slug"],"title":"PhotoOut"},"PreferencesUpdate":{"properties":{"show_explicit":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Show Explicit"},"notify_video_ready":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Video Ready"},"notify_reminders":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Notify Reminders"}},"type":"object","title":"PreferencesUpdate","description":"Settings the reader may change. A field left out, or sent as null, stays as it is."},"PromptTagsResponse":{"properties":{"camera":{"items":{"$ref":"#/components/schemas/CameraTagResponse"},"type":"array","title":"Camera"},"references":{"items":{"$ref":"#/components/schemas/ReferenceTagResponse"},"type":"array","title":"References"}},"type":"object","required":["camera","references"],"title":"PromptTagsResponse"},"PurchaseOut":{"properties":{"id":{"type":"string","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"credits":{"type":"integer","title":"Credits"},"amount_usd":{"type":"number","title":"Amount Usd"},"pack_name":{"type":"string","title":"Pack Name"}},"type":"object","required":["id","created_at","credits","amount_usd","pack_name"],"title":"PurchaseOut"},"QuoteResponse":{"properties":{"credits":{"type":"integer","title":"Credits"}},"type":"object","required":["credits"],"title":"QuoteResponse"},"RatingRequest":{"properties":{"nsfw":{"type":"boolean","title":"Nsfw"}},"type":"object","required":["nsfw"],"title":"RatingRequest"},"RatingResponse":{"properties":{"nsfw":{"type":"boolean","title":"Nsfw"}},"type":"object","required":["nsfw"],"title":"RatingResponse"},"ReactionBoostRequest":{"properties":{"kind":{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"],"title":"Kind"},"amount":{"type":"integer","maximum":1000.0,"minimum":1.0,"title":"Amount"}},"type":"object","required":["kind","amount"],"title":"ReactionBoostRequest"},"ReactionBreakdownResponse":{"properties":{"kinds":{"items":{"$ref":"#/components/schemas/ReactionKindBreakdown"},"type":"array","title":"Kinds"},"top_kinds":{"items":{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"]},"type":"array","title":"Top Kinds"},"real_reactions":{"items":{"$ref":"#/components/schemas/RealReactionEntry"},"type":"array","title":"Real Reactions"},"admin_boosts":{"items":{"$ref":"#/components/schemas/AdminBoostEntry"},"type":"array","title":"Admin Boosts"}},"type":"object","required":["kinds","top_kinds","real_reactions","admin_boosts"],"title":"ReactionBreakdownResponse","description":"Admin only. Real versus seeded numbers and who is behind them."},"ReactionKindBreakdown":{"properties":{"kind":{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"],"title":"Kind"},"real":{"type":"integer","title":"Real"},"seeded_engine":{"type":"integer","title":"Seeded Engine"},"seeded_admin":{"type":"integer","title":"Seeded Admin"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["kind","real","seeded_engine","seeded_admin","total"],"title":"ReactionKindBreakdown"},"ReactionToggleRequest":{"properties":{"kind":{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"],"title":"Kind"}},"type":"object","required":["kind"],"title":"ReactionToggleRequest"},"ReactionToggleResponse":{"properties":{"reaction_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Reaction Counts"},"my_reaction":{"anyOf":[{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"]},{"type":"null"}],"title":"My Reaction"}},"type":"object","required":["reaction_counts","my_reaction"],"title":"ReactionToggleResponse"},"ReactionTopRequest":{"properties":{"kinds":{"items":{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"]},"type":"array","maxItems":2,"minItems":2,"title":"Kinds"}},"type":"object","required":["kinds"],"title":"ReactionTopRequest","description":"The two emojis the engine adds to a template, first then second. Must differ."},"RealReactionEntry":{"properties":{"email":{"type":"string","title":"Email"},"kind":{"type":"string","title":"Kind"},"reacted_at":{"type":"string","format":"date-time","title":"Reacted At"}},"type":"object","required":["email","kind","reacted_at"],"title":"RealReactionEntry"},"ReferenceFromCover":{"properties":{"cover_id":{"type":"string","title":"Cover Id"}},"type":"object","required":["cover_id"],"title":"ReferenceFromCover"},"ReferenceFromTemplate":{"properties":{"slug":{"type":"string","title":"Slug"}},"type":"object","required":["slug"],"title":"ReferenceFromTemplate"},"ReferenceOut":{"properties":{"id":{"type":"string","title":"Id"},"url":{"type":"string","title":"Url"},"thumb_url":{"type":"string","title":"Thumb Url"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"}},"type":"object","required":["id","url","thumb_url","width","height"],"title":"ReferenceOut"},"ReferenceTagResponse":{"properties":{"tag":{"type":"string","title":"Tag"},"name":{"type":"string","title":"Name"},"description":{"type":"string","title":"Description"}},"type":"object","required":["tag","name","description"],"title":"ReferenceTagResponse"},"ReferenceVideoOut":{"properties":{"id":{"type":"string","title":"Id"},"duration_seconds":{"type":"number","title":"Duration Seconds"},"width":{"type":"integer","title":"Width"},"height":{"type":"integer","title":"Height"},"url":{"type":"string","title":"Url"}},"type":"object","required":["id","duration_seconds","width","height","url"],"title":"ReferenceVideoOut"},"ReferralSummaryResponse":{"properties":{"code":{"type":"string","title":"Code"},"link":{"type":"string","title":"Link"},"joined":{"type":"integer","title":"Joined"},"credits_earned":{"type":"integer","title":"Credits Earned"},"signup_bonus":{"type":"integer","title":"Signup Bonus"},"payout_percent":{"type":"integer","title":"Payout Percent"},"is_affiliate":{"type":"boolean","title":"Is Affiliate","default":false},"affiliate_percent":{"type":"integer","title":"Affiliate Percent","default":0},"affiliate_months":{"type":"integer","title":"Affiliate Months","default":0},"has_affiliate_dashboard":{"type":"boolean","title":"Has Affiliate Dashboard","default":false}},"type":"object","required":["code","link","joined","credits_earned","signup_bonus","payout_percent"],"title":"ReferralSummaryResponse"},"ResetPasswordRequest":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","minLength":8,"title":"Password"}},"type":"object","required":["token","password"],"title":"ResetPasswordRequest"},"ScenePhotoRequest":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"template_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Template Slug"},"details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Details"},"aspect_ratio":{"type":"string","enum":["9:16","1:1","16:9"],"title":"Aspect Ratio","default":"9:16"},"count":{"type":"integer","enum":[1,4],"title":"Count","default":1},"outfit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outfit"},"place":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place"},"outfit_reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outfit Reference Id"},"place_reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Place Reference Id"},"item_reference_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Item Reference Id"},"enhance":{"type":"boolean","title":"Enhance","default":true}},"type":"object","title":"ScenePhotoRequest"},"ScenePhotosOut":{"properties":{"photos":{"items":{"$ref":"#/components/schemas/ReferenceOut"},"type":"array","title":"Photos"},"failed":{"type":"integer","title":"Failed"},"skipped":{"type":"integer","title":"Skipped"}},"type":"object","required":["photos","failed","skipped"],"title":"ScenePhotosOut","description":"A batch of scene photos: the ones made, how many failed (each refunded), and how many\nwere never tried (never charged)."},"SessionResponse":{"properties":{"user":{"anyOf":[{"$ref":"#/components/schemas/UserResponse"},{"type":"null"}]}},"type":"object","required":["user"],"title":"SessionResponse","description":"Who is signed in, or nobody. A visitor gets a user of None, not a 401."},"ShowcaseCharacter":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"avatar_url":{"type":"string","title":"Avatar Url"}},"type":"object","required":["id","name","avatar_url"],"title":"ShowcaseCharacter","description":"The public face of a public character: the model's generated avatar, never the photos it\nwas built from."},"ShowcaseHeader":{"properties":{"id":{"type":"string","title":"Id"},"name":{"type":"string","title":"Name"},"avatar_url":{"type":"string","title":"Avatar Url"},"post_count":{"type":"integer","title":"Post Count"},"owner_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Handle"},"is_owner":{"type":"boolean","title":"Is Owner","default":false},"sheet_shared":{"type":"boolean","title":"Sheet Shared","default":false},"sheet_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sheet Url"},"can_use":{"type":"boolean","title":"Can Use","default":false}},"type":"object","required":["id","name","avatar_url","post_count"],"title":"ShowcaseHeader","description":"The top of a model's page."},"ShowcasePage":{"properties":{"character":{"$ref":"#/components/schemas/ShowcaseHeader"},"posts":{"items":{"$ref":"#/components/schemas/TemplateResponse"},"type":"array","title":"Posts"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["character","posts"],"title":"ShowcasePage","description":"A model's header and one page of its published posts. next_cursor is null on the last."},"ShowcaseReference":{"properties":{"kind":{"type":"string","enum":["outfit","place","item","scene"],"title":"Kind"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"thumb_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Thumb Url"}},"type":"object","required":["kind"],"title":"ShowcaseReference","description":"One thing a post was made with. An own photo has a thumb_url, a preset or words a label."},"SignupRequest":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","minLength":8,"title":"Password"},"categories":{"items":{"type":"string"},"type":"array","title":"Categories"},"show_explicit":{"type":"boolean","title":"Show Explicit","default":true},"accepted_terms":{"type":"boolean","title":"Accepted Terms"},"ref":{"anyOf":[{"type":"string","maxLength":64},{"type":"null"}],"title":"Ref"},"attribution":{"anyOf":[{"$ref":"#/components/schemas/AttributionInput"},{"type":"null"}]}},"type":"object","required":["email","password","accepted_terms"],"title":"SignupRequest"},"StatusResponse":{"properties":{"status":{"type":"string","title":"Status"}},"type":"object","required":["status"],"title":"StatusResponse"},"TemplateCreateRequest":{"properties":{"name":{"type":"string","maxLength":80,"minLength":1,"title":"Name"},"subtitle":{"type":"string","maxLength":140,"minLength":1,"title":"Subtitle"},"category":{"type":"string","maxLength":80,"minLength":1,"title":"Category"},"prompt_template":{"type":"string","maxLength":2000,"minLength":1,"title":"Prompt Template"},"negative_prompt":{"type":"string","maxLength":2000,"title":"Negative Prompt","default":""},"is_nsfw":{"type":"boolean","title":"Is Nsfw"},"source_generation_id":{"type":"string","title":"Source Generation Id"},"show_model":{"type":"boolean","title":"Show Model","default":false}},"type":"object","required":["name","subtitle","category","prompt_template","is_nsfw","source_generation_id"],"title":"TemplateCreateRequest"},"TemplateRatingResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"is_nsfw":{"type":"boolean","title":"Is Nsfw"}},"type":"object","required":["slug","is_nsfw"],"title":"TemplateRatingResponse"},"TemplateRatingUpdate":{"properties":{"is_nsfw":{"type":"boolean","title":"Is Nsfw"}},"type":"object","required":["is_nsfw"],"title":"TemplateRatingUpdate","description":"An admin's correction to a post's rating, in either direction."},"TemplateResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"name":{"type":"string","title":"Name"},"subtitle":{"type":"string","title":"Subtitle"},"category":{"type":"string","title":"Category"},"duration":{"type":"string","enum":["5s","10s","15s"],"title":"Duration"},"is_nsfw":{"type":"boolean","title":"Is Nsfw"},"poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Poster Url"},"card_poster_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Poster Url"},"preview_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Preview Url"},"card_preview_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Card Preview Url"},"blurred_poster":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Blurred Poster"},"reaction_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Reaction Counts"},"my_reaction":{"anyOf":[{"type":"string","enum":["love","laugh","cry","shocked","fire","clap"]},{"type":"null"}],"title":"My Reaction"},"blurred":{"type":"boolean","title":"Blurred"},"owner_handle":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Handle"},"owner_referral_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Owner Referral Code"},"use_count":{"type":"integer","title":"Use Count","default":0},"prompt_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Template"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"character":{"anyOf":[{"$ref":"#/components/schemas/ShowcaseCharacter"},{"type":"null"}]},"references":{"items":{"$ref":"#/components/schemas/ShowcaseReference"},"type":"array","title":"References","default":[]}},"type":"object","required":["slug","name","subtitle","category","duration","is_nsfw","reaction_counts","blurred"],"title":"TemplateResponse"},"TemplateVisibilityResponse":{"properties":{"slug":{"type":"string","title":"Slug"},"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["slug","is_active"],"title":"TemplateVisibilityResponse"},"TemplateVisibilityUpdate":{"properties":{"is_active":{"type":"boolean","title":"Is Active"}},"type":"object","required":["is_active"],"title":"TemplateVisibilityUpdate","description":"An admin taking a post off the feed, or putting it back."},"ThreadResponse":{"properties":{"thread_root_id":{"type":"string","title":"Thread Root Id"},"is_nsfw":{"type":"boolean","title":"Is Nsfw","default":false},"messages":{"items":{"$ref":"#/components/schemas/EditMessageOut"},"type":"array","title":"Messages"},"prices":{"$ref":"#/components/schemas/EditPrices"}},"type":"object","required":["thread_root_id","messages","prices"],"title":"ThreadResponse"},"UserResponse":{"properties":{"email":{"type":"string","title":"Email"},"credits":{"type":"integer","title":"Credits"},"email_verified":{"type":"boolean","title":"Email Verified"},"welcome_credits":{"type":"integer","title":"Welcome Credits"},"is_admin":{"type":"boolean","title":"Is Admin"},"show_explicit":{"type":"boolean","title":"Show Explicit"},"referral_code":{"type":"string","title":"Referral Code"},"has_purchased":{"type":"boolean","title":"Has Purchased"},"watermark_mode":{"type":"string","enum":["until_first_purchase","all","off"],"title":"Watermark Mode"},"analytics_id":{"type":"string","title":"Analytics Id"},"analytics_opt_out":{"type":"boolean","title":"Analytics Opt Out"}},"type":"object","required":["email","credits","email_verified","welcome_credits","is_admin","show_explicit","referral_code","has_purchased","watermark_mode","analytics_id","analytics_opt_out"],"title":"UserResponse"},"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"},"VerifyEmailRequest":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"VerifyEmailRequest"},"VerifyEmailResponse":{"properties":{"status":{"type":"string","title":"Status"},"credits_granted":{"type":"integer","title":"Credits Granted"},"welcome_reason":{"type":"string","enum":["granted","cap_reached","already_given","not_offered"],"title":"Welcome Reason"}},"type":"object","required":["status","credits_granted","welcome_reason"],"title":"VerifyEmailResponse"},"WelcomeOfferResponse":{"properties":{"credits":{"type":"integer","title":"Credits"},"referral_bonus":{"type":"integer","title":"Referral Bonus"},"on_signup":{"type":"boolean","title":"On Signup"}},"type":"object","required":["credits","referral_bonus","on_signup"],"title":"WelcomeOfferResponse"}}}}