✨ NEW:Flux 2 Dev Generate photorealistic images. · Try it now
cURL
curl --request POST \ --url https://modelslab.com/api/assets_generated \ --header 'Content-Type: application/json' \ --data ' { "key": "<string>", "type": "image", "per_page": 123, "page": 123 } '
{ "status": "success", "type": "<string>", "data": [ { "id": 123, "output": [ "<string>" ] } ], "pagination": { "current_page": 2, "per_page": 15, "total": 53, "last_page": 4, "from": 16, "to": 30 } }
Get a list of generated assets acrross endpoints.
POST
--request POST 'https://modelslab.com/api/v6/assets_generated' \
{ "key": "your_api_key", "type": "image" }
Your enterprise API Key used for request authorization
The type of asset
image
video
voice
3d
Number of assets to return per page (default: 10, max: 30)
Page number (default: 1)
NSFW prompt check response
success
The type of asset generated
Array of generated assets
Show child attributes
Unique identifier for the generated asset
Array of URLs to the generated asset files
Pagination information for the response
The current page number
2
Number of items per page
15
Total number of assets
53
The last page number
4
Starting index of current page results
16
Ending index of current page results
30
Was this page helpful?