> ## Documentation Index
> Fetch the complete documentation index at: https://docs.legnext.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK Overview

> Explore Legnext SDKs for easy API integration

Official SDKs for the Legnext AI API - Professional image and video generation.

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/3x5eZgJCDec" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## Available SDKs

<CardGroup cols={2}>
  <Card title="Python" icon="python" href="/sdk/python/installation">
    Official Python SDK with async support and type hints
  </Card>

  <Card title="JavaScript/Node.js" icon="js" href="/sdk/javascript/installation">
    TypeScript/JavaScript SDK with axios and full type definitions
  </Card>

  <Card title="Go" icon="golang" href="/sdk/go/installation">
    Go SDK with context support and concurrent-safe operations
  </Card>

  <Card title="Java" icon="java" href="/sdk/java/installation">
    Java SDK compatible with Java 1.8+ and Maven/Gradle
  </Card>

  <Card title="PHP" icon="php" href="/sdk/php/installation">
    PHP SDK with Composer support for PHP 7.4+
  </Card>

  <Card title="Ruby" icon="gem" href="/sdk/ruby/installation">
    Ruby SDK with RubyGems and Bundler support
  </Card>

  <Card title="C#/.NET" icon="microsoft" href="/sdk/csharp/installation">
    .NET SDK for C# with async/await and NuGet support
  </Card>

  <Card title="Rust" icon="rust" href="/sdk/rust/installation">
    Rust SDK with async/await and Cargo support
  </Card>
</CardGroup>

***

## 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
