Emaki 0.1.0

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

Emaki for .NET

シーダンス(Seedance)2.5 と 2.0 を日本語のまま使えます。一文や写真から 1 本最長 30 秒の AI 動画を生成でき、480p〜1080p・音声つきに対応。登録するだけで無料クレジットがつき、消費するクレジットは生成前に必ず表示されます。

Official SDK for emaki (emaki.ai), the Japanese-language AI video generator for Seedance 2.5 and Seedance 2.0. Generate Seedance 2.5 and Seedance 2.0 clips, and images, from .NET with the API key of your emaki account.

using Emaki;

var emaki = new EmakiClient(Environment.GetEnvironmentVariable("EMAKI_API_KEY"));
string clip = await emaki.GenerateVideoAsync("a paper lantern drifting down a night river, slow dolly-in");
Console.WriteLine(clip); // URL of the finished MP4

Each generate call submits the run, waits for it and returns the URL of the finished file. Every run costs credits on your emaki account, the same price as on the website.

Install

dotnet add package Emaki

Targets .NET 8 and .NET Standard 2.0. No dependencies beyond System.Text.Json.

API key

Sign up on emaki.ai, create a key at emaki.ai/settings/apikeys, then pass it or export it:

export EMAKI_API_KEY=sk-...

A key runs on your account exactly like the site does: same models, same credits, and every run shows up in your library on emaki.ai.

Video

The default model is seedance_2_5 (5 seconds, 480p, 16:9, with sound). Parameters go in as a map and are passed through as-is:

// Seedance 2.5: 8 seconds, 720p, vertical
await emaki.GenerateVideoAsync("a street drummer in the rain, handheld", "seedance_2_5",
    new Dictionary<string, object> { ["duration"] = 8, ["resolution"] = "720p", ["aspect_ratio"] = "9:16" });

// Seedance 2.0
await emaki.GenerateVideoAsync("a koi pond seen from above, petals falling", "seedance_2",
    new Dictionary<string, object> { ["duration"] = 5 });
model what it is main parameters
seedance_2_5 Seedance 2.5, the default duration 4 to 30 · resolution 480p / 720p / 1080p · aspect_ratio 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, adaptive · generate_audio · image · last_frame_image
seedance_2 Seedance 2.0 duration 4 to 15 · resolution 480p / 720p / 1080p · aspect_ratio · generate_audio · image
seedance_2_fast Seedance 2.0 Fast duration 4 to 15 · resolution 480p / 720p · aspect_ratio · image
seedance_2_mini Seedance 2.0 Mini, the cheapest video model same as Fast
minimax_h3 MiniMax H3 duration 5 to 15 · aspect_ratio · image
veo_3_1 Veo 3.1 resolution 720p / 1080p / 4k · aspectRatio 16:9 / 9:16 · image

Image to video

Pass image, a public https URL, and it becomes the first frame; the prompt then describes the motion. This is the same image to video flow as on the site:

await emaki.GenerateVideoAsync("the camera slowly orbits the statue", "seedance_2_5",
    new Dictionary<string, object> { ["image"] = "https://example.com/statue.jpg" });

On Seedance 2.5, last_frame_image pins the closing frame as well.

Images

The default image model is nano_banana_2_lite, the cheapest run on the site:

string url = await emaki.GenerateImageAsync("a ramen stall in the rain, neon reflections");
await emaki.GenerateImageAsync("a ukiyo-e style wave over a modern city", "nano_banana_2",
    new Dictionary<string, object> { ["aspect_ratio"] = "16:9" });

Image models: nano_banana_2_lite, nano_banana_2 (resolution 1K / 2K / 4K), seedream_5_lite (quality basic / high / ultra), gpt_image_2 (resolution 1K / 2K / 4K). All take aspect_ratio.

Submit now, collect later

string id = await emaki.SubmitAsync("a fox trotting through fresh snow", "seedance_2_5");
EmakiStatus s = await emaki.StatusAsync(id);   // s.Status: generating | completed | failed, s.VideoUrl when completed
int left = await emaki.CreditsAsync();         // free to call

GenerateVideoAsync and GenerateImageAsync wait up to 15 minutes, polling every 5 seconds; set Timeout and PollEvery on the client to change that. Every method takes a CancellationToken.

Errors worth catching

Every failure is an EmakiException with a Kind:

  • Auth: no key, or the key is wrong or deleted (HTTP 401)
  • Quota: not enough credits left for this run (HTTP 402)
  • Plan: this model unlocks after the account has bought credits (HTTP 403)
  • Busy: another generation on this account is still in progress (HTTP 409)
  • Rejected: the content filter refused the prompt, or the account is cooling down after a refusal; reword rather than retry
  • Validation: a parameter is missing or out of range; the message says which
  • Failed: the run was accepted and then failed; the failure code says why
  • Timeout: the wait ran out; the run may still finish in your emaki library

Anything else (a network failure, a 5xx) is the base error with the service's message.

More on emaki

Clips you make here can be sharpened afterwards with the AI video upscaler on the site.

日本語での使い方は シーダンス へ。

MIT licensed. Made by emaki.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 80 11/10/2026