Overview
Image to Text
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: YOUR_API_KEY
Request Body
botType
string
default:"MID_JOURNEY"
Bottype parameter
base64
string
default:"data:image/png;base64,xxx"
Base64 parameter
Request Example
curl -X POST "https://gptproto.com/mj/submit/describe" \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"botType": "MID_JOURNEY",
"base64": "data:image/png;base64,xxx",
"accountFilter": {
"channelId": "",
"instanceId": "",
"modes": [],
"remark": "",
"remix": true,
"remixAutoConsidered": true
},
"notifyHook": "",
"state": ""
}'
Response
Error Responses
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}