参数传递量增加

This commit is contained in:
海龙 2025-08-25 23:00:56 +08:00
parent fef7e0ed26
commit 255aa253ee
3 changed files with 9 additions and 1 deletions

View File

@ -196,6 +196,10 @@ export interface CreateMovieProjectResponse {
* V3请求参数 * V3请求参数
*/ */
export interface CreateMovieProjectV3Request { export interface CreateMovieProjectV3Request {
/** 故事梗概 */
script: string;
/**分类 */
category: string;
/** 用户ID */ /** 用户ID */
user_id: string; user_id: string;
/** 模式auto | manual */ /** 模式auto | manual */

View File

@ -301,6 +301,8 @@ export const useTemplateStoryServiceHook = (): UseTemplateStoryService => {
setIsLoading(true); setIsLoading(true);
const params: CreateMovieProjectV3Request = { const params: CreateMovieProjectV3Request = {
script: selectedTemplate?.generateText || "",
category: selectedTemplate?.category || "",
user_id, user_id,
mode, mode,
resolution, resolution,

View File

@ -140,9 +140,11 @@ export interface StoryTemplateEntity {
image_url: string[]; image_url: string[];
/** 故事模板概览*/ /** 故事模板概览*/
generateText: string; generateText: string;
/** 故事分类 */
category: string;
/** 故事模板ID */ /** 故事模板ID */
template_id: string; template_id: string;
/**故事角色 */ /**故事角色 */
storyRole: { storyRole: {
/**角色名 */ /**角色名 */
role_name: string; role_name: string;