Discussions

Ask a Question

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

Hello Everyone. I just started using Monster API to test it out for bigger project , but i keep getting this error message when i try to FETCH the image even though with the same parameters and image i'm able to successfully generate using the GUI on the website "TRY IT". If anyone could help me figure out where am i going wrong, really appreciate it. I'm using ImagetoImage API and i get the following result: {"message": "Request accepted successfully", "process_id": "4adf774e-24c8-41bb-bf80-dc5952b71fec", "status_url": "<https://api.monsterapi.ai/v1/status/4adf774e-24c8-41bb-bf80-dc5952b71fec">, "callback_url": "", "webhook_url": ""} But when i try to fetch the image after a couple of seconds i get a FAILED status.

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 ``` POST https://api.monsterapi.ai/v1/generate/photo-maker 500 (Internal Server Error) ``` generateImage @ index.html:94 index.html:97 {message: 'Internal Error.. Try after sometime'}message: "Internal Error.. Try after sometime"\[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()**defineGetter**: ƒ **defineGetter**()**defineSetter**: ƒ **defineSetter**()**lookupGetter**: ƒ **lookupGetter**()**lookupSetter**: ƒ **lookupSetter**()**proto**: (...)get **proto**: ƒ **proto**()set **proto**: ƒ **proto**() <br> <br> <br> Every time I run this script I get this error it's been the same thing for the past 3-4 days I have used HTML CSS and javascript and fetch request from Mosnter API, if anyone knows about this please let me know it would be great help <br>

How to convert to ggml

Hello, If anyone knows, I would like you to tell me. I have used MonsterAPI to fine-tune Whisper with my dataset. The fine-tuning was successful, and the model has been uploaded to Hugging Face. Currently, the following files exist on Hugging Face: - adapter_config.json - adapter_model.safetensors Based on this, I am considering converting to the ggml format using the following method: Is this feasible? <https://github.com/ggerganov/whisper.cpp/tree/master/models#fine-tuned-models> My Hugging Face repository URL: <https://huggingface.co/MasatoShima1618/whisper-large-v3-fine-tunined-company-earnings-call-v0/tree/main>

Issue with PhotoMaker model via API

Hi there, I tested the Photo Maker model today using my free credits. I was able to obtain the process_id each time and initiate the fetch results query. However, I soon encountered a 'FAILED' status, response is as follows: {"process_id": "4902ccba-570d-46a2-a06b-ce77e97f9d4a", "status": "FAILED", "result": {"errorMessage": "Error occured while processing your request. Your request will be processed again"}} Do you have any idea on what I might be doing wrong?

is the https://api.monsterapi.ai/v1/generate/txt2img working ?

i am sending post request to the url but am not getting any response or error

Queuing and Size

is it possible to avoid the Queuing ? ... i want to making more than just one request at the same time! Also .. can i generate images in custom different size than the pre-assigned one ?

Are the 5000 credits given initially free? If yes, they are not working. I called the "Instruct-pix2pix" multiple times and despite successful call (Response Status 200), they don't seem to be working.

Are the 5000 credits given initially free? If yes, they are not working. I called the "Instruct-pix2pix" multiple times and despite successful call (Response Status 200), they don't seem to be working.

How to get the number of my Available Credits through api

Hello, I want to access the sdxl-base interface through the API, but I don’t know when my Credits will be used up. Is there an API that allows me to query the remaining number of my Available Credits?

fetch results always throws error occured with processsing your request

I am trying to use your API. Getting the same result with my own implementation and the one in the docs: <https://developer.monsterapi.ai/reference/get_status-process-id> text to image sdxl json answer: { "message": "Request accepted successfully", "process_id": "d5efb244-bd1c-4c17-a01c-8f4dc462e964", "status_url": "<https://api.monsterapi.ai/v1/status/d5efb244-bd1c-4c17-a01c-8f4dc462e964">, "callback_url": "", "webhook_url": "" } when i try to fetch the results, first fetch is in queue. Then i try to fetch the results a few minutes later and i am getting this error: { "process_id": "d5efb244-bd1c-4c17-a01c-8f4dc462e964", "status": "FAILED", "result": { "errorMessage": "Error occured while processing your request. Your request will be processed again" } } Using the web gui works without issues. For the API it gives me the same error for bash, python and nodejs.