---
title: "Create a new vm in the given project."
method: POST
path: "/api/v1/standalone/create"
tags: ["Standalone"]
---

# Create a new vm in the given project.

`POST /api/v1/standalone/create`

## Request body

- CreateStandAloneVmCommand
  - `name` string, nullable
  - `flavorName` string, nullable
  - `volumeSize` integer
  - `volumeType` string, nullable
  - `username` string, nullable
  - `password` string, nullable
  - `publicIpEnabled` boolean
  - `image` string, nullable
  - `cloudInit` string, nullable
  - `standAloneProfileId` integer
  - `projectId` integer
  - `count` integer
  - `spotPrice` number, double, nullable
  - `spotInstance` boolean
  - `availabilityZone` string, nullable
  - `hypervisor` string, nullable
  - `useLocalDisk` boolean
  - `standAloneVmDisks` StandAloneVmDiskDto[], nullable
    - `name` string, nullable
    - `size` integer
    - `volumeType` string, nullable
    - `deviceName` string, nullable
    - `lunId` integer, nullable
  - `standAloneMetaDatas` StandAloneMetaDataDto[], nullable
    - `key` string, nullable
    - `value` string, nullable

## Response `200`

OK

- ApiResponse
  - `id` string, nullable
  - `status` integer
  - `message` string, nullable
  - `isError` boolean
  - `result` unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
