API Reference
Get Images
GET
https://api.soreal.app/get-image
Description
Retrieve a list of all images generated by the user.
Example Request Headers
{
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json"
}Example Response
{
"success": true,
"message": "Image list fetched successfully",
"data": [
{
"prompt": "beautiful sunset over the mountains",
"generation_type": "standard",
"public_url": "https://api.soreal.app/assets/users/1/generations/1749381948150.png",
"created_at": "2023-06-15T10:30:45.123Z"
},
{
"prompt": "futuristic cityscape at night",
"generation_type": "advance",
"public_url": "https://api.soreal.app/assets/users/1/generations/1749381948150.png",
"created_at": "2023-06-16T14:22:33.456Z"
}
]
}Error Codes
| Status Code | Description |
|---|---|
| 401 | Unauthorized - Invalid API key |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |