OmniVideo.Sdk 0.1.0

dotnet add package OmniVideo.Sdk --version 0.1.0
                    
NuGet\Install-Package OmniVideo.Sdk -Version 0.1.0
                    
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="OmniVideo.Sdk" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OmniVideo.Sdk" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="OmniVideo.Sdk" />
                    
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 OmniVideo.Sdk --version 0.1.0
                    
#r "nuget: OmniVideo.Sdk, 0.1.0"
                    
#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 OmniVideo.Sdk@0.1.0
                    
#: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=OmniVideo.Sdk&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=OmniVideo.Sdk&version=0.1.0
                    
Install as a Cake Tool

OmniVideo.Sdk (.NET)

.NET client for Omni Video — generate video and image content with the Gemini Omni Video series of models.

Omni Video hosts the Gemini Omni Video family (seedance-2 for text/image → video, gpt-image-2 and nano-banana-2 for text/image → image) behind one simple REST API.

Install

dotnet add package OmniVideo.Sdk

Or in .csproj:

<PackageReference Include="OmniVideo.Sdk" Version="0.1.*" />

Get an API key

Sign in at https://omnivideo.net/, open the account page, then create an sk-… token.

export OMNIVIDEO_API_KEY=sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Quick start

using OmniVideo;

using var client = new OmniVideoClient(); // reads OMNIVIDEO_API_KEY

var task = await client.RunAsync(new CreateTaskInput
{
    ModelId     = "seedance-2",
    Prompt      = "a serene zen garden at sunrise, ultra detailed",
    AspectRatio = "16:9",
});

Console.WriteLine(task.OutputUrl); // VideoUrl or ImageUrl

Lower level: create + poll

using var client = new OmniVideoClient(apiKey: "sk-...");

var task = await client.CreateTaskAsync(new CreateTaskInput
{
    ModelId = "gpt-image-2",
    Prompt  = "cyberpunk corgi, neon rim light",
});

while (!task.IsDone)
{
    await Task.Delay(TimeSpan.FromSeconds(3));
    task = await client.GetTaskAsync(task.TaskId);
}

Console.WriteLine(task.ImageUrl);

Models

ModelId Modality Output
seedance-2 text/image → video VideoUrl
gpt-image-2 text/image → image ImageUrl
nano-banana-2 text/image → image ImageUrl

See the live model list and pricing on omnivideo.net.

API

  • new OmniVideoClient(string? apiKey, string? baseUrl, HttpClient? httpClient) — reads OMNIVIDEO_API_KEY if apiKey is null.
  • client.CreateTaskAsync(CreateTaskInput) → Task<TaskInfo>
  • client.GetTaskAsync(string taskId) → Task<TaskInfo>
  • client.RunAsync(CreateTaskInput, RunOptions?) → Task<TaskInfo> — create + poll until terminal.
  • TaskInfo: TaskId, TaskStatus (1=queued, 2=running, 3=success, 4=failed), ImageUrl, VideoUrl, Credits, IsDone, OutputUrl.
  • Errors come back as OmniVideoException with Code and Status properties.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.
  • net8.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
0.1.0 90 5/16/2026