Skip to main content

Create a developer account & get an API key

Sign up and receive an API key at developer.odyssey.ml.

Install

npm package version "@odysseyml/odyssey": "^1.0.0" required

Image-to-Video Requirements

For image-to-video generation:
  • Max size: 25MB
  • Supported formats: JPEG, PNG, WebP, GIF, BMP, HEIC, HEIF, AVIF
  • Resolution: Images are automatically resized to 1280x704 (landscape) or 704x1280 (portrait)

HTML

For standalone HTML files without a bundler, import directly from a CDN:
Always ensure disconnect() is called when done (via page unload handlers or component cleanup). Stale connections count towards your concurrent session limit, which will block new connections until they time out. If disconnect() is not called, idle connections are automatically cleared after 15 minutes on the server side.

JavaScript

React

Next.js

Next.js App Router requires the 'use client' directive for components using React hooks and browser APIs like video elements.

Python

Next Steps

JavaScript

Python

Discord Community

Get help and share what you’re building.