video-generator-service-sdk
v1.0.0
Published
Typed client for video-generator-service
Downloads
5
Readme
video-generator-service-sdk
Typed JavaScript/TypeScript client for video-generator-service.
Install
npm install video-generator-service-sdkUsage
import { createVideoGeneratorClient } from "video-generator-service-sdk";
const client = createVideoGeneratorClient({
baseUrl: "https://your-service.example.com",
apiKey: process.env.VIDEO_GENERATOR_API_KEY!,
});
const { jobId } = await client.renderRemotion({
channelId: "my-channel",
title: "My Video",
prompt: "Animate a bouncing apple.",
mode: "2d",
});
const status = await client.getRemotionStatus(jobId);
console.log(status.status, status.progress);API Key
All API calls require x-api-key with a valid VIDEO_GENERATOR_API_KEY value configured in the service.
