/** * This file was auto-generated by Fern from our API Definition. */ import * as OctoAI from "../../../../index"; /** * @example * { * assetType: OctoAI.assetLibrary.AssetType.File, * data: { * assetType: "vae", * engine: OctoAI.assetLibrary.BaseEngine.TextLlama27B * }, * name: "name" * } */ export interface CreateAssetRequest { assetType: OctoAI.assetLibrary.AssetType; /** Asset data. It shows the type of data for an asset. */ data: OctoAI.assetLibrary.Data; /** Asset description. It is used to provide more information. */ description?: string; /** HuggingFace repository. */ hfRepo?: string; /** OctoAI secret name for HuggingFace token. */ hfTokenSecret?: string; /** True if asset is public. */ isPublic?: boolean; /** Asset name. A unique name for the asset. */ name: string; /** Skip asset validation. */ skipValidation?: boolean; /** Transfer API type. */ transferApiType?: OctoAI.assetLibrary.TransferApiType; /** Upload the contents of the url as the asset. */ url?: string; }