{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/infer/file/audio/{payload}":{"post":{"tags":["inference"],"summary":"Inference From Audio To File","operationId":"inference_from_audio_to_file_infer_file_audio__payload__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"payload","in":"path","required":true,"schema":{"type":"string","title":"Payload"}},{"name":"increase_resolution","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Increase Resolution"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_inference_from_audio_to_file_infer_file_audio__payload__post"}}}},"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infer/file/text/{payload}":{"post":{"tags":["inference"],"summary":"Inference From Text To File","operationId":"inference_from_text_to_file_infer_file_text__payload__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"payload","in":"path","required":true,"schema":{"type":"string","title":"Payload"}},{"name":"language","in":"query","required":true,"schema":{"type":"string","title":"Language"}},{"name":"voice_id","in":"query","required":true,"schema":{"type":"string","title":"Voice Id"}},{"name":"increase_resolution","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Increase Resolution"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InputText"}}}},"responses":{"200":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infer/telegram/audio/{chat_id}":{"post":{"tags":["inference"],"summary":"Forward Audio Inference To Target","operationId":"forward_audio_inference_to_target_infer_telegram_audio__chat_id__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}},{"name":"increase_resolution","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether to increase resolution","default":false,"title":"Increase Resolution"},"description":"Whether to increase resolution"},{"name":"return_transcription","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether to return transcription","default":false,"title":"Return Transcription"},"description":"Whether to return transcription"},{"name":"persona_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Persona name","title":"Persona Name"},"description":"Persona name"},{"name":"scenario_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Scenario name","title":"Scenario Name"},"description":"Scenario name"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"description":"User ID","title":"User Id"},"description":"User ID"},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Language code","title":"Language"},"description":"Language code"},{"name":"avatar_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Avatar name","title":"Avatar Name"},"description":"Avatar name"},{"name":"bot_token","in":"query","required":true,"schema":{"type":"string","description":"Telegram bot token","title":"Bot Token"},"description":"Telegram bot token"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_forward_audio_inference_to_target_infer_telegram_audio__chat_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramInferenceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infer/telegram/video/{chat_id}":{"post":{"tags":["inference"],"summary":"Forward Video Inference To Target","operationId":"forward_video_inference_to_target_infer_telegram_video__chat_id__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}},{"name":"increase_resolution","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether to increase resolution","default":false,"title":"Increase Resolution"},"description":"Whether to increase resolution"},{"name":"return_transcription","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether to return transcription","default":false,"title":"Return Transcription"},"description":"Whether to return transcription"},{"name":"persona_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Persona name","title":"Persona Name"},"description":"Persona name"},{"name":"scenario_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Scenario name","title":"Scenario Name"},"description":"Scenario name"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"description":"User ID","title":"User Id"},"description":"User ID"},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Language code","title":"Language"},"description":"Language code"},{"name":"avatar_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Avatar name","title":"Avatar Name"},"description":"Avatar name"},{"name":"bot_token","in":"query","required":true,"schema":{"type":"string","description":"Telegram bot token","title":"Bot Token"},"description":"Telegram bot token"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_forward_video_inference_to_target_infer_telegram_video__chat_id__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramInferenceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infer/telegram/text/{chat_id}":{"post":{"tags":["inference"],"summary":"Forward Text Inference To Target","operationId":"forward_text_inference_to_target_infer_telegram_text__chat_id__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}},{"name":"increase_resolution","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether to increase resolution","default":false,"title":"Increase Resolution"},"description":"Whether to increase resolution"},{"name":"return_transcription","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Whether to return transcription","default":false,"title":"Return Transcription"},"description":"Whether to return transcription"},{"name":"persona_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Persona name","title":"Persona Name"},"description":"Persona name"},{"name":"scenario_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Scenario name","title":"Scenario Name"},"description":"Scenario name"},{"name":"user_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"description":"User ID","title":"User Id"},"description":"User ID"},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Language code","title":"Language"},"description":"Language code"},{"name":"avatar_name","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Avatar name","title":"Avatar Name"},"description":"Avatar name"},{"name":"bot_token","in":"query","required":true,"schema":{"type":"string","description":"Telegram bot token","title":"Bot Token"},"description":"Telegram bot token"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InputText"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TelegramInferenceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infer/telegram/expire/{chat_id}":{"post":{"tags":["inference"],"summary":"Expire Chat Session","operationId":"expire_chat_session_infer_telegram_expire__chat_id__post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"chat_id","in":"path","required":true,"schema":{"type":"string","title":"Chat Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infrastructure/machines":{"get":{"tags":["infrastructure"],"summary":"List Machines","operationId":"list_machines_infrastructure_machines_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MachineInfo"},"type":"array","title":"Response List Machines Infrastructure Machines Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/infrastructure/upscale":{"post":{"tags":["infrastructure"],"summary":"Manual Upscale","operationId":"manual_upscale_infrastructure_upscale_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"num_machines","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Num Machines"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScalingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infrastructure/downscale":{"post":{"tags":["infrastructure"],"summary":"Manual Downscale","operationId":"manual_downscale_infrastructure_downscale_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"num_machines","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Num Machines"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScalingResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infrastructure/machines/{machine_id}":{"get":{"tags":["infrastructure"],"summary":"Get Machine Status","operationId":"get_machine_status_infrastructure_machines__machine_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"machine_id","in":"path","required":true,"schema":{"type":"string","title":"Machine Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetailedMachineInfo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["infrastructure"],"summary":"Delete Machine","operationId":"delete_machine_infrastructure_machines__machine_id__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"machine_id","in":"path","required":true,"schema":{"type":"string","title":"Machine Id"}},{"name":"override_min_instances","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Override Min Instances"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infrastructure/autoscaling/{mode}":{"patch":{"tags":["infrastructure"],"summary":"Change Autoscaling Status","operationId":"change_autoscaling_status_infrastructure_autoscaling__mode__patch","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"mode","in":"path","required":true,"schema":{"$ref":"#/components/schemas/AutoscalingMaintenance"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/infrastructure/autoscaling":{"get":{"tags":["infrastructure"],"summary":"Get Autoscaling Status","operationId":"get_autoscaling_status_infrastructure_autoscaling_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/model/deploy":{"post":{"tags":["model deployment"],"summary":"Deploy Model","operationId":"deploy_model_model_deploy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployModelInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/model/deploy-avatar":{"post":{"tags":["model deployment"],"summary":"Deploy Avatar","operationId":"deploy_avatar_model_deploy_avatar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeployAvatarInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarDeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/model/queued":{"delete":{"tags":["model deployment"],"summary":"Delete Queued Model","description":"Remove a queued model and delete the machine if it becomes unused.\n\nThis removes the queued model identified by machine/avatar/expression. If afterwards the\nmachine has neither deployed models nor queued models, the machine is terminated.","operationId":"delete_queued_model_model_queued_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"machine_id","in":"query","required":true,"schema":{"type":"string","title":"Machine Id"}},{"name":"avatar_name","in":"query","required":true,"schema":{"type":"string","title":"Avatar Name"}},{"name":"expression","in":"query","required":true,"schema":{"type":"string","title":"Expression"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["model deployment"],"summary":"Get All Queued Models","operationId":"get_all_queued_models_model_queued_get","security":[{"APIKeyHeader":[]}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/model/remove":{"delete":{"tags":["model deployment"],"summary":"Remove Model","operationId":"remove_model_model_remove_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"avatar_name","in":"query","required":true,"schema":{"type":"string","title":"Avatar Name"}},{"name":"expression","in":"query","required":true,"schema":{"$ref":"#/components/schemas/AvatarExpressions"}},{"name":"machine_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Machine Id"}},{"name":"override_min_instances","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Override Min Instances"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeploymentResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/list":{"get":{"tags":["model deployment"],"summary":"List Deployments","operationId":"list_deployments_model_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DeploymentInfo"},"type":"array","title":"Response List Deployments Model List Get"}}}}},"security":[{"APIKeyHeader":[]}]}},"/model/status/{machine_id}":{"get":{"tags":["model deployment"],"summary":"Get Status Of Deployments In Machine","operationId":"get_status_of_deployments_in_machine_model_status__machine_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"machine_id","in":"path","required":true,"schema":{"type":"string","title":"Machine Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DeploymentInfo"},"title":"Response Get Status Of Deployments In Machine Model Status  Machine Id  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/remove-avatar":{"delete":{"tags":["model deployment"],"summary":"Remove Avatar Models","operationId":"remove_avatar_models_model_remove_avatar_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"avatar_name","in":"query","required":true,"schema":{"type":"string","title":"Avatar Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/shutdown-avatar":{"post":{"tags":["model deployment"],"summary":"Shutdown Avatar","operationId":"shutdown_avatar_model_shutdown_avatar_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"avatar_name","in":"query","required":true,"schema":{"type":"string","title":"Avatar Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/deployment-status/{deployment_id}":{"get":{"tags":["model deployment"],"summary":"Get Deployment Status","operationId":"get_deployment_status_model_deployment_status__deployment_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"deployment_id","in":"path","required":true,"schema":{"type":"integer","title":"Deployment Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/ready-deployments":{"get":{"tags":["model deployment"],"summary":"Get Ready Deployments","operationId":"get_ready_deployments_model_ready_deployments_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"avatar_name","in":"query","required":false,"schema":{"type":"string","title":"Avatar Name"}},{"name":"expression","in":"query","required":false,"schema":{"type":"string","title":"Expression"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/model/reload-avatar":{"post":{"tags":["model deployment"],"summary":"Reload Avatar","description":"Rolling reload for an avatar: deploy new, then remove old to minimize downtime.","operationId":"reload_avatar_model_reload_avatar_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReloadAvatarInfo"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvatarReloadResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/services/llm/grade-conversation":{"post":{"tags":["services"],"summary":"Grade Conversation","operationId":"grade_conversation_services_llm_grade_conversation_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"session_id","in":"query","required":true,"schema":{"type":"string","title":"Session Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":"Response Grade Conversation Services Llm Grade Conversation Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/services/llm/chat":{"post":{"tags":["services"],"summary":"Chat","operationId":"chat_services_llm_chat_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":"object","title":"Response Chat Services Llm Chat Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/services/llm/chat-stream":{"post":{"tags":["services"],"summary":"Chat Stream","operationId":"chat_stream_services_llm_chat_stream_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/services/asr/transcribe":{"post":{"tags":["services"],"summary":"Transcribe","operationId":"transcribe_services_asr_transcribe_post","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"language","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Language"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_transcribe_services_asr_transcribe_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Transcribe Services Asr Transcribe Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/utils/create-session":{"post":{"tags":["utils"],"summary":"Create Chat Session","operationId":"create_chat_session_utils_create_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"APIKeyHeader":[]}]}},"/utils/scenarios/{persona_name}":{"get":{"tags":["utils"],"summary":"Get Scenarios For Persona","operationId":"get_scenarios_for_persona_utils_scenarios__persona_name__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"persona_name","in":"path","required":true,"schema":{"type":"string","title":"Persona Name"}},{"name":"app_id","in":"query","required":false,"schema":{"type":"string","default":"avatartalk","title":"App Id"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"en","title":"Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioModel-Output"},"title":"Response Get Scenarios For Persona Utils Scenarios  Persona Name  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/utils/scenarios":{"get":{"tags":["utils"],"summary":"Get Scenarios","operationId":"get_scenarios_utils_scenarios_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"app_id","in":"query","required":false,"schema":{"type":"string","default":"avatartalk","title":"App Id"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"en","title":"Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ScenarioModel-Output"},"title":"Response Get Scenarios Utils Scenarios Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/utils/personas":{"get":{"tags":["utils"],"summary":"Get Personas","operationId":"get_personas_utils_personas_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"app_id","in":"query","required":false,"schema":{"type":"string","default":"avatartalk","title":"App Id"}},{"name":"language","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"default":"en","title":"Language"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PersonaModel"},"title":"Response Get Personas Utils Personas Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/utils/full-personas":{"get":{"tags":["utils"],"summary":"Get Full Personas","operationId":"get_full_personas_utils_full_personas_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"production","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Production"}},{"name":"language","in":"query","required":false,"schema":{"type":"string","default":"en","title":"Language"}},{"name":"app_id","in":"query","required":false,"schema":{"type":"string","default":"avatartalk","title":"App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FullPersonaModel-Output"},"title":"Response Get Full Personas Utils Full Personas Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/utils/avatars":{"get":{"tags":["utils"],"summary":"Get Avatars","operationId":"get_avatars_utils_avatars_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"app_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health/inference":{"get":{"tags":["health"],"summary":"Inference Healthcheck","operationId":"inference_healthcheck_health_inference_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenefaceHealthResponse"}}}}},"security":[{"APIKeyHeader":[]}]}},"/prompt-registry/prompt":{"post":{"tags":["prompt-registry"],"summary":"Create Prompt","operationId":"create_prompt_prompt_registry_prompt_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePromptRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["prompt-registry"],"summary":"Delete Prompt","operationId":"delete_prompt_prompt_registry_prompt_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/prompt-registry/persona-scenario":{"post":{"tags":["prompt-registry"],"summary":"Create Persona Scenario","operationId":"create_persona_scenario_prompt_registry_persona_scenario_post","security":[{"APIKeyHeader":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePersonaScenariosRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["prompt-registry"],"summary":"Delete Persona Scenario","operationId":"delete_persona_scenario_prompt_registry_persona_scenario_delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"name","in":"query","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/livekit/create-session":{"post":{"tags":["livekit"],"summary":"Create Livekit Session","operationId":"create_livekit_session_livekit_create_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveKitSessionCreationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/livekit/delete-session/{task_id}":{"delete":{"tags":["livekit"],"summary":"Delete Livekit Session","operationId":"delete_livekit_session_livekit_delete_session__task_id__delete","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/livekit/status/{task_id}":{"get":{"tags":["livekit"],"summary":"Get Livekit Session Status","operationId":"get_livekit_session_status_livekit_status__task_id__get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/livekit/delete-session-by-room/{room_name}":{"delete":{"tags":["livekit"],"summary":"Delete Livekit Session By Room","operationId":"delete_livekit_session_by_room_livekit_delete_session_by_room__room_name__delete","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"room_name","in":"path","required":true,"schema":{"type":"string","title":"Room Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/livekit/status":{"get":{"tags":["livekit"],"summary":"Get Livekit Session Statuses","operationId":"get_livekit_session_statuses_livekit_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/lightning/payments":{"get":{"tags":["lightning"],"summary":"List Payments","operationId":"list_payments_lightning_payments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/lightning/request-video/text":{"post":{"tags":["lightning"],"summary":"Request Video From Text","operationId":"request_video_from_text_lightning_request_video_text_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextVideoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/lightning/request-video/audio":{"post":{"tags":["lightning"],"summary":"Request video from audio file","description":"Generate a video request from an uploaded audio file (WAV format, 16kHz, mono, 16-bit)","operationId":"request_video_from_audio_lightning_request_video_audio_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_request_video_from_audio_lightning_request_video_audio_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoRequestResponse"}}}},"400":{"description":"Invalid audio file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/lightning/generate-video":{"post":{"tags":["lightning"],"summary":"Generate Video","operationId":"generate_video_lightning_generate_video_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateVideoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/lightning/spark/webhook":{"post":{"tags":["lightning"],"summary":"Spark Webhook","operationId":"spark_webhook_lightning_spark_webhook_post","responses":{"204":{"description":"Successful Response"}}}},"/lightning/payment/{invoice}":{"get":{"tags":["lightning"],"summary":"Get Payment","operationId":"get_payment_lightning_payment__invoice__get","parameters":[{"name":"invoice","in":"path","required":true,"schema":{"type":"string","title":"Invoice"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Healthcheck","operationId":"healthcheck_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AutoscalingMaintenance":{"type":"string","enum":["enabled","disabled"],"title":"AutoscalingMaintenance","description":"Autoscaling modes"},"AvatarDeploymentResponse":{"properties":{"happy":{"$ref":"#/components/schemas/DeploymentResponse","description":"Deployment response for happy"},"neutral":{"$ref":"#/components/schemas/DeploymentResponse","description":"Deployment response for neutral"},"serious":{"$ref":"#/components/schemas/DeploymentResponse","description":"Deployment response for serious"}},"type":"object","required":["happy","neutral","serious"],"title":"AvatarDeploymentResponse"},"AvatarExpressions":{"type":"string","enum":["happy","neutral","serious"],"title":"AvatarExpressions","description":"Avatar expressions - overrides the db.models enum"},"AvatarReloadResponse":{"properties":{"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"plan":{"items":{"$ref":"#/components/schemas/ReloadPlanItem"},"type":"array","title":"Plan","description":"Per-expression reload plan"}},"type":"object","required":["avatar_name"],"title":"AvatarReloadResponse","description":"Response body for avatar reload operations."},"AvatarResponse":{"properties":{"message":{"type":"string","title":"Message","description":"Operation message"},"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"deployed_expressions":{"items":{"$ref":"#/components/schemas/AvatarExpressions"},"type":"array","title":"Deployed Expressions","description":"Deployed expressions"}},"type":"object","required":["message","avatar_name"],"title":"AvatarResponse","description":"Response for avatar operations"},"Body_forward_audio_inference_to_target_infer_telegram_audio__chat_id__post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File"}},"type":"object","required":["audio_file"],"title":"Body_forward_audio_inference_to_target_infer_telegram_audio__chat_id__post"},"Body_forward_video_inference_to_target_infer_telegram_video__chat_id__post":{"properties":{"video_file":{"type":"string","format":"binary","title":"Video File"}},"type":"object","required":["video_file"],"title":"Body_forward_video_inference_to_target_infer_telegram_video__chat_id__post"},"Body_inference_from_audio_to_file_infer_file_audio__payload__post":{"properties":{"audio_file":{"type":"string","format":"binary","title":"Audio File"}},"type":"object","required":["audio_file"],"title":"Body_inference_from_audio_to_file_infer_file_audio__payload__post"},"Body_request_video_from_audio_lightning_request_video_audio_post":{"properties":{"audio":{"type":"string","format":"binary","title":"Audio","description":"Audio file (WAV format, 16kHz, mono, 16-bit)"}},"type":"object","required":["audio"],"title":"Body_request_video_from_audio_lightning_request_video_audio_post"},"Body_transcribe_services_asr_transcribe_post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_transcribe_services_asr_transcribe_post"},"ChatRequest":{"properties":{"message":{"type":"string","title":"Message","description":"Chat message"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"persona_name":{"type":"string","title":"Persona Name","description":"Persona name"},"scenario_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Name","description":"Scenario name"},"prompt_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Name","description":"Prompt name"},"language":{"type":"string","title":"Language","description":"Language code","default":"en"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id","description":"Session ID"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id","description":"Application ID","default":"avatartalk"}},"type":"object","required":["message","user_id","avatar_name","persona_name"],"title":"ChatRequest","description":"Request for chat interaction"},"ChatResponseModel":{"properties":{"transcription":{"type":"string","title":"Transcription","description":"Message transcription"},"data_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Url","description":"URL to the audio/video file that the transcription is based on"}},"type":"object","required":["transcription"],"title":"ChatResponseModel","description":"Response model for chat"},"CreatePersonaScenariosRequest":{"properties":{"version":{"type":"integer","title":"Version","description":"Object version"},"name":{"type":"string","title":"Name","description":"Object name"},"language":{"type":"string","title":"Language","description":"Language in which the values will be providedS"},"title":{"type":"string","title":"Title","description":"Title of the persona (more fancy name)"},"short_description":{"type":"string","title":"Short Description","description":"Brief description of the persona"},"backstory":{"type":"string","title":"Backstory","description":"Persona's backstory"},"description":{"type":"string","title":"Description","description":"Description of the persona"},"talk_ideas":{"items":{"type":"string"},"type":"array","title":"Talk Ideas","description":"List of scenarios associated with a persona"},"sample_dialogue":{"items":{"type":"string"},"type":"array","title":"Sample Dialogue","description":"List of exemplary dialogues from the persona"},"default_avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Avatar","description":"Default avatar for the persona"},"app_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"App Id","description":"Application ID"},"scenarios":{"items":{"$ref":"#/components/schemas/actitout_inference_load_balancer__models__prompt_registry__ScenarioModel"},"type":"array","title":"Scenarios","description":"List of scenarios associated with a persona"}},"type":"object","required":["version","name","language","title","short_description","backstory","description"],"title":"CreatePersonaScenariosRequest","description":"Request to create a new version of Scenario+Persona set"},"CreatePromptRequest":{"properties":{"version":{"type":"integer","title":"Version","description":"Object version"},"name":{"type":"string","title":"Name","description":"Object name"},"template":{"type":"string","title":"Template","description":"Prompt template"}},"type":"object","required":["version","name","template"],"title":"CreatePromptRequest","description":"Request used to create a prompt"},"CreateSessionRequest":{"properties":{"app_id":{"type":"string","title":"App Id","description":"Application ID"},"user_id":{"type":"string","title":"User Id","description":"User ID"},"language":{"type":"string","title":"Language","description":"Language code","default":"en"},"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"persona_name":{"type":"string","title":"Persona Name","description":"Persona name"},"scenario_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scenario Name","description":"Scenario name"},"prompt_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt Name","description":"Prompt name"}},"type":"object","required":["app_id","user_id","avatar_name","persona_name"],"title":"CreateSessionRequest","description":"Request to create a new session"},"DeployAvatarInfo":{"properties":{"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"}},"type":"object","required":["avatar_name"],"title":"DeployAvatarInfo","description":"Request to deploy all expressions for an avatar"},"DeployModelInfo":{"properties":{"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"expression":{"$ref":"#/components/schemas/AvatarExpressions","description":"Expression to deploy"}},"type":"object","required":["avatar_name","expression"],"title":"DeployModelInfo","description":"Request to deploy a specific model"},"DeploymentInfo":{"properties":{"machine_id":{"type":"string","title":"Machine Id","description":"Machine ID"},"deployment_id":{"type":"integer","title":"Deployment Id","description":"Deployment ID"},"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"expression":{"type":"string","title":"Expression","description":"Expression"},"status":{"type":"string","title":"Status","description":"Deployment status"}},"type":"object","required":["machine_id","deployment_id","avatar_name","expression","status"],"title":"DeploymentInfo","description":"Information about a deployment"},"DeploymentResponse":{"properties":{"message":{"type":"string","title":"Message","description":"Operation message"},"deployment_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Deployment Id","description":"Deployment ID"},"machine_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Machine Id","description":"Machine ID"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Deployment status"}},"type":"object","required":["message"],"title":"DeploymentResponse","description":"Response for deployment operations"},"DetailedMachineInfo":{"properties":{"machine_id":{"type":"string","title":"Machine Id","description":"Machine ID"},"status":{"type":"string","title":"Status","description":"Machine status"},"pod":{"additionalProperties":true,"type":"object","title":"Pod","description":"Pod configuration"},"template":{"additionalProperties":true,"type":"object","title":"Template","description":"Template configuration"},"deployed_models":{"items":{"$ref":"#/components/schemas/ModelInfo"},"type":"array","title":"Deployed Models","description":"List of deployed models"},"total_load":{"type":"number","title":"Total Load","description":"Total machine load"}},"type":"object","required":["machine_id","status","pod","template","total_load"],"title":"DetailedMachineInfo","description":"Detailed machine information including deployments"},"ErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail","description":"Error message"}},"type":"object","required":["detail"],"title":"ErrorResponse","description":"Error response model"},"FullPersonaModel-Input":{"properties":{"name":{"type":"string","title":"Name","description":"Persona name"},"title":{"type":"string","title":"Title","description":"Persona title"},"default_avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Avatar","description":"Default avatar name"},"short_description":{"type":"string","title":"Short Description","description":"Short description"},"description":{"type":"string","title":"Description","description":"Full description"},"backstory":{"type":"string","title":"Backstory","description":"Backstory"},"app_id":{"type":"string","title":"App Id","description":"Application ID"},"talk_ideas":{"items":{"type":"string"},"type":"array","title":"Talk Ideas","description":"Talk ideas"},"sample_dialogue":{"items":{"type":"string"},"type":"array","title":"Sample Dialogue","description":"Sample dialogue"},"scenarios":{"items":{"$ref":"#/components/schemas/actitout_inference_load_balancer__models__chat__ScenarioModel"},"type":"array","title":"Scenarios","description":"List of scenarios"}},"type":"object","required":["name","title","short_description","description","backstory","app_id"],"title":"FullPersonaModel","description":"Full Persona information"},"FullPersonaModel-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Persona name"},"title":{"type":"string","title":"Title","description":"Persona title"},"default_avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Avatar","description":"Default avatar name"},"short_description":{"type":"string","title":"Short Description","description":"Short description"},"description":{"type":"string","title":"Description","description":"Full description"},"backstory":{"type":"string","title":"Backstory","description":"Backstory"},"app_id":{"type":"string","title":"App Id","description":"Application ID"},"talk_ideas":{"items":{"type":"string"},"type":"array","title":"Talk Ideas","description":"Talk ideas"},"sample_dialogue":{"items":{"type":"string"},"type":"array","title":"Sample Dialogue","description":"Sample dialogue"},"scenarios":{"items":{"$ref":"#/components/schemas/ScenarioModel-Output"},"type":"array","title":"Scenarios","description":"List of scenarios"}},"type":"object","required":["name","title","short_description","description","backstory","app_id"],"title":"FullPersonaModel","description":"Full Persona information"},"GenefaceHealthResponse":{"properties":{"status":{"type":"string","enum":["ok","degraded"],"title":"Status","description":"Overall Geneface health status"},"machines":{"items":{"$ref":"#/components/schemas/GenefaceMachineHealth"},"type":"array","title":"Machines"}},"type":"object","required":["status"],"title":"GenefaceHealthResponse"},"GenefaceMachineHealth":{"properties":{"machine_id":{"type":"string","title":"Machine Id","description":"Load balancer machine ID"},"machine_status":{"type":"string","title":"Machine Status","description":"Machine status stored by the load balancer"},"health_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Health Url","description":"Geneface health endpoint checked for this machine"},"status":{"type":"string","enum":["ok","degraded"],"title":"Status","description":"Normalized health status"},"http_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Http Status","description":"HTTP status returned by Geneface"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Healthcheck error detail"}},"type":"object","required":["machine_id","machine_status","status"],"title":"GenefaceMachineHealth"},"GenerateVideoRequest":{"properties":{"bolt11_invoice":{"type":"string","title":"Bolt11 Invoice","description":"Invoice in BOLT11 format"},"payment_preimage":{"anyOf":[{"type":"string","pattern":"^[a-fA-F0-9]{64}$"},{"type":"null"}],"title":"Payment Preimage","description":"Lightning proof of payment"},"avatar":{"type":"string","minLength":1,"title":"Avatar","description":"Avatar name","default":"european_woman"},"emotion":{"anyOf":[{"$ref":"#/components/schemas/AvatarExpressions"},{"type":"string","const":"expressive"}],"title":"Emotion","description":"Emotion","default":"neutral"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","description":"Language","default":"en"}},"type":"object","required":["bolt11_invoice"],"title":"GenerateVideoRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InputText":{"properties":{"text":{"type":"string","title":"Text","description":"Input text"}},"type":"object","required":["text"],"title":"InputText","description":"Simple text input model"},"LiveKitSessionCreationRequest":{"properties":{"livekit_url":{"type":"string","title":"Livekit Url","description":"LiveKit server URL"},"avatar":{"type":"string","title":"Avatar","description":"Avatar name"},"emotion":{"type":"string","enum":["happy","neutral","serious","expressive"],"title":"Emotion","description":"Avatar expression"},"room_name":{"type":"string","title":"Room Name","description":"Room name"},"room_token":{"type":"string","title":"Room Token","description":"User name"},"listener_token":{"type":"string","title":"Listener Token","description":"LiveKit token to be used by listener"},"agent_identity":{"type":"string","title":"Agent Identity","description":"Agent identity"}},"type":"object","required":["livekit_url","avatar","emotion","room_name","room_token","listener_token","agent_identity"],"title":"LiveKitSessionCreationRequest","description":"Request to create a new LiveKit session"},"MachineInfo":{"properties":{"machine_id":{"type":"string","title":"Machine Id","description":"Machine ID"},"status":{"type":"string","title":"Status","description":"Machine status"},"deployed_models":{"items":{"type":"string"},"type":"array","title":"Deployed Models","description":"List of deployed model names"},"load":{"type":"number","title":"Load","description":"Current machine load"}},"type":"object","required":["machine_id","status","load"],"title":"MachineInfo","description":"Basic machine information for listing"},"ModelInfo":{"properties":{"id":{"type":"integer","title":"Id","description":"Model ID"},"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"expression":{"$ref":"#/components/schemas/AvatarExpressions","description":"Expression type"}},"type":"object","required":["id","avatar_name","expression"],"title":"ModelInfo","description":"Information about a deployed model"},"PersonaModel":{"properties":{"name":{"type":"string","title":"Name","description":"Persona name"},"title":{"type":"string","title":"Title","description":"Persona title"},"short_description":{"type":"string","title":"Short Description","description":"Short description"},"description":{"type":"string","title":"Description","description":"Full description"},"backstory":{"type":"string","title":"Backstory","description":"Backstory"},"talk_ideas":{"items":{"type":"string"},"type":"array","title":"Talk Ideas","description":"Talk ideas"}},"type":"object","required":["name","title","short_description","description","backstory"],"title":"PersonaModel","description":"Persona information"},"ReloadAvatarInfo":{"properties":{"avatar_name":{"type":"string","title":"Avatar Name","description":"Avatar name"},"expressions":{"anyOf":[{"items":{"$ref":"#/components/schemas/AvatarExpressions"},"type":"array"},{"type":"null"}],"title":"Expressions","description":"Expressions to reload; defaults to all currently ready"},"block_until_switched":{"type":"boolean","title":"Block Until Switched","description":"Block until switch completes","default":false},"timeout_seconds":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Timeout Seconds","description":"Timeout for blocking reload"}},"type":"object","required":["avatar_name"],"title":"ReloadAvatarInfo","description":"Request to reload (refresh) avatar deployments.\n\n- If `expressions` is omitted, all currently READY deployments for the avatar are reloaded.\n- When `block_until_switched` is True, the endpoint blocks until the new deployments are READY\n  and the old ones are removed (or until timeout)."},"ReloadPlanItem":{"properties":{"expression":{"$ref":"#/components/schemas/AvatarExpressions","description":"Expression being reloaded"},"from_machine_id":{"type":"string","title":"From Machine Id","description":"Old machine ID"},"to_machine_id":{"type":"string","title":"To Machine Id","description":"New machine ID"},"status":{"type":"string","title":"Status","description":"Reload status for this item"}},"type":"object","required":["expression","from_machine_id","to_machine_id","status"],"title":"ReloadPlanItem","description":"A single reload action from one machine to another for an expression."},"ScalingResponse":{"properties":{"message":{"type":"string","title":"Message","description":"Operation message"},"affected_machines":{"items":{"type":"string"},"type":"array","title":"Affected Machines","description":"List of affected machine IDs"}},"type":"object","required":["message"],"title":"ScalingResponse","description":"Response for scaling operations"},"ScenarioModel-Output":{"properties":{"name":{"type":"string","title":"Name","description":"Scenario name"},"title":{"type":"string","title":"Title","description":"Scenario title"},"default_avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Avatar","description":"Default avatar name"},"description":{"type":"string","title":"Description","description":"Scenario description"},"user_backstory":{"type":"string","title":"User Backstory","description":"User backstory"}},"type":"object","required":["name","title","description","user_backstory"],"title":"ScenarioModel","description":"Scenario information"},"TelegramInferenceResponse":{"properties":{"finished":{"type":"boolean","title":"Finished","description":"Whether the conversation is finished (the Player has met the objectives)"},"feedback":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback","description":"Feedback from the system if the conversation is finished"},"soft_skills":{"anyOf":[{"additionalProperties":{"type":"integer"},"type":"object"},{"type":"null"}],"title":"Soft Skills","description":"List of soft skills the Player has developed"},"user_message":{"$ref":"#/components/schemas/ChatResponseModel","description":"User message"},"avatar_response":{"$ref":"#/components/schemas/ChatResponseModel","description":"Avatar response"}},"type":"object","required":["finished","user_message","avatar_response"],"title":"TelegramInferenceResponse","description":"Response for Telegram inference"},"TextVideoRequest":{"properties":{"text":{"type":"string","minLength":1,"title":"Text","description":"Text content to convert to video"}},"type":"object","required":["text"],"title":"TextVideoRequest","description":"Request model for text-based video generation","example":{"text":"Hello world! This is a test message for video generation."}},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VideoRequestResponse":{"properties":{"duration":{"type":"number","title":"Duration","description":"Estimated duration in seconds"},"bolt11_invoice":{"type":"string","title":"Bolt11 Invoice","description":"Invoice in BOLT11 format"},"amount":{"title":"Amount","description":"Sats to pay"}},"type":"object","required":["duration","bolt11_invoice","amount"],"title":"VideoRequestResponse","description":"Response model for video requests"},"actitout_inference_load_balancer__models__chat__ScenarioModel":{"properties":{"name":{"type":"string","title":"Name","description":"Scenario name"},"title":{"type":"string","title":"Title","description":"Scenario title"},"default_avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Avatar","description":"Default avatar name"},"description":{"type":"string","title":"Description","description":"Scenario description"},"user_backstory":{"type":"string","title":"User Backstory","description":"User backstory"}},"type":"object","required":["name","title","description","user_backstory"],"title":"ScenarioModel","description":"Scenario information"},"actitout_inference_load_balancer__models__prompt_registry__ScenarioModel":{"properties":{"title":{"type":"string","title":"Title","description":"Scenario title"},"name":{"type":"string","title":"Name","description":"Scenario name"},"description":{"type":"string","title":"Description","description":"Description of the scenario"},"user_backstory":{"type":"string","title":"User Backstory","description":"Backstory of the user that takes part in the scenario"},"persona_objectives":{"type":"string","title":"Persona Objectives","description":"Set of objectives that the avatar has to follow"},"grant_conditions":{"type":"string","title":"Grant Conditions","description":"Set of conditions that the user needs to meet to win the scenario"},"stop_conditions":{"type":"string","title":"Stop Conditions","description":"Set of conditions that end the conversation if met, with negative outcome"},"soft_skills":{"items":{"type":"string"},"type":"array","title":"Soft Skills","description":"Soft skills the Player will develop"},"default_avatar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Default Avatar","description":"Default avatar for the scenario"},"ready_for_production":{"type":"boolean","title":"Ready For Production","description":"Informs if the scenario is ready to be show to users"}},"type":"object","required":["title","name","description","user_backstory","persona_objectives","grant_conditions","stop_conditions","ready_for_production"],"title":"ScenarioModel","description":"Model for a Scenario object"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}