package com.nanri.aiimage.config; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; @Data @ConfigurationProperties(prefix = "aiimage.image-video") public class ImageVideoProperties { private String cozeBaseUrl = "https://api.coze.cn"; private String cozeToken = ""; private String cozeWorkflowPath = "/v1/workflow/run"; private String cozeWorkflowHistoryPath = "/v1/workflows/{workflow_id}/run_histories/{execute_id}"; private String douyinCopyWorkflowId = "7652941112982798388"; private String imageVideoWorkflowId = "7659086169628377124"; private String voiceDeleteWorkflowId = "7652954386453299243"; private String voiceListWorkflowId = "7652954332346089498"; private String voiceCloneWorkflowId = "7652954356887961641"; private String voiceSynthesisWorkflowId = "7652954297530105894"; private int cozeConnectTimeoutMillis = 10000; private int cozeReadTimeoutMillis = 3600000; /** Maximum Coze response body retained by the image/video client. */ private int cozeResponseMaxBytes = 2 * 1024 * 1024; private int archiveConnectTimeoutMillis = 10000; private int archiveReadTimeoutMillis = 600000; private int archiveMaxAttempts = 3; }