{"openapi":"3.1.0","info":{"title":"media_mcp","version":"0.1.0"},"paths":{"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/manifest":{"get":{"summary":"Manifest","operationId":"manifest_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brian-manifest":{"get":{"summary":"Manifest","operationId":"manifest_brian_manifest_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/reload":{"post":{"summary":"Admin Reload","description":"Re-read every JSON registry from disk and report the new counts.\n\nThe Media Console writes assets.json in place, but until now the running\nserver only picked that up on a redeploy — the module comments said as much\n(\"reload by restarting the server\"). This is the reload (backlog 1595).\nNothing here is cached across the call: each registry owns its own reload,\nand a registry that fails to parse is reported per-name rather than taking\nthe process down with it (backlog 1594).","operationId":"admin_reload_admin_reload_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ops/probes":{"get":{"summary":"Ops Probes","description":"Dependency-aware health for the central Control Room dashboard.\n\nLiveness is /health; this answers \"is anything degraded?\". Probes:\n  registry      — voices/agents/assets/brands loaded with non-zero counts\n  voices_key    — ELEVENLABS_API_KEY resolvable via auth-mcp (TTS works)\n  r2_assets     — share of binaries pushed to R2/CDN (deployed images 404 at 0);\n                  escalates to red if an incomplete upload stays unresolved >7 days\n  cdn_reachable — HEAD (GET-fallback) against the CDN for one canonical uploaded\n                  asset, verifying the CDN actually serves what uploaded:true claims\noverall = worst probe status (red > amber > green).","operationId":"ops_probes_ops_probes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/voices":{"get":{"summary":"List Voices","operationId":"list_voices_voices_get","parameters":[{"name":"speaker","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Speaker"}},{"name":"lang","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lang"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/voices/lookup":{"get":{"summary":"Lookup Voice","operationId":"lookup_voice_voices_lookup_get","parameters":[{"name":"speaker","in":"query","required":true,"schema":{"type":"string","title":"Speaker"}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Lang"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/voices/{name_or_id}":{"get":{"summary":"Get Voice","operationId":"get_voice_voices__name_or_id__get","parameters":[{"name":"name_or_id","in":"path","required":true,"schema":{"type":"string","title":"Name Or Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/speakers":{"get":{"summary":"List Speakers","operationId":"list_speakers_speakers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/langs":{"get":{"summary":"List Langs","operationId":"list_langs_langs_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents":{"get":{"summary":"List Agents","operationId":"list_agents_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents/{agent_id}":{"get":{"summary":"Agent Bundle","description":"Everything for one agent in a single call: grouped images + videos plus\nthe agent's linked ElevenLabs voices (all registered locales).","operationId":"agent_bundle_agents__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets":{"get":{"summary":"List Assets","operationId":"list_assets_assets_get","parameters":[{"name":"agent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent"}},{"name":"kind","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"}},{"name":"role","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"}},{"name":"variant","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"}},{"name":"tag","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/pick":{"get":{"summary":"Pick Asset","description":"Resolve one canonical asset for (agent, role[, variant]).\n\nA miss answers with the valid/near-miss agents, roles and variants rather\nthan a bare 404 — this is the browser resolver path, where a typo'd role\nstring is the usual failure (assets_mod.pick_detail).\n\nAn `avatar` resolves to a small variant unless `size=0` asks for the master\n(backlog 2424). That default is the point: the email inliner in orca_auth\nfetches whatever URL it is handed and keeps it only if it clears its 45KB\nbudget, so serving an inlinable avatar here is what lets it stop keeping its\nown copies — with no change on its side. Every payload names both URLs\n(`url`, `master_url`), so nothing has to guess which one it got. Other roles\nare untouched: they are not inlined anywhere.","operationId":"pick_asset_assets_pick_get","parameters":[{"name":"agent","in":"query","required":true,"schema":{"type":"string","title":"Agent"}},{"name":"role","in":"query","required":true,"schema":{"type":"string","title":"Role"}},{"name":"variant","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"}},{"name":"size","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":2048,"minimum":0},{"type":"null"}],"description":"Longest side of a small inlinable variant; 0 for the master.","title":"Size"},"description":"Longest side of a small inlinable variant; 0 for the master."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/asset-roles":{"get":{"summary":"List Asset Roles","operationId":"list_asset_roles_asset_roles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/assets/{asset_id}":{"get":{"summary":"Get Asset","operationId":"get_asset_assets__asset_id__get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/file":{"get":{"summary":"Get Asset File","description":"Serve an asset's binary. If it's uploaded, redirect to the CDN; otherwise\nserve the local `source` file so the console can preview not-yet-uploaded\nimages. Sources are trusted (from our own registry) but we still confine the\nresolved path to the Notebooks root.\n\nWith `?w=` the master is resized here instead of redirecting to the CDN, and\nthe small bytes are served from this service — that is what makes an asset\ninlinable as a `data:` URI by an email sender (backlog 2424). The CDN keeps\nthe master; it has no derivatives.","operationId":"get_asset_file_assets__asset_id__file_get","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}},{"name":"w","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Longest side of a small variant, in px (16-1024). Omit for the full-size binary; see `small_url` on the asset payload.","title":"W"},"description":"Longest side of a small variant, in px (16-1024). Omit for the full-size binary; see `small_url` on the asset payload."},{"name":"fmt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Variant format: webp (default), png, jpeg.","title":"Fmt"},"description":"Variant format: webp (default), png, jpeg."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/default":{"post":{"summary":"Set Asset Default","description":"Make this asset the default for its (agent, role). Persists to the\nregistry and returns the refreshed agent bundle.","operationId":"set_asset_default_assets__asset_id__default_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/style-subject":{"post":{"summary":"Set Asset Style Subject","description":"Flag this image as its agent's drawn style subject: the image a restyle is\ngenerated *from*, so every other too-photographic image of that agent comes\nback as the same drawn character instead of as whoever the photo showed\n(backlog 1421).\n\nDeliberately separate from /default: which image a page loads and which image\na restyle is drawn from are different questions, and a photographic default\nis exactly the case this exists to fix. Persists and returns the refreshed\nagent bundle.","operationId":"set_asset_style_subject_assets__asset_id__style_subject_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/reframe/auto":{"post":{"summary":"Reframe Auto","description":"Vision-detect the head box (cached per asset). Returns the box + defaults\nfor the slider baseline.","operationId":"reframe_auto_assets__asset_id__reframe_auto_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/reframe/preview":{"post":{"summary":"Reframe Preview","description":"Return a reframed PNG without saving. Uses the supplied box, else the\ncached one, else detects (and caches). Pillow-only when a box is known.","operationId":"reframe_preview_assets__asset_id__reframe_preview_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReframeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/reframe/commit":{"post":{"summary":"Reframe Commit","description":"Render the reframe and register it as a new variant of the same (agent,\nrole). Returns the refreshed agent bundle.","operationId":"reframe_commit_assets__asset_id__reframe_commit_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReframeBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/restyle/preview":{"post":{"summary":"Restyle Preview","description":"Restyle the asset's source into the house look and return a PNG WITHOUT\nsaving. One gpt-image call — slow (~1-2 min) and billable, unlike the reframe\npreview. The result is cached so a following commit reuses it for free.","operationId":"restyle_preview_assets__asset_id__restyle_preview_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestyleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/assets/{asset_id}/restyle/commit":{"post":{"summary":"Restyle Commit","description":"Restyle, save the PNG, and register it as a new `house-style` variant of\nthe same (agent, role). Reuses the last preview by default (no extra gpt-image\nbill); set reuse_preview=false to force a fresh generation. Returns the bundle.","operationId":"restyle_commit_assets__asset_id__restyle_commit_post","parameters":[{"name":"asset_id","in":"path","required":true,"schema":{"type":"string","title":"Asset Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestyleBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/console":{"get":{"summary":"Console","operationId":"console_console_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Console","operationId":"console__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/studio":{"get":{"summary":"Studio","operationId":"studio_studio_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brands":{"get":{"summary":"List Brands","operationId":"list_brands_brands_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brands/{brand_id}":{"get":{"summary":"Get Brand","description":"Full brand: logos + all themes. If ?theme= is given, also include the\nresolved theme block (tokens + type + geometry, parent-inherited).","operationId":"get_brand_brands__brand_id__get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"string","title":"Brand Id"}},{"name":"theme","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}/theme/{theme_name}":{"get":{"summary":"Get Brand Theme","description":"One resolved theme block (color_scheme + tokens + type + geometry).","operationId":"get_brand_theme_brands__brand_id__theme__theme_name__get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"string","title":"Brand Id"}},{"name":"theme_name","in":"path","required":true,"schema":{"type":"string","title":"Theme Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}/chart":{"get":{"summary":"Get Brand Chart","description":"Branded-chart layout spec — aspect, padding, fonts, series palette, axis\ntick rules (e.g. label every 5y, cap to 25y), callout colours. clara + haver\n(and any charting app) hydrate from this with a local fallback, so a layout\nchange here propagates to every app at once. Parent-inherited; ETag-aware.\n\nPass `?theme=carbon|graphite|slate|onyx|ivory` to get that theme's\nink/muted/grid override merged over the brand-level spec (#2063) — the\nsingle brand-wide ink is dark-navy, wrong for the 4 dark themes' on-card\nink. Omit `theme` for the brand-level spec unchanged (back-compat).","operationId":"get_brand_chart_brands__brand_id__chart_get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"string","title":"Brand Id"}},{"name":"theme","in":"query","required":false,"schema":{"type":"string","title":"Theme"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}/identity":{"get":{"summary":"Get Brand Identity","description":"This brand's identity tokens projected onto the orion THEME_CONTRACT's\nrequired chrome var names (`--bg-*`, `--text-*`, `--border-color`).\n\nFor the open decision in backlog 1281 — whether orion's `[data-theme]`\ndefinitions should be fed from this one token store. It changes nothing in\norion: it only makes the translation available and testable. Accent is\nexcluded, as the contract keeps accent out of chrome. Apps theming their own\nsurfaces should keep using `/css`.","operationId":"get_brand_identity_brands__brand_id__identity_get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"string","title":"Brand Id"}},{"name":"theme","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brands/{brand_id}/css":{"get":{"summary":"Get Brand Css","description":"Ready-to-use CSS custom-property block. Drop into a <style> tag or\n<link>. Defaults to the brand's default theme and a :root selector.","operationId":"get_brand_css_brands__brand_id__css_get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"string","title":"Brand Id"}},{"name":"theme","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Theme"}},{"name":"selector","in":"query","required":false,"schema":{"type":"string","default":":root","title":"Selector"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/brand-profiles":{"get":{"summary":"List Brand Profiles","description":"Discovery list of available compliance profiles — ids + versions only.","operationId":"list_brand_profiles_brand_profiles_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/brands/{brand_id}/profile":{"get":{"summary":"Get Brand Profile","description":"Full audit-grade brand profile (palette + tolerances, font snap maps,\nOOXML theme scheme, layout map, per-fund themes, rule explanations).\npresentation_mcp hydrates from this with a local fallback. ETag-aware so\npollers are cheap (send If-None-Match to get a 304).\n\n`?version=` pins the profile (backlog 1561). Every payload — pinned or not —\ncarries its own `version`, so a consumer that asked for a stamp can prove it\ngot that one: presentation_mcp's hydrate.fetch_version() drops any payload\nwhose version differs from the one requested rather than filing today's\nprofile under a pinned name. Only the version currently held is served; the\nmedia_mcp copy is the distributable export of presentation_mcp's\nBrandProfiles, one version per brand (see brand_profiles.py), so an older\nstamp is 404 and a future stamp is 409 — never a stand-in.","operationId":"get_brand_profile_brands__brand_id__profile_get","parameters":[{"name":"brand_id","in":"path","required":true,"schema":{"type":"string","title":"Brand Id"}},{"name":"version","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pin an exact profile version stamp, e.g. 2026-09-08.2. Absent = today's profile. A version this service does not hold is a 404, never a silent fall-back to today's.","title":"Version"},"description":"Pin an exact profile version stamp, e.g. 2026-09-08.2. Absent = today's profile. A version this service does not hold is a 404, never a silent fall-back to today's."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tts":{"post":{"summary":"Tts Endpoint","operationId":"tts_endpoint_tts_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TTSRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tts/stream":{"post":{"summary":"Tts Stream Endpoint","operationId":"tts_stream_endpoint_tts_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TTSRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/lipsync":{"post":{"summary":"Lipsync Submit","operationId":"lipsync_submit_lipsync_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LipsyncSubmitRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/lipsync/{job_id}":{"get":{"summary":"Lipsync Status","operationId":"lipsync_status_lipsync__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LipsyncSubmitRequest":{"properties":{"video_url":{"type":"string","title":"Video Url"},"audio_url":{"type":"string","title":"Audio Url"},"model":{"type":"string","title":"Model","default":"lipsync-1.7.1"}},"type":"object","required":["video_url","audio_url"],"title":"LipsyncSubmitRequest"},"ReframeBody":{"properties":{"box":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Box"},"zoom":{"type":"number","title":"Zoom","default":1.0},"offset_y":{"type":"number","title":"Offset Y","default":0.0},"size":{"type":"integer","title":"Size","default":512},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"},"make_default":{"type":"boolean","title":"Make Default","default":false}},"type":"object","title":"ReframeBody"},"RestyleBody":{"properties":{"subject":{"type":"string","title":"Subject","default":""},"use_anchor":{"type":"boolean","title":"Use Anchor","default":true},"reframe":{"type":"boolean","title":"Reframe","default":true},"size":{"type":"integer","title":"Size","default":512},"variant":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Variant"},"make_default":{"type":"boolean","title":"Make Default","default":false},"reuse_preview":{"type":"boolean","title":"Reuse Preview","default":true}},"type":"object","title":"RestyleBody"},"TTSRequest":{"properties":{"text":{"type":"string","title":"Text"},"voice":{"type":"string","title":"Voice"},"lang":{"type":"string","title":"Lang","default":"en"},"model_id":{"type":"string","title":"Model Id","default":"eleven_multilingual_v2"}},"type":"object","required":["text","voice"],"title":"TTSRequest"},"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"}}}}