1.0.2 • Published 11 months ago

@opennote-ed/video-client v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Opennote Typescript SDK

This is the Typescript SDK for the Opennote Video API. Read the documentation here and see more examples.

Installation

npm/bun/pnpm/yarn install opennote

Usage

import { OpennoteVideoClient } from "@opennote-ed/video-client";

const client = new OpennoteVideoClient({ apiKey: "your_api_key" });

// Create a video
const video = await client.video.create({
    sections: 5,
    model: "feynman2",
    messages: [{ role: "user", content: "Hello, world!" }],
});

// Get the status of a video
const status = await client.video.status(video.videoId);
1.0.2

11 months ago

1.0.1-r2

11 months ago

1.0.1-r1

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago