Luma 1.1.3

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Luma --version 1.1.3
                    
NuGet\Install-Package Luma -Version 1.1.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Luma" Version="1.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Luma" Version="1.1.3" />
                    
Directory.Packages.props
<PackageReference Include="Luma" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Luma --version 1.1.3
                    
#r "nuget: Luma, 1.1.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Luma@1.1.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Luma&version=1.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Luma&version=1.1.3
                    
Install as a Cake Tool

Luma

Nuget package dotnet License: MIT Discord

Features 🔥

  • Fully generated C# SDK based on official Luma OpenAPI specification using AutoSDK
  • Same day update to support new features
  • Updated and supported automatically if there are no breaking changes
  • All modern .NET features - nullability, trimming, NativeAOT, etc.
  • Support .Net Framework/.Net Standard 2.0
  • DreamMachine API support

Usage

using Luma;

using var api = new LumaClient(apiKey);

// generate image
Generation generation = await client.Generations.GenerateImageAsync(
    prompt: "The beautiful woman just smiles",
    aspectRatio: AspectRatio.x4_3,
    cancellationToken: cancellationToken);

// or generate video
Generation generation = await client.Generations.CreateGenerationAsync(
    prompt: "No camera movement. The beautiful woman just stands there and smiles. The waves in the background move a little.",
    aspectRatio: AspectRatio.x4_3,
    loop: false,
    keyframes: new Keyframes
    {
        Frame0 = new ImageReference
        {
            Url = "https://i.ibb.co/WFJyPcR/cool-girl.png",
        },
        // Frame1 = new GenerationReference
        // {
        //     Id = Guid.Empty,
        // },
    });

while (generation.State != State.Failed && generation.State != State.Completed)
{
    await Task.Delay(TimeSpan.FromSeconds(5), cancellationToken);
    
    generation = await client.Generations.GetGenerationAsync(
        id: generation.Id?.Value.ToString(),
        cancellationToken: cancellationToken);
}

Console.WriteLine($"Id: {generation.Id}");
Console.WriteLine($"State: {generation.State}");
Console.WriteLine($"FailureReason: {generation.FailureReason}");
Console.WriteLine($"Video URL: {generation.Assets?.Video}");

https://github.com/user-attachments/assets/239cf6fb-928e-427e-8cb1-7a4a3d71ccb6

Support

Priority place for bugs: https://github.com/tryAGI/Luma/issues
Priority place for ideas and general questions: https://github.com/tryAGI/Luma/discussions
Discord: https://discord.gg/Ca2xhfBf3v

Acknowledgments

JetBrains logo

This project is supported by JetBrains through the Open Source Support Program.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.4-dev.2 49 5/21/2026
1.1.3 97 4/30/2026
1.1.1-dev.125 62 4/1/2026
1.1.1-dev.124 57 3/29/2026
1.1.1-dev.118 154 3/28/2026
1.1.1-dev.117 63 3/28/2026
1.1.1-dev.115 55 3/28/2026
1.1.1-dev.114 60 3/28/2026
1.1.1-dev.112 63 3/27/2026
1.1.1-dev.110 56 3/27/2026
1.1.1-dev.104 48 3/20/2026
1.1.1-dev.102 56 3/20/2026
1.1.1-dev.101 54 3/20/2026
1.1.1-dev.98 56 3/19/2026
1.1.1-dev.97 54 3/19/2026
1.1.1-dev.96 48 3/19/2026
1.1.1-dev.95 56 3/19/2026
1.1.1-dev.92 54 3/19/2026
1.1.1-dev.91 49 3/19/2026
1.1.1-dev.90 49 3/19/2026
Loading failed