List scenes
GET
/v1/scenesQuery parameters
cursorstringOpaque composite pagination cursor from the previous response. Do not parse or construct it.
limitintegerNumber of items to return
min 1 · max 100 · default: 20
Responses
200List of scenes
dataobject[]requiredmax items 100
Show propertiesHide properties
Array of
objectidstring<uuid>requirednamestringrequiredmin length 1 · max length 200
promptstringmax length 10000
image_urlstring<uri>max length 4096
thumbnail_urlstring<uri>max length 4096
modelstringmin length 1 · max length 200
aspect_ratiostringmin length 1 · max length 32
resolutionstringmin length 1 · max length 32
modestringAllowed:
ugcproductcustomcreated_atstring<date-time>requiredmetaobjectrequiredShow propertiesHide properties
cursorstringmin length 1 · max length 4096
has_morebooleanrequiredRequest
curl -X GET "https://api.roasos.com/v1/scenes"const response = await fetch("https://api.roasos.com/v1/scenes", {
method: "GET"
});import requests
response = requests.get(
"https://api.roasos.com/v1/scenes",
)Response
{
"data": [
{
"id": "<uuid>",
"name": "string",
"prompt": "string",
"image_url": "<uri>",
"thumbnail_url": "<uri>",
"model": "string",
"aspect_ratio": "string",
"resolution": "string",
"mode": "ugc",
"created_at": "2024-01-01T00:00:00Z"
}
],
"meta": {
"cursor": "string",
"has_more": true
}
}