cURL
curl --request GET \ --url https://api.gnomy.io/api/images/{id} \ --header 'x-api-key: <api-key>'
{ "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "template_id": "<string>", "image_url": "<string>" }
Retrieves a specific generated image by its ID
x-api-key
{ "id": "string", "created_at": "string (ISO date)", "template_id": "string", "image_url": "string" }
{ "error": "Image ID is required" }
{ "error": "Unauthorized" }
{ "error": "Image not found" }
{ "error": "Error message" }
curl -X GET "https://api.example.com/api/images/image123" \ -H "x-api-key: YOUR_API_KEY"
The ID of the image to retrieve
Successfully retrieved image
The response is of type object.
object