[BETA] Create Model
Model files will be downloaded from Huggingface.
Name must be the exact name of the model on huggingface (ex: openai/gpt-oss-120b or ggml-org/gpt-oss-120b-GGUF).
If the model is under a license then you must provide a Huggingface access token for an account that signed the license agreement
POST
/ai/model
curl \
--request POST 'https://api-ch-gva-2.exoscale.com/v2/ai/model' \
--header "Content-Type: application/json" \
--data '{"huggingface-token":"string","name":"string"}'
Request examples
{
"huggingface-token": "string",
"name": "string"
}
Response examples (200)
{
"id": "string",
"reason": "incorrect",
"reference": {
"id": "string",
"link": "string",
"command": "string"
},
"message": "string",
"state": "failure"
}