Scenario
App · 21 actions
Generate images and other game art with Scenario's models, and organise the results into collections.
Actions
| Action | What it does |
|---|---|
| Add assets to collection | Put assets in a collection. |
| Create collection | Make a collection to group assets and models. |
| Delete collection | Delete a collection; the assets and models in it are kept. |
| Generate with model | Start a generation with a Scenario model from a prompt; the result arrives as a job. |
| Get asset | Get one asset with a link to its file. |
| Get collection | Get one collection. |
| Get download link | Get a link to download an asset, converted to another format if you choose. |
| Get job | Get a job's status and, once it has finished, the IDs of the assets it made. |
| Get model | Get one model, including the inputs it takes when generating. |
| Get plan limits | Get your team's plan, its limits and the compute units left in this period. |
| Get usage | Get the compute units your team spent over a period, in total and per person. |
| List assets | List the images, videos and other files in your Scenario project. |
| List collections | List your team's collections. |
| List jobs | List generations, trainings and other jobs, filtered as you choose. |
| List models | List your Scenario models, or Scenario's public ones. |
| List projects | List the projects in your Scenario team. |
| List tags | List the tags in use in your project and how many items have each. |
| Remove assets from collection | Take assets out of a collection; the assets themselves are kept. |
| Search assets | Search your assets by words, or Scenario's public images. |
| Tag asset | Add tags to an asset or take them off. |
| Update collection | Rename a collection or change its thumbnail. |
Add assets to collection
Put assets in a collection.
Inputs
- Collection
collectionIdtextRequired - The collection to add to. Pick one, or use an ID from List collections.
- Asset IDs
assetIdslistRequired - The assets to add, up to 49 at once.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"collection": {
"assetCount": 12,
"createdAt": "2026-10-02T11:19:41.579Z",
"id": "collection_GTrL3mq4SXWyMxkOHRxlpw",
"itemCount": 14,
"modelCount": 2,
"name": "Hero concepts",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Create collection
Make a collection to group assets and models.
Inputs
- Name
nametextRequired - The collection's name.
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"collection": {
"assetCount": 0,
"createdAt": "2026-10-02T11:19:41.579Z",
"id": "collection_GTrL3mq4SXWyMxkOHRxlpw",
"itemCount": 0,
"modelCount": 0,
"name": "Hero concepts",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Delete collection
Delete a collection; the assets and models in it are kept.
Inputs
- Collection
collectionIdtextRequired - The collection to delete. Pick one, or use an ID from List collections.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {}
}Generate with model
Start a generation with a Scenario model from a prompt; the result arrives as a job.
Inputs
- Model
modelIdtextRequired - The model to generate with, such as flux.1-dev. Pick one, or use an ID from List models.
- Prompt
prompttext - What to generate.
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"job": {
"authorId": "6de208bb174452c39aa54cbec8595ccd",
"billing": {
"cuCost": 5,
"cuDiscount": 0
},
"createdAt": "2026-10-02T11:19:41.579Z",
"jobId": "job_aZ67MsuuyQ5JawJekta3V7yD",
"jobType": "flux",
"metadata": {
"assetIds": [],
"error": ""
},
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"progress": 0,
"status": "queued",
"statusHistory": [
{
"date": "2026-11-30T15:30:05.356Z",
"status": "queued"
}
],
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Get asset
Get one asset with a link to its file.
Inputs
- Asset ID
assetIdtextRequired - The asset to read, from List assets or Get job.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"asset": {
"authorId": "6de208bb174452c39aa54cbec8595ccd",
"collectionIds": [
"collection_GTrL3mq4SXWyMxkOHRxlpw"
],
"createdAt": "2026-10-02T11:19:41.579Z",
"description": "Low-poly wizard, front view.",
"id": "asset_3ozWujykU62eMC4FHcjzf1eT",
"kind": "image",
"metadata": {
"height": 1024,
"modelId": "flux.1-dev",
"name": "Wizard",
"prompt": "A 3D low-poly wizard character for a mobile fantasy strategy game",
"type": "inference-txt2img",
"width": 1024
},
"mimeType": "image/png",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"privacy": "private",
"properties": {
"height": 1024,
"size": 1482211,
"width": 1024
},
"source": "inference-txt2img",
"status": "success",
"tags": [
"characters"
],
"updatedAt": "2026-11-18T09:02:10.112Z",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
}
}
}Get collection
Get one collection.
Inputs
- Collection
collectionIdtextRequired - The collection to read. Pick one, or use an ID from List collections.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"collection": {
"assetCount": 12,
"createdAt": "2026-10-02T11:19:41.579Z",
"id": "collection_GTrL3mq4SXWyMxkOHRxlpw",
"itemCount": 14,
"modelCount": 2,
"name": "Hero concepts",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Get download link
Get a link to download an asset, converted to another format if you choose.
Inputs
- Asset ID
assetIdtextRequired - The asset to download, from List assets or Get job.
- Format
targetFormattext - The file format to download it in. Leave empty for the stored file. Audio and video come only in their stored format.One of:
png,jpeg,jpg,webp,avif,gif,heif,svg,tif,tiff, and 6 more.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"mimeType": "image/webp",
"url": "https://cdn.cloud.scenario.com/downloads/asset_3ozWujykU62eMC4FHcjzf1eT.webp"
}
}Get job
Get a job's status and, once it has finished, the IDs of the assets it made.
Inputs
- Job ID
jobIdtextRequired - The job to read, from Generate with model or List jobs.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"job": {
"authorId": "6de208bb174452c39aa54cbec8595ccd",
"billing": {
"cuCost": 5,
"cuDiscount": 0
},
"createdAt": "2026-10-02T11:19:41.579Z",
"jobId": "job_aZ67MsuuyQ5JawJekta3V7yD",
"jobType": "flux",
"metadata": {
"assetIds": [
"asset_3ozWujykU62eMC4FHcjzf1eT"
],
"error": ""
},
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"progress": 1,
"status": "success",
"statusHistory": [
{
"date": "2025-06-20T15:30:11.734Z",
"status": "success"
}
],
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Get model
Get one model, including the inputs it takes when generating.
Inputs
- Model
modelIdtextRequired - The model to read, such as flux.1-dev. Pick one, or use an ID from List models.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"model": {
"capabilities": [
"txt2img",
"img2img"
],
"collectionIds": [
"collection_GTrL3mq4SXWyMxkOHRxlpw"
],
"createdAt": "2026-10-02T11:19:41.579Z",
"custom": true,
"id": "model_8u3SnBNQnKhGd7Dc9PTVfZmT",
"inputs": [
{
"description": "What to generate.",
"label": "Prompt",
"name": "prompt",
"type": "string"
}
],
"name": "Low-poly fantasy characters",
"privacy": "private",
"shortDescription": "Stylised low-poly heroes for a mobile strategy game.",
"source": "scenario",
"status": "trained",
"tags": [
"characters"
],
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"trainingImagesNumber": 24,
"type": "flux.1-lora",
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Get plan limits
Get your team's plan, its limits and the compute units left in this period.
Inputs
- Team ID
teamtextRequired - Your team's ID, as List projects shows it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"limits": {
"apiKeys": 10,
"collections": 100,
"creativeUnits": 15000,
"models": 50,
"projects": 10,
"seats": 5
},
"oneShotCreativeUnits": [
{
"amount": 5000,
"createdAt": "2026-10-02T11:19:41.579Z",
"expiration": "2027-05-01T00:00:00.000Z",
"remaining": 1200,
"updatedAt": "2026-11-18T09:02:10.112Z"
}
],
"period": {
"end": "2026-12-01T00:00:00.000Z",
"start": "2026-11-01T00:00:00.000Z"
},
"plan": "cu-pro",
"values": {
"apiKeys": 10,
"collections": 100,
"creativeUnits": 11850,
"projects": 10,
"seats": 5
}
}
}Get usage
Get the compute units your team spent over a period, in total and per person.
Inputs
- Period
timeRangetext - A recent period. Ignored when you set Start and End.One of:
last-hour(Last hour),last-day(Last day),last-three-days(Last 3 days),last-seven-days(Last 7 days),last-thirty-one-days(Last 31 days). - Start
startDatedate and time - The start of the period. Set with End, at most 120 days apart.
- End
endDatedate and time - The end of the period. Set with Start.
- User ID
userIdtext - Only this user's usage.
- Projects
projectIdslist - Only these projects' usage, by project ID.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"consumption": [
{
"discount": 0,
"total": 3150,
"userId": "6de208bb174452c39aa54cbec8595ccd",
"value": 3150
}
],
"usages": [
{
"granularity": "1d",
"points": [
{
"time": "2026-11-20T00:00:00.000Z",
"value": 3150
}
],
"usageName": "creative-unit-cost"
}
]
}
}List assets
List the images, videos and other files in your Scenario project.
Inputs
- Collection
collectionIdtext - Only assets in this collection. Pick one, or use an ID from List collections.
- Model
modelIdtext - Only assets this model generated. Pick one, or use an ID from List models.
- Author ID
authorIdtext - Only assets made by this user.
- Made from asset
parentAssetIdtext - Only assets generated from this asset.
- Sort by
sortBytext - Which date to sort by.One of:
createdAt(Date created),updatedAt(Date updated). - Order
sortDirectiontext - Newest or oldest first, when sorting.One of:
desc(Newest first),asc(Oldest first). - Created after
createdAfterdate and time - Only assets created after this time. Needs Sort by set to Date created.
- Created before
createdBeforedate and time - Only assets created before this time. Needs Sort by set to Date created.
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
- Page size
pageSizenumber - How many assets to return, up to 100. Scenario's default is 50.From 1 to 100.
- Next page
paginationTokentext - The nextPaginationToken from the page before, to read the page after it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"assets": [
{
"authorId": "6de208bb174452c39aa54cbec8595ccd",
"collectionIds": [
"collection_GTrL3mq4SXWyMxkOHRxlpw"
],
"createdAt": "2026-10-02T11:19:41.579Z",
"description": "Low-poly wizard, front view.",
"id": "asset_3ozWujykU62eMC4FHcjzf1eT",
"kind": "image",
"metadata": {
"height": 1024,
"modelId": "flux.1-dev",
"name": "Wizard",
"prompt": "A 3D low-poly wizard character for a mobile fantasy strategy game",
"type": "inference-txt2img",
"width": 1024
},
"mimeType": "image/png",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"privacy": "private",
"properties": {
"height": 1024,
"size": 1482211,
"width": 1024
},
"source": "inference-txt2img",
"status": "success",
"tags": [
"characters"
],
"updatedAt": "2026-11-18T09:02:10.112Z",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
}
],
"nextPaginationToken": "eyJpZCI6Im1vZGVsXzhVM1NuIn0"
}
}List collections
List your team's collections.
Inputs
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
- Page size
pageSizenumber - How many collections to return, up to 100. Scenario's default is 10.From 1 to 100.
- Next page
paginationTokentext - The nextPaginationToken from the page before, to read the page after it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"collections": [
{
"assetCount": 12,
"createdAt": "2026-10-02T11:19:41.579Z",
"id": "collection_GTrL3mq4SXWyMxkOHRxlpw",
"itemCount": 14,
"modelCount": 2,
"name": "Hero concepts",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"updatedAt": "2026-11-18T09:02:10.112Z"
}
],
"nextPaginationToken": "eyJpZCI6Im1vZGVsXzhVM1NuIn0"
}
}List jobs
List generations, trainings and other jobs, filtered as you choose.
Inputs
- Status
statustext - Only jobs in this state.One of:
pending,queued,warming-up(Warming up),in-progress(In progress),success(Succeeded),failure(Failed),canceled,finalizing. - Type
typetext - Only jobs of this kind, such as flux, inference, upscale or model-training.
- Author ID
authorIdtext - Only jobs started by this user. Scenario then shows the last 30 days unless you set a date.
- Created after
createdAfterdate and time - Only jobs created after this time. Not with Status or Type.
- Updated after
updatedAfterdate and time - Only jobs updated after this time. Only with Status or Type.
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
- Page size
pageSizenumber - How many jobs to return, up to 100. Scenario's default is 50.From 1 to 100.
- Next page
paginationTokentext - The nextPaginationToken from the page before, to read the page after it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"jobs": [
{
"authorId": "6de208bb174452c39aa54cbec8595ccd",
"billing": {
"cuCost": 5,
"cuDiscount": 0
},
"createdAt": "2026-10-02T11:19:41.579Z",
"jobId": "job_aZ67MsuuyQ5JawJekta3V7yD",
"jobType": "flux",
"metadata": {
"assetIds": [
"asset_3ozWujykU62eMC4FHcjzf1eT"
],
"error": ""
},
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"progress": 1,
"status": "success",
"statusHistory": [
{
"date": "2025-06-20T15:30:11.734Z",
"status": "success"
}
],
"updatedAt": "2026-11-18T09:02:10.112Z"
}
],
"nextPaginationToken": "eyJpZCI6Im1vZGVsXzhVM1NuIn0"
}
}List models
List your Scenario models, or Scenario's public ones.
Inputs
- Privacy
privacytext - Your own models or Scenario's public ones. Scenario's default is your own.One of:
private(My models),public(Public models). - Status
statustext - Only your models in this state.One of:
new,training,trained,failed,deleted(Deleted in the last 30 days). - Sort by
sortBytext - Which date to sort by.One of:
createdAt(Date created),updatedAt(Date updated),score. - Order
sortDirectiontext - Newest or oldest first, when sorting.One of:
desc(Newest first),asc(Oldest first). - Created after
createdAfterdate and time - Only models created after this time. Needs Sort by set to Date created.
- Created before
createdBeforedate and time - Only models created before this time. Needs Sort by set to Date created.
- Collection
collectionIdtext - Only your models in this collection. Pick one, or use an ID from List collections.
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
- Page size
pageSizenumber - How many models to return, up to 500. Scenario's default is 100 for your own models.From 1 to 500.
- Next page
paginationTokentext - The nextPaginationToken from the page before, to read the page after it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"models": [
{
"capabilities": [
"txt2img",
"img2img"
],
"collectionIds": [
"collection_GTrL3mq4SXWyMxkOHRxlpw"
],
"createdAt": "2026-10-02T11:19:41.579Z",
"custom": true,
"id": "model_8u3SnBNQnKhGd7Dc9PTVfZmT",
"name": "Low-poly fantasy characters",
"privacy": "private",
"shortDescription": "Stylised low-poly heroes for a mobile strategy game.",
"source": "scenario",
"status": "trained",
"tags": [
"characters"
],
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"trainingImagesNumber": 24,
"type": "flux.1-lora",
"updatedAt": "2026-11-18T09:02:10.112Z"
}
],
"nextPaginationToken": "eyJpZCI6Im1vZGVsXzhVM1NuIn0"
}
}List projects
List the projects in your Scenario team.
Inputs
- Page size
pageSizenumber - How many projects to return, up to 100. Scenario's default is 10.From 1 to 100.
- Next page
paginationTokentext - The nextPaginationToken from the page before, to read the page after it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"nextPaginationToken": "eyJpZCI6Im1vZGVsXzhVM1NuIn0",
"projects": [
{
"consumption": 3150,
"createdAt": "2026-10-02T11:19:41.579Z",
"description": "Art for the mobile game.",
"id": "proj_5kq2Lr8Tz1Wb",
"maxConsumption": 10000,
"name": "Mobile strategy game",
"privacyMode": false,
"teamId": "team_Wm3hFq2Z9kGv7tC1",
"updatedAt": "2026-11-18T09:02:10.112Z"
}
]
}
}List tags
List the tags in use in your project and how many items have each.
Inputs
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
- Page size
pageSizenumber - How many tags to return, up to 100. Scenario's default is 50.From 1 to 100.
- Next page
paginationTokentext - The nextPaginationToken from the page before, to read the page after it.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"nextPaginationToken": "eyJpZCI6Im1vZGVsXzhVM1NuIn0",
"tags": [
{
"createdAt": "2026-10-02T11:19:41.579Z",
"itemCount": 14,
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"tagName": "characters",
"updatedAt": "2026-11-18T09:02:10.112Z"
}
]
}
}Remove assets from collection
Take assets out of a collection; the assets themselves are kept.
Inputs
- Collection
collectionIdtextRequired - The collection to take them out of. Pick one, or use an ID from List collections.
- Asset IDs
assetIdslistRequired - The assets to take out, up to 49 at once.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"collection": {
"assetCount": 12,
"createdAt": "2026-10-02T11:19:41.579Z",
"id": "collection_GTrL3mq4SXWyMxkOHRxlpw",
"itemCount": 14,
"modelCount": 2,
"name": "Hero concepts",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}Search assets
Search your assets by words, or Scenario's public images.
Inputs
- Search for
querytextRequired - Words to search for.
- Filter
filtertext - Only assets whose attribute has a value, such as type = inference-txt2img.
- Public images
publictrue/false - Search public images from everyone instead of your own.
- Page
pagenumber - Which page of results to read, from 1. Set with Results per page.At least 1.
- Results per page
hitsPerPagenumber - How many results a page holds. Set with Page.At least 1.
- Project
projectIdtext - The project to work in. Leave empty for the key's own project or team.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"hits": [
{
"authorId": "6de208bb174452c39aa54cbec8595ccd",
"createdAt": "2026-10-02T11:19:41.579Z",
"description": "Low-poly wizard, front view.",
"id": "asset_3ozWujykU62eMC4FHcjzf1eT",
"mimeType": "image/png",
"privacy": "private",
"score": 0.82,
"tags": [
"characters"
],
"updatedAt": "2026-11-18T09:02:10.112Z",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
}
],
"hitsPerPage": 20,
"page": 1,
"totalHits": 1,
"totalPages": 1
}
}Tag asset
Add tags to an asset or take them off.
Inputs
- Asset ID
assetIdtextRequired - The asset to tag, from List assets or Get job.
- Tags to add
addlist - Tags to add.
- Tags to remove
deletelist - Tags to take off.
- Fail on repeats
stricttrue/false - Fail if a tag to add is already there or a tag to remove isn't. Off by default.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"added": [
"hero"
],
"deleted": [
"draft"
]
}
}Update collection
Rename a collection or change its thumbnail.
Inputs
- Collection
collectionIdtextRequired - The collection to change. Pick one, or use an ID from List collections.
- Name
nametext - Its new name.
- Thumbnail asset ID
thumbnailtext - The ID of the image asset to show as its thumbnail.
Outputs
dataobject- The response from Scenario.
Example output
{
"data": {
"collection": {
"assetCount": 12,
"createdAt": "2026-10-02T11:19:41.579Z",
"id": "collection_GTrL3mq4SXWyMxkOHRxlpw",
"itemCount": 14,
"modelCount": 2,
"name": "Hero concepts",
"ownerId": "aLKe8J0IS7Oj3o0llJsoyw",
"thumbnail": {
"assetId": "asset_3ozWujykU62eMC4FHcjzf1eT",
"url": "https://cdn.cloud.scenario.com/assets/asset_3ozWujykU62eMC4FHcjzf1eT.png"
},
"updatedAt": "2026-11-18T09:02:10.112Z"
}
}
}