Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.12 KB

media.md

File metadata and controls

23 lines (17 loc) · 1.12 KB

Media

A media object containing information about the generated media.

Example Usage

import { Media } from "@livepeer/ai/models/components";

let value: Media = {
  url: "https://corrupt-unblinking.name",
  seed: 414662,
  nsfw: false,
};

Fields

Field Type Required Description
url string ✔️ The URL where the media can be accessed.
seed number ✔️ The seed used to generate the media.
nsfw boolean ✔️ Whether the media was flagged as NSFW.