3b2cee2701a3
List Image Generations
List the image generations created through this API, newest first.
Query parameters
Pagination cursor: the next_cursor value of the previous page's response. Omit it for the first page.
Pagination cursor: the next_cursor value of the previous page's response. Omit it for the first page.
How many generations to return per page.
How many generations to return per page.
Only return generations with this lifecycle status.
Only return generations with this lifecycle status.
Only return generations of this model.
Only return generations of this model.
Headers
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.
Response
Successful Response
Example response
{
"generations": [
{
"content_mime_type": "video/mp4",
"content_url": "https://storage.googleapis.com/generations/JWr5N6X9ZTqf8jD2LmQb",
"id": "JWr5N6X9ZTqf8jD2LmQb",
"status": "completed"
},
{
"id": "Kx2mP7Y4WVrg9kE3NnRc",
"status": "generating"
}
],
"has_more": true,
"next_cursor": "MjAyNi0wNy0xN1QxMjowMDowMHxLeDJtUDdZNFdWcmc5a0UzTm5SYw"
}