Account
List models API
The models and modes you can call, with their limits and list prices.
GET
https://serastudio.app/api/v1/modelsUsage notes
- The key needs the read permission.
- Prices here are list prices; the estimate applies your discount.
Response
{
"object": "list",
"data": [
{
"id": "siren",
"object": "model",
"name": "Siren Motion Transfer",
"family": "siren",
"label": "Siren",
"source_seconds": {
"min": 1,
"max": 15,
"min_billed": 4
},
"max_images": 8,
"resolutions": [
{
"resolution": "480p",
"list_usd_per_second": 0.0875
},
{
"resolution": "720p",
"list_usd_per_second": 0.175
},
{
"resolution": "1080p",
"list_usd_per_second": 0.35
}
],
"billable_seconds_per_source_second": 2,
"endpoints": {
"estimate": "/api/v1/siren/estimate",
"generations": "/api/v1/siren/generations"
}
},
{
"id": "siren-object-swap",
"object": "model",
"name": "Siren Object Swap",
"family": "siren",
"label": "Siren",
"source_seconds": {
"min": 4,
"max": 30,
"min_billed": 4
},
"max_images": 8,
"resolutions": [
{
"resolution": "720p",
"list_usd_per_second": 0.1645
},
{
"resolution": "1080p",
"list_usd_per_second": 0.2468
}
],
"billable_seconds_per_source_second": 2,
"endpoints": {
"estimate": "/api/v1/siren-object-swap/estimate",
"generations": "/api/v1/siren-object-swap/generations"
}
},
{
"id": "siren-fast",
"object": "model",
"name": "Siren Motion Transfer Fast",
"family": "siren",
"label": "Siren Fast",
"source_seconds": {
"min": 1,
"max": 15,
"min_billed": 4
},
"max_images": 8,
"resolutions": [
{
"resolution": "480p",
"list_usd_per_second": 0.119
},
{
"resolution": "720p",
"list_usd_per_second": 0.245
},
{
"resolution": "1080p",
"list_usd_per_second": 0.49
}
],
"billable_seconds_per_source_second": 2,
"endpoints": {
"estimate": "/api/v1/siren-fast/estimate",
"generations": "/api/v1/siren-fast/generations"
}
},
{
"id": "fit",
"object": "model",
"name": "Fit to spec",
"family": "fit",
"input": {
"formats": [
"jpeg",
"png",
"webp"
],
"max_mb": 30,
"min_side": 300
},
"targets": [
{
"id": "coupang",
"name": "Coupang",
"kind": "main",
"content_type": "image/png"
},
{
"id": "gmarket",
"name": "Gmarket",
"kind": "main",
"content_type": "image/png"
},
{
"id": "amazon",
"name": "Amazon",
"kind": "main",
"content_type": "image/png"
},
{
"id": "walmart",
"name": "Walmart",
"kind": "main",
"content_type": "image/png"
},
{
"id": "ebay",
"name": "eBay",
"kind": "main",
"content_type": "image/png"
},
{
"id": "tiktok_shop",
"name": "TikTok Shop",
"kind": "main",
"content_type": "image/png"
},
{
"id": "mercado_libre",
"name": "Mercado Libre",
"kind": "main",
"content_type": "image/png"
},
{
"id": "kaufland",
"name": "Kaufland",
"kind": "main",
"content_type": "image/png"
},
{
"id": "google_shopping",
"name": "Google Shopping",
"kind": "main",
"content_type": "image/png"
},
{
"id": "white_square",
"name": "White square",
"kind": "main",
"content_type": "image/png"
},
{
"id": "baemin",
"name": "Baemin",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "coupang_eats",
"name": "Coupang Eats",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "yogiyo",
"name": "Yogiyo",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "doordash",
"name": "DoorDash",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "lieferando",
"name": "Lieferando",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "wolt",
"name": "Wolt",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "uber_eats",
"name": "Uber Eats",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "grubhub",
"name": "Grubhub",
"kind": "menu",
"content_type": "image/png"
},
{
"id": "deliveroo",
"name": "Deliveroo",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "just_eat",
"name": "Just Eat",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "photo_4_3",
"name": "Dish photo 4:3",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "photo_16_9",
"name": "Dish photo 16:9",
"kind": "menu",
"content_type": "image/jpeg"
},
{
"id": "photo_1_1",
"name": "Dish photo 1:1",
"kind": "menu",
"content_type": "image/jpeg"
}
],
"list_usd_per_image": 0.02,
"endpoints": {
"create": "/api/v1/fit"
}
}
]
}Errors
| Status | Code | When it happens | Retry |
|---|---|---|---|
401 | api_key_missing | No Bearer key was sent in the Authorization header. | No |
401 | api_key_invalid | The key is malformed or unknown. | No |
401 | api_key_revoked | The key was deleted in the console. | No |
401 | api_key_disabled | The key is disabled in the console. | No |
401 | api_key_expired | The key is past its expiration date. | No |
403 | insufficient_scope | The key lacks the read permission. Keys created in the console have it. | No |
403 | workspace_forbidden | The account that owns the workspace is suspended or scheduled for deletion. | No |
503 | temporarily_unavailable | The request could not be completed just now. | Yes |
500 | internal_error | Something failed on our side. The request_id identifies the request. | Yes |
503 | api_unavailable | The API is turned off. | No |