Skip to main content
Official SDKs for the Legnext AI API - Professional image and video generation.

Available SDKs

Python

Official Python SDK with async support and type hints

JavaScript/Node.js

TypeScript/JavaScript SDK with axios and full type definitions

Go

Go SDK with context support and concurrent-safe operations

Java

Java SDK compatible with Java 1.8+ and Maven/Gradle

PHP

PHP SDK with Composer support for PHP 7.4+

Ruby

Ruby SDK with RubyGems and Bundler support

C#/.NET

.NET SDK for C# with async/await and NuGet support

Rust

Rust SDK with async/await and Cargo support

Why Use an SDK?

SDKs provide:
  • Type Safety - Full type hints and IDE autocomplete
  • Error Handling - Built-in exception handling
  • Convenience - No manual header or auth setup
  • Best Practices - Language-specific conventions

Features

All SDKs include:
  • 🚀 Easy-to-use client libraries
  • 🔐 Built-in authentication handling
  • 🔗 Support for all API endpoints
  • ✅ Comprehensive error handling
  • 📝 Complete documentation