Skip to content

Query: Fetch Image by ID

Overview

  • Method: GET
  • Path: /mj/image/{id}

Authentication

  • Use HTTP Bearer Token, Example: Authorization: Bearer sk-xxxxx

Path Parameters

ParameterTypeRequiredDescription
idstringYesTask ID

Request Example

bash
curl -X GET "https://api.gpt.ge/mj/image/1725017986212425" \
  -H "Authorization: Bearer sk-xxxx"

Response Example (200)

json
{
  "data": "<binary image content or URL>"
}