Discussions

Ask a Question

Webhook URL Registration Not Working Properly

Even when entering a valid URL as shown below, a 408 error is returned. Additionally, there is no explanation anywhere in the documentation about whether the request is sent as a GET or a POST request.

can i download fine tuned model after training?

when i train my model on MonserApi can i download it and use it locally?

how to deploy the model?

i trained my model and uploaded final zip file - dont understand what to do with it and documentation finished on the step of downloading this file

chat/completions

{"model":"microsoft/Phi-3-mini-4k-instruct","frequency_penalty":0,"logprobs":true,"top_logprobs":0,"n":1,"presence_penalty":0,"response_format":{"type":"text"},"stream":true,"stream_options":{"include_usage":true},"temperature":0.7,"top_p":1,"tool_choice":"none","use_beam_search":false,"top_k":-1,"min_p":0,"repetition_penalty":1,"length_penalty":1,"early_stopping":false,"ignore_eos":false,"min_tokens":0,"skip_special_tokens":true,"spaces_between_special_tokens":true,"echo":false,"add_generation_prompt":true,"add_special_tokens":false,"include_stop_str_in_output":false,"messages":[{"content":"Your name is Lucky, you are my virtual girlfriend, you can chat with me","name":"Lucky"}]}

"status": "FAILED", "result": {"errorMessage": "Error occured while processing model"}}

Hello Everyone.

key is correct still it's showing apikey is unauthorized

const imgGen = async () => {
if (inputRef.current.value === "") {
return 0;
}
try {
const res = await fetch("
https://api.monsterapi.ai/v1/generate/txt2img", {
method: "POST",
mode: 'no-cors',
headers: {
'Content-Type': 'multipart/form-data',
Accept: 'application/json',
Authorization: Bearer ${process.env}
},
body: JSON.stringify({
prompt: ${inputRef.current.value},
samples:1,
aspect_ratio: "portrait"
}),
});
if (!res.ok) {
throw new Error(HTTP error! status: ${res.status});
}
let data = await res.json();
console.log(data);
} catch (error) {
console.error('Error fetching image:', error);
}
};

Photo Maker API

index.html:94

How to convert to ggml

Hello,

Issue with PhotoMaker model via API

Hi there,