#pragma once #include "file_sink.h" #include "engine/framework/core/backend.h" #include "engine/framework/runtime/registry.h" #include #include #include #include namespace minitts::app { struct WorkflowRunOptions { std::filesystem::path workflow_path; std::filesystem::path output_dir; engine::core::BackendConfig backend; std::optional final_audio_out; std::unordered_map load_options; std::unordered_map session_options; std::unordered_map workflow_inputs; std::optional model_spec_override; std::string audio_converter = "ffmpeg"; }; void run_json_workflow( const engine::runtime::ModelRegistry & registry, const WorkflowRunOptions & options); } // namespace minitts::app