Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SCENARIO_API_KEYNoYour Scenario.com API key from https://app.scenario.com/ → Settings → API Keys
SCENARIO_API_SECRETNoYour Scenario.com API secret from https://app.scenario.com/ → Settings → API Keys

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
set-credentialsA

Configure your Scenario.com API credentials for this session. You MUST call this tool first before using any other Scenario tools. Get your credentials from https://app.scenario.com/ (Settings → API Keys).

get-credentials-statusA

Check if credentials are configured for this session (does not expose actual values).

get-assetsC

List assets of a project team, or list all public assets

post-assetC

Upload an image or canvas

delete-assetC

Delete multiple assets

post-download-assetsC

Request a link to batch download assets (batch limited to 1000 assets)

get-download-assetsC

Retrieve the status and the url of a batch download assets request

post-asset-get-bulkC

Get multiple assets by their IDs

get-public-assetsC

List all public assets

get-public-assets-by-asset-idC

Get the details of an asset

get-assets-by-asset-idC

Get the details of an asset

put-asset-by-asset-idC

Update a canvas asset

copy-asset-by-asset-idC

Duplicate an asset

lock-asset-by-asset-idC

Lock a canvas

get-canvas-asset-snapshotsC

List snapshots of a canvas type asset

put-assets-tags-by-asset-idC

Add/delete tags on a specific asset

unlock-asset-by-asset-idC

Unlock a canvas

get-collectionsC

List collections of a team

post-collectionC

Create a new collection

get-collections-by-collection-idB

Get the details of a collection

put-collections-by-collection-idC

Update the name of a Collection

delete-collections-by-collection-idC

Delete a collection

put-assets-by-collection-idC

Add assets to a specific collection

delete-assets-by-collection-idC

Remove assets from a specific collection

put-models-by-collection-idC

Add models to a specific collection

delete-models-by-collection-idC

Remove models from a specific collection

post-caption-inferencesD

Caption image(s)

post-controlnet-inferencesC

Trigger a new image generation in ControlNet mode. The control image is used to guide the generation; it can be a pose, canny map, or similar.

post-controlnet-img2img-inferencesB

Trigger a new image generation in ControlNet + Img2Img mode. The control image is used to guide the generation; it can be a pose, canny map, or similar. The reference image is used to initialize the generation process.

post-controlnet-inpaint-inferencesC

Trigger a new image generation in ControlNet + Inpaint mode. The control image is used to guide the generation; it can be a pose, canny map, or similar. The mask indicates the area to inpaint in the reference image.

post-controlnet-inpaint-ip-adapter-inferencesC

Trigger a new image generation in ControlNet + Inpaint + IpAdapter mode. The control image is used to guide the generation; it can be a pose, canny map, or similar. The mask indicates the area to inpaint in the reference image, and the second reference image is used as an IPAdapter to guide the generation process.

post-controlnet-ip-adapter-inferencesC

Trigger a new image generation in ControlNet + IpAdapter mode. The control image is used to guide the generation; it can be a pose, canny map, or similar. The second reference image is used as an IPAdapter to guide the generation process.

post-controlnet-texture-inferencesC

Trigger a new seamless texture image generation in ControlNet mode. The control image is used to guide the generation; it can be a pose, canny map, or similar.

post-generate-customA

Generate with any model (Image, Video, Audio, 3d).

You can retrieve the model inputs from the GET /models/{modelId} endpoint.

Note: This endpoint is not available yet for SD1.5, SDXL, Flux.1 and Flux.1-Kontext based models. For these models, use the POST /generate/{inferenceType} endpoint. Ex: POST /generate/txt2img or POST /generate/prompt-editing

post-describe-style-inferencesC

Describe the style of the given images or models.

post-detect-inferencesC

Advanced precision in image generation by transforming visual data from input images into mode maps.

post-embed-inferencesC

Get embeddings from text

post-generative-fill-inferencesC

Generative fill replace the selected mask area content based on the context. Used to erase objects or characters.

post-img2img-inferencesC

Trigger a new image generation in Img2Img mode with one reference image that initializes the generation process.

post-img2img-ip-adapter-inferencesC

Trigger a new image generation in Img2Img + IpAdapter mode. The first image is used to initialize the generation, and the second reference image is used as an IPAdapter.

post-img2img-texture-inferencesC

Trigger a new seamless texture image generation in Img2Img mode with one reference image that initializes the generation.

post-inpaint-inferencesB

Trigger a new image generation in Inpaint mode. The mask indicates the area to inpaint in the reference image.

post-inpaint-ip-adapter-inferencesB

Trigger a new image generation in Inpaint + IpAdapter mode. The mask indicates the area to inpaint in the reference image, and the second reference image is used as an IPAdapter to guide the inpainting.

post-patch-inferencesD

Patch an asset with an image.

post-pixelate-inferencesC

Advanced pixelization of an image.

post-prompt-inferencesC

