export type ImageParams = { prompt?: string; image_url?: string; width?: number; height?: number; seed?: number; steps?: number; resolution?: string | ImageParamsResolutionHunYuan; styleNo?: string; styleTag?: string; strength?: number; model_version?: string; req_key?: string; [key: string]: any; }; export type ImageParamsResolutionHunYuan = "768:768" | "768:1024" | "1024:768" | "1024:1024" | "720:1280" | "1280:720" | "768:1280" | "1280:768"; export type ImageResult = { status: "processing" | "completed" | "failed"; message?: string; created_at?: number; data?: { format: "url" | "b64_json"; url?: string; b64_json?: string; }[]; }; export type VideoParams = { model: string; prompt: string; image?: string; user?: string; [key: string]: any; }; export type VideoResult = { status: "progressing" | "completed" | "failed"; message?: string; created_at?: number; data?: { url: string; cover?: string; }; };