POST
/
ai-control
/
start
{
  "message": "<string>",
  "server_info": {
    "model_id": "<string>",
    "tcp_socket": [
      "<any>"
    ],
    "timeout": 123,
    "url": "<string>"
  },
  "status": "ok"
}

Body

application/json

Request to start the AI control of the robot.

model_id
string
required

Hugging Face model id to use

prompt
string | null

Prompt to be followed by the robot

speed
number
default:1

Speed of the AI control. 1.0 is normal speed, 0.5 is half speed, 2.0 is double speed. The highest speed is still bottlenecked by the GPU inference time.

Required range: 0.1 <= x <= 2

Response

200
application/json
Successful Response

Response to spawn a server.

server_info
object
required
message
string | null
status
enum<string>
default:ok
Available options:
ok,
error