assets

Create Asset

Create an asset on the asset library.

post/v1/assets

Request body

asset_type'file' | 'checkpoint' | 'lora' | 'textual_inversion' | 'vae' | 'latent' required

Asset type. It is used to distinguish between different supported assets.

descriptionstring nullable required

Asset description. It is used to provide more information.

hf_repostring nullable

HuggingFace repository.

hf_token_secretstring nullable

OctoAI secret name for HuggingFace token.

is_publicboolean

True if asset is public.

namestring required

Asset name. A unique name for the asset.

skip_validationboolean

Skip asset validation.

transfer_api_type'presigned-url' | 'sts' | 'gcp-oauth' | 'any'

Asset transfer API types.

urlstring uri nullable

Upload the contents of the url as the asset.

Response

Successful Response

tokenstring

Unused. Present for compatibility purposes.

Changes

Changed in 5 of the 6 revisions of this API.2775100

  • b157279528e414144See the full diff
    • added to the response property oneOf list for the response status

      response-property-one-of-added

    • added the new image/flux-dev enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-dev enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-dev enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-dev enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-dev enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-schnell enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-schnell enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-schnell enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-schnell enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/flux-schnell enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new jsonl enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/mistral-nemo enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/mistral-nemo enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/mistral-nemo enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/mistral-nemo enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/mistral-nemo enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new video/svd enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new video/svd enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new video/svd enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new video/svd enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new video/svd enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new gcp-oauth enum value to the request property /

      request-property-enum-value-added

    • added the new image/flux-dev enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-dev enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-dev enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-dev enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-dev enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-schnell enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-schnell enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-schnell enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-schnell enum value to the request property ///

      request-property-enum-value-added

    • added the new image/flux-schnell enum value to the request property ///

      request-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the request property ///

      request-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the request property ///

      request-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the request property ///

      request-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the request property ///

      request-property-enum-value-added

    • added the new image/stable-diffusion-v3-medium enum value to the request property ///

      request-property-enum-value-added

    • added the new jsonl enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-405b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3.1-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/mistral-nemo enum value to the request property ///

      request-property-enum-value-added

    • added the new text/mistral-nemo enum value to the request property ///

      request-property-enum-value-added

    • added the new text/mistral-nemo enum value to the request property ///

      request-property-enum-value-added

    • added the new text/mistral-nemo enum value to the request property ///

      request-property-enum-value-added

    • added the new text/mistral-nemo enum value to the request property ///

      request-property-enum-value-added

    • added the new video/svd enum value to the request property ///

      request-property-enum-value-added

    • added the new video/svd enum value to the request property ///

      request-property-enum-value-added

    • added the new video/svd enum value to the request property ///

      request-property-enum-value-added

    • added the new video/svd enum value to the request property ///

      request-property-enum-value-added

    • added the new video/svd enum value to the request property ///

      request-property-enum-value-added

    • added gcp-oauth discriminator mapping keys to the response property for the response status

      response-property-discriminator-mapping-added

    • added the required property // to the response with the status

      response-required-property-added

  • f62e8bbe2b1d31718See the full diff
    • request property was restricted to a list of enum values

      request-property-became-enum

    • the request property type changed from no type to string

      request-property-type-changed

    • the // response's property type changed from no type to string for status

      response-property-type-changed

    • removed from the request property allOf list

      request-property-all-of-removed

    • added the new checkpoint enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new file enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new latent enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new lora enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new textual_inversion enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new vae enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new any enum value to the request property /

      request-property-enum-value-added

    • added the new checkpoint enum value to the request property

      request-property-enum-value-added

    • added the new file enum value to the request property

      request-property-enum-value-added

    • added the new latent enum value to the request property

      request-property-enum-value-added

    • added the new lora enum value to the request property

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new textual_inversion enum value to the request property

      request-property-enum-value-added

    • added the new vae enum value to the request property

      request-property-enum-value-added

    • removed from the // response property allOf list for the response status

      response-property-all-of-removed

  • a05f2b951d5e2017See the full diff
    • added to the request property allOf list

      request-property-all-of-added

    • removed the enum value any of the request property /

      request-property-enum-value-removed

    • removed the enum value checkpoint of the request property

      request-property-enum-value-removed

    • removed the enum value file of the request property

      request-property-enum-value-removed

    • removed the enum value latent of the request property

      request-property-enum-value-removed

    • removed the enum value lora of the request property

      request-property-enum-value-removed

    • removed the enum value text/llama-3-70b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-70b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-70b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-70b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-70b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-8b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-8b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-8b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-8b of the request property ///

      request-property-enum-value-removed

    • removed the enum value text/llama-3-8b of the request property ///

      request-property-enum-value-removed

    • removed the enum value textual_inversion of the request property

      request-property-enum-value-removed

    • removed the enum value vae of the request property

      request-property-enum-value-removed

    • the request property type changed from string to no type

      request-property-type-changed

    • the // response's property type changed from string to no type for status

      response-property-type-changed

    • added to the // response property allOf list for the response status

      response-property-all-of-added

    • removed the checkpoint enum value from the // response property for the response status

      response-property-enum-value-removed

    • removed the file enum value from the // response property for the response status

      response-property-enum-value-removed

    • removed the latent enum value from the // response property for the response status

      response-property-enum-value-removed

    • removed the lora enum value from the // response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-70b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-70b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-70b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-70b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-70b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-8b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-8b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-8b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-8b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the text/llama-3-8b enum value from the ///// response property for the response status

      response-property-enum-value-removed

    • removed the textual_inversion enum value from the // response property for the response status

      response-property-enum-value-removed

    • removed the vae enum value from the // response property for the response status

      response-property-enum-value-removed

  • f62e8bbe2b1d31718See the full diff
    • request property was restricted to a list of enum values

      request-property-became-enum

    • the request property type changed from no type to string

      request-property-type-changed

    • the // response's property type changed from no type to string for status

      response-property-type-changed

    • removed from the request property allOf list

      request-property-all-of-removed

    • added the new checkpoint enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new file enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new latent enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new lora enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-70b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new text/llama-3-8b enum value to the ///// response property for the response status

      response-property-enum-value-added

    • added the new textual_inversion enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new vae enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new any enum value to the request property /

      request-property-enum-value-added

    • added the new checkpoint enum value to the request property

      request-property-enum-value-added

    • added the new file enum value to the request property

      request-property-enum-value-added

    • added the new latent enum value to the request property

      request-property-enum-value-added

    • added the new lora enum value to the request property

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-70b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new text/llama-3-8b enum value to the request property ///

      request-property-enum-value-added

    • added the new textual_inversion enum value to the request property

      request-property-enum-value-added

    • added the new vae enum value to the request property

      request-property-enum-value-added

    • removed from the // response property allOf list for the response status

      response-property-all-of-removed

    • added the new optional request property //

      new-optional-request-property

    • added the optional property //// to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added