---
title: "Creates a custom image in the project and returns the async operation."
method: POST
path: "/projects/{project_id}/compute/custom-images"
tags: ["CustomImages"]
---

# Creates a custom image in the project and returns the async operation.

`POST /projects/{project_id}/compute/custom-images`

## Path parameters

- `project_id` string, required

## Request body

- CustomImagePostRequest
  - `DiskID` string, required — ID of the disk to create the custom image from.
  - `description` string — Description for the new custom image.
  - `name` string, required — Name for the new custom image.
  - `tags` string[] — Tags to associate with the new custom image.

## Response `200`

- AsyncOperationResponse
  - `operation` Operation, required — Individual resources that use Operations should populate the `metadata` field with resource-specific information.
    - `completed_at` string, required
    - `metadata` string, required
    - `operation_id` string, required
    - `result` string
    - `started_at` string, required
    - `state` 'IN_PROGRESS' | 'SUCCEEDED' | 'FAILED', required

## Other responses

- `400` — Error Bad Request
- `401` — Error Authentication Failed
- `403` — Error Permissions
- `404` — Error Not Found
- `500` — Error Internal Server

---

[API](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway.md) · [All operations](https://skmtc.net/crusoecloud/apis/crusoe-cloud-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crusoecloud/crusoe-cloud-api-gateway/versions/a3fd2dedc72b/schema)
