mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-09-14 00:13:37 +00:00
Some checks are pending
Build and Release / Determine run mode (push) Waiting to run
Build and Release / Sync Flatpak repo (push) Blocked by required conditions
Build and Release / Collect Flatpak artifacts (push) Blocked by required conditions
Build and Release / Verify (push) Waiting to run
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-apple-darwin, osx-arm64, macos-latest, aarch64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-pc-windows-msvc.exe, win-arm64, windows-latest, aarch64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-aarch64-unknown-linux-gnu, linux-arm64, ubuntu-22.04-arm, aarch64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-apple-darwin, osx-x64, macos-latest, x86_64-apple-darwin, dmg,app,updater, dmg) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-pc-windows-msvc.exe, win-x64, windows-latest, x86_64-pc-windows-msvc, nsis,updater, nsis) (push) Blocked by required conditions
Build and Release / Build app (${{ matrix.dotnet_runtime }}) (-x86_64-unknown-linux-gnu, linux-x64, ubuntu-22.04, x86_64-unknown-linux-gnu, appimage,updater, appimage) (push) Blocked by required conditions
Build and Release / Prepare & create release (push) Blocked by required conditions
Build and Release / Publish release (push) Blocked by required conditions
39 lines
1.7 KiB
C#
39 lines
1.7 KiB
C#
using AIStudio.Provider;
|
|
|
|
namespace AIStudio.Models.Kinds;
|
|
|
|
/// <summary>
|
|
/// The models which make video.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Two of these names have to stand as a name part of their own. "kling" taken as a plain substring
|
|
/// also matches the organization Klingspor, the model Inkling, and the fine-tune
|
|
/// Llama-2-7b-chat-klingon -- all of them models to chat with, which would vanish from the user's
|
|
/// list. The models themselves are called kling-v1 and kling-video, where the name ends at a
|
|
/// separator. Google's veo is the same story with an even shorter word.
|
|
/// </remarks>
|
|
public sealed class VideoGenerationModelsFamily : ModelFamily
|
|
{
|
|
/// <inheritdoc />
|
|
public override ModelVendor Vendor => ModelVendor.UNKNOWN;
|
|
|
|
/// <inheritdoc />
|
|
public override ModelSource Source => new("https://huggingface.co/models?pipeline_tag=text-to-video", new DateOnly(2026, 9, 12), "Ported from the video generation markers of Provider/ModelKindExtensions.cs, where veo carried a trailing hyphen to say the same thing a name part says here. Grok Imagine was added after it turned up in the chat list while testing; see https://docs.x.ai/docs/models.");
|
|
|
|
/// <inheritdoc />
|
|
protected override void Declare(ModelFamilyBuilder builder)
|
|
{
|
|
builder.Modifier("sora").AsSubstring().Kind(ModelKind.VIDEO_GENERATION);
|
|
|
|
builder.Modifier("runway").AsSubstring().Inherits();
|
|
|
|
builder.Modifier("hailuo").AsSubstring().Inherits();
|
|
|
|
builder.Modifier("veo").AsSegment().Inherits();
|
|
|
|
builder.Modifier("kling").AsSegment().Inherits();
|
|
|
|
// Grok Imagine makes both stills and film; the word next to it says which:
|
|
builder.Modifier("grok-imagine").AsSegment().AlsoContains("video").Inherits();
|
|
}
|
|
} |