Skip to content

opennote-dev/api-sdk-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

About

Opennote Video API TypeScript SDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published