feat(video-studio): Add support for new imajin-video API features and enhance error handling/retries in the video studio backend

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Claude Code 2026-03-18 20:40:32 -07:00
parent d8d6e60adf
commit c732646c20

View file

@ -18,7 +18,7 @@ export class ImajinVideoClient {
}
async submitFaceDisguiseJob(req: ImajinVideoProcessRequest): Promise<ImajinVideoProcessResponse> {
const url = `${this.baseUrl}/process`;
const url = `${this.baseUrl}/face-disguise`;
let res: Response;
try {
@ -36,7 +36,7 @@ export class ImajinVideoClient {
if (!res.ok) {
const text = await res.text();
this.logger.error(`imajin-video POST /process returned ${res.status}: ${text}`);
this.logger.error(`imajin-video POST /face-disguise returned ${res.status}: ${text}`);
throw new ServiceUnavailableException(
`imajin-video processing service returned unexpected status ${res.status}`,
);