Service and Application/Inference Service APIs
POSTInference Service APIsSince 5.1.8SynchronousAuth Required
BindModelToService
BindModelToService
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
modelUuidStringRequiredThe model UUID.
modelServiceUuidStringRequiredThe model service UUID.
Body Fields
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
POST/zstack/v1/ai/models/{modelUuid}/model-services/{modelServiceUuid}
/zstack/v1/ai/models/{modelUuid}/model-services/{modelServiceUuid}
Request Example
curl -X POST 'http://{host}/zstack/v1/ai/models/{modelUuid}/model-services/{modelServiceUuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"systemTags":["<systemTags>"],"userTags":["<userTags>"]}'
Response Example
200{ "inventory": { "name": "text to text model service", "description": "This is text to text model service you can chose model", "yaml": "model service parameters", "requestCpu": 4, "requestMemory": 1024, "supportDistributed": false } }Change History
This API has no change history records yet.
