Modified the "check" script in package.json to reference the correct "examples" directory. Updated the README to replace "video editor" with "media compositor" for improved accuracy and restructured some sentences for better readability. Removed outdated documentation files related to assets, CLI, composition, distribution, and getting started, streamlining the documentation for a more focused user experience.
897 B
897 B
dapi models [type]
Lists the generation models available for a media type, including each model's capabilities. Use it to discover valid model ids and the per-model constraints (durations, aspect ratios, features) to set on an asset declaration (see jsx/generate.md).
There are no CLI commands that generate; asset generation is declared in the project module and produced on mount.
Input
[type](optional): one ofimage,video,audio. Omit to list all three groups.
Output
JSON Lines, one per model:
{
type: "image" | "video" | "audio";
id: string; // the model id to set on a generate.* declaration
name: string;
durations?: string[]; // video only, e.g. ["5s","10s"]
aspectRatios?: string[]; // video only
features?: Array<"start-frame" | "end-frame" | "audio">; // video only
}