konstantin-paulus 1a8968a396 Refactor generative AI components and update dependencies
- Removed unused imports and code related to generative assets in various components.
- Updated the `package-lock.json` to remove `@diffusionstudio/api-contract` and `@trpc` dependencies.
- Introduced a placeholder mechanism for generative AI features that are currently being rebuilt.
- Adjusted the CLI and documentation to reflect changes in available commands and features.
- Enhanced the handling of timeouts in the CLI client for media analysis and rendering tasks.
2026-10-04 11:12:49 +02:00

1.1 KiB
Raw Permalink Blame History

<image>

A picture: a rect whose intrinsic paint is the media src names (see media.md).

<image src="stills/photo.jpg" x={40} y={40} width={200} height={112} />

Props

All common props, plus:

Prop Type Default Meaning
src string required See media.md.
objectFit "cover" | "contain" | "fill" "cover" How the source maps into the box.
frameRate number 30 Frames per second for a src naming a directory of numbered frames, which plays on <image> as footage does (see media.md). Nothing for a still to read.

Without width/height the box is 1920×1080. A still has no duration to fit, so with no end it takes the 16-second default (see timing.md).

A paint child draws over the media paint created by src (see paints.md); a <shaderPaint> child instead post-processes it, so the image renders through the shader. <stroke>, <shadow>, <effect>, <animation> and <keyframeTrack> children are valid too.