✨ 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
Pagination information for the response
Was this page helpful?