Build on-device model
Generate code to run the impulse on an embedded device. When this step is complete use downloadBuild
to download the artefacts. Updates are streamed over the websocket API.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
Query parameters
typestringRequired
The name of the built target. You can find this by listing all deployment targets through listDeploymentTargetsForProject
(via GET /v1/api/{projectId}/deployment/targets
) and see the format
type.
impulseIdintegerOptional
Impulse ID. If this is unset then the default impulse is used.
Body
enginestring · enumRequiredPossible values:
modelTypestring · enumOptionalPossible values:
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/jobs/build-ondevice-model HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"engine": "tflite",
"modelType": "int8"
}
200
OK
{
"success": true,
"error": "text",
"id": 12873488112
}
Last updated
Was this helpful?