Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 2.06 KB

File metadata and controls

24 lines (19 loc) · 2.06 KB

GenSegmentAnything2Response

Example Usage

import { GenSegmentAnything2Response } from "@livepeer/ai/models/operations";

let value: GenSegmentAnything2Response = {
  contentType: "<value>",
  statusCode: 415,
  rawResponse: new Response("{\"message\": \"hello world\"}", {
    headers: { "Content-Type": "application/json" },
  }),
};

Fields

Field Type Required Description
contentType string ✔️ HTTP response content type for this operation
statusCode number ✔️ HTTP response status code for this operation
rawResponse Response ✔️ Raw HTTP response; suitable for custom response parsing
masksResponse components.MasksResponse Successful Response