feat: add title field to synopsis generation requests and update synopsis generation logic

This commit is contained in:
2026-03-13 15:55:30 +08:00
parent f6beda2294
commit 83841f503c
5 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
import apiClient from '@/lib/api'
export interface SynopsisGenerationRequest {
title: string
genre: string
subgenre?: string
protagonist_type?: string
@@ -83,6 +84,7 @@ export interface LLMConfig {
}
export interface NsfwSynopsisGenerationRequest {
title: string
genre: string
subgenre?: string
protagonist_type?: string