Hello everyone,
I’m trying to use n8n to interact with the 1min.ai API to analyze an image and generate Instagram hashtags. Here’s my current setup:
- I send a
POSTrequest tohttps://api.1min.ai/api/conversationswith:
- An image (passed in the body as base64:
data:image/jpeg;base64,...) - A prompt asking for exactly 5 Instagram hashtags
- Required headers:
API-KEYandContent-Type: application/json
The request works: I get a 200 response and a conversation UUID.
But the response does not contain the AI-generated text (e.g. hashtags). It only returns the conversation metadata.
- I then try to retrieve the AI response using:
GET https://api.1min.ai/api/conversations/:uuid
or
GET https://api.1min.ai/api/conversations/:uuid/messages
Result: 404 - Cannot GET /api/conversations/...
Even though the POST was successful.
What I’ve tried:
- Double-checked my
API-KEY— it’s correct. - Verified the image is properly passed in base64 (
{{$input[0].binary.data.data}}). - Tested the same POST in Postman — same result: no response in the body.
- Confirmed the image is received (no error from API).
- Waited a few seconds and retried GET — still 404.
My questions:
- Is it possible the API is asynchronous, and I need to poll for the response?
- Could the AI response be returned directly in the initial POST — but only if the image is sent differently (e.g.
multipart/form-data)? - Has anyone here successfully used 1min.ai with n8n? Or faced a similar issue with APIs that create resources but don’t expose them via GET?
Any help or debugging tips would be greatly appreciated!
Thanks in advance!