Generate, complete or invent new prompts.

post-prompt-editing-inferencesC

Edit an image with a prompt.

post-reframe-inferencesC

Reframe a given image to new sizes. Extra space is filled based on the context.

post-remove-background-inferencesC

Advanced remove-background of an image.

post-restyle-inferencesC

Trigger a restyle process from one sketch image (or other image) and one or more reference style images.

post-segment-inferencesC

Trigger the segmentation of an image. The process will create a new Asset with the segmentation mask as a child.

post-skybox-base360-inferencesC

Trigger the generation of a 360 skybox seamless image.

post-skybox-upscale360-inferencesC

Trigger the upscaling of an image matching the 360 skyboxes specific geometry.

post-texture-inferencesA

Trigger the conversion of an image texture to different texture maps:

  • Height map

  • Normal map

  • Smoothness map

  • Metallic map

  • Edge map

  • Ambient Occlusion map

The process will create a new Asset with the above texture maps as children + the original image as an Albedo map.

post-translate-inferencesC

Translate text from one language to english.

post-txt2img-inferencesC

Trigger a new image generation in Txt2Img mode.

post-txt2img-ip-adapter-inferencesC

Trigger a new image generation in Txt2Img mode with one IpAdapter reference image that guides the generation process.

post-txt2img-texture-inferencesC

Trigger a new seamless texture image generation in Txt2Img mode.

post-upscale-inferencesA

Trigger the upscaling of an image. You can use styles and presets to quickly get results or craft your very own settings.

Note:This endpoint is deprecated and will be removed in the future. Please leverage POST /generate/custom/{modelId} endpoint instead with model_scenario-upscale-v3 modelId for example. See https://docs.scenario.com/docs/upscale-generation for more details.

post-vectorize-inferencesC

Advanced vectorization of an image.

get-jobsC

List all jobs matching the given filters. A job is a synchronous operation or an asynchronous task such as a training, a generation, etc. It offers a unified view of all operations running on the platform along with their status and results.

get-job-idC

Get job data by job ID

post-job-action-by-job-idC

Trigger an action on a job: cancel

get-modelsC

List all models

post-modelsC

Create a new model

post-models-get-bulkC

Get multiple models by their modelIds

get-public-modelsC

List all public models

get-public-models-by-model-idC

Get the details of the given modelId

get-models-by-model-idC

Get the details of the given modelId, including its training status and training progress if available

put-models-by-model-idD

Update the given modelId

delete-models-by-model-idC

Delete a model

post-models-copy-by-model-idC

Copy the given modelId to a new model, thumbnail, presets, and all of its training images and pairs if any

get-models-description-by-model-idC

Get the description of the given modelId

put-models-description-by-model-idC

Update the markdown description of the given modelId

post-download-modelC

Request a link to download the given modelId

get-models-examples-by-model-idB

List all examples of the given modelId

put-models-examples-by-model-idC

Add/delete/sort examples of the given modelId

delete-models-images-by-model-idC

Delete an image

get-model-presets-by-model-idC

List all presets for the given modelId

post-model-preset-by-model-idC

Create a new preset for the given modelId

put-model-preset-by-model-id-and-preset-idD

Modify the given presetId

delete-model-preset-by-model-id-and-preset-idC

Delete a preset for the given modelId

get-models-scores-prompt-by-model-idC

Get the prompt scores for the given modelId

get-models-scores-training-dataset-by-model-idC

Get the training dataset scores for the given modelId

put-models-tags-by-model-idC

Add/delete tags for the given modelId

put-models-train-by-model-idC

Trigger the given modelId training

post-model-training-action-by-model-idC

Trigger an action on a model training: cancel

post-models-training-images-by-model-idC

Add a new training image to the given modelId

put-models-training-images-pairs-by-model-idC

Replace all training image pairs for the given modelId

put-models-training-images-by-model-id-and-training-image-idC

Replace the given trainingImageId for the given modelId

delete-models-training-images-by-model-id-and-training-image-idC

Delete the given trainingImageId from the given modelId

post-models-transfer-by-model-idC

Transfer (with a copy or a full ownership change) a model to a new owner, including all of its training images

get-public-oscu-pricesB

Get the public Prepaid Compute Units (or OSCU for One Shot Compute Units) price details

get-recommendations-modelsC

List recommended models matching the given filters

post-search-assetsC

Search for assets. At least one of the following fields must have a value: query, filter, image, or images.

image, images are mutually exclusive.

post-search-modelsC

Search for models. At least one of the following fields must have a value: query, filter, image, or images.

image, and images are mutually exclusive.

get-tagsC

List all tags in use for the given projectId

post-uploadsC

Create a temporary upload URL for a file. Support multipart uploads. Return a list of URLs for each part of the file.

get-uploadsB

Get the details of an existing upload

post-uploads-actionC

Trigger an action on upload

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pasie15/scenario.com-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server