---
updatedAt: 2025-09-24T21:19:56.000Z
agentTools:
  projectIndex: https://www.getmason.dev/llms.txt
---

# Get Image

Get image generation status

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Generation",
    "version": "0.1.0"
  },
  "paths": {
    "/api/images/{uid}": {
      "get": {
        "tags": [
          "Retrieve an Image"
        ],
        "summary": "Get Image",
        "description": "Get Image Generation status",
        "operationId": "Get_Image_api_v1_genie_images__uid__get",
        "parameters": [
          {
            "description": "UID received from generation task",
            "required": true,
            "schema": {
              "type": "string",
              "title": "UID",
              "description": "UID received from generation task"
            },
            "name": "uid",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "Generated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerationStatusResponse"
                },
                "examples": {
                  "response": {
                    "value": {
                      "status": 1,
                      "url": "https://media.kubric.io/api/videos-kubric/image_png_1911414190.png"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized call to the API",
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "message": "Authentication check failed. Please check the Authorization header"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Bad request"
          },
          "500": {
            "description": "Failure",
            "content": {
              "application/json": {
                "examples": {
                  "response": {
                    "value": {
                      "status": -1
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "OAuth2PasswordBearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "GenerationStatusResponse": {
        "properties": {
          "status": {
            "type": "string",
            "title": "Status"
          },
          "url": {
            "type": "string",
            "title": "Url"
          }
        },
        "type": "object",
        "title": "GenerationStatusResponse"
      }
    },
    "securitySchemes": {
      "OAuth2PasswordBearer": {
        "type": "oauth2",
        "flows": {
          "password": {
            "scopes": {},
            "tokenUrl": "token"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.getmason.io"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```