packages/cloud-frontend/content/api/gallery.mdx
import { Callout, Tabs } from "@/docs/components";
View and manage your generated images and videos.
Get all items in your gallery.
| Parameter | Type | Description |
|---|---|---|
type | string | image or video |
limit | integer | Results per page |
offset | integer | Pagination offset |
{
"items": [
{
"id": "gal_abc123",
"type": "image",
"url": "https://your-storage.vercel-storage.com/images/abc123.png",
"prompt": "A mountain landscape at sunset",
"model": "google/gemini-2.5-flash-image",
"width": 1024,
"height": 1024,
"createdAt": "2024-01-15T10:30:00Z"
}
],
"total": 150
}
Get details about a specific item.
{
"id": "gal_abc123",
"type": "image",
"url": "https://your-storage.vercel-storage.com/images/abc123.png",
"prompt": "A mountain landscape at sunset",
"negativePrompt": "blurry, low quality",
"model": "google/gemini-2.5-flash-image",
"width": 1024,
"height": 1024,
"seed": 12345,
"cost": 0.02,
"createdAt": "2024-01-15T10:30:00Z"
}
Delete an item from your gallery.
<Callout type="warning">Deleted items cannot be recovered.</Callout>
| Plan | Storage |
|---|---|
| Free | 1 GB |
| Pro | 50 GB |
| Enterprise | Unlimited |