# Commands

The commands API executes specified commands on the camera and checks the status (`in-progress`, `done`, and so on) of executed commands. All commands need to be implemented based on the specification in the [OSC API Specification](https://developers.google.com/streetview/open-spherical-camera/reference/camera).
**Note:**

- After a command returns state `done` and results, or `error` state, the camera no longer needs to track the command ID.
- Response to command `camera.getImage` needs to be `Content-Type: image/jpeg` when the state is `done`.