Images

Initiate Image Build

Changed on

Build a VM image from a public source or an uploaded Dockerfile context.

post/api/v1/images/build

Request

  • Base URL
    https://api.primeintellect.ai
  • Auth
    HTTP bearer

Request body

image_namestring nullable

Destination image name. Required for Dockerfile builds.

image_tagstring nullable

Destination image tag. Required for Dockerfile builds.

sourceImagestring nullable

Public source image reference, or comma-separated references, to convert directly into VM images

dockerfile_pathstring

Dockerfile builds only: path within the uploaded build context

platform'linux/amd64' | 'linux/arm64'

Target platform for the VM artifact build.

teamIdstring nullable

Team ID if building image in team context

visibility'INHERIT' | 'PRIVATE' | 'PUBLIC'
ownerScope'platform' nullable

Set to 'platform' to build an org-less platform image. Explicit platform builds are admin-only. Docker Hub source builds become PUBLIC platform images automatically. Platform images cannot set teamId.

Response

Successful Response

OR

Changes

    • info

      added the new optional request property

    • info

      added to the response body anyOf list for the response status

    • info

      removed from the response body anyOf list for the response status