PhotoGPT Developers

Get all images for a model

GET
/models/{modelID}/images

Retrieves all images for the given model, filtered by type if provided.

Authorization

BearerAuth
AuthorizationBearer <token>

Developer API key. Send as Authorization: Bearer <api_key>.

In: header

Path Parameters

modelID*string

Model ID

Query Parameters

imageType?string

Image type filter

pageNum?integer

Page number

pageSize?integer

Page size

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/models/string/images"
{  "page": 1,  "pageSize": 20,  "result": [    {      "createdAt": "string",      "data": {        "property1": null,        "property2": null      },      "folderID": "string",      "id": "string",      "liked": true,      "modelID": "string",      "publicMediaID": "string",      "type": "string",      "updatedAt": "string",      "upscaledImageID": "string",      "upscaledImageURL": "string",      "url": "string"    }  ],  "status": "OK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}
{  "err": "string",  "message": "string",  "result": null,  "status": "NOK"}