Skip to main content
Glama

Before & After Image

before_after_image

Free (no credits): one comparison image from a before and an after photo of the same place — e.g. an empty room and its virtual staging, a daylight shot and its dusk version, a room before and after a restyle. Side by side, stacked, or split by a line; original shape, square, 4:5 or 9:16. Write the labels in the user's language. Returns a finished image at once.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aspectNoShape of the image: original (follows the photos), 1:1 square, 4:5 Instagram post, 9:16 Stories/Reels.original
labelsNoShow the Before / After labels.
layoutNoside = next to each other, stack = one above the other, vsplit = one frame split by a vertical line, diagonal = split by a slanted line.side
listingIdNoA property folder (from list_listings or create_listing) to put the result in. Results of a photo that is already in a folder go there by themselves.
afterLabelNoLabel text for the after photo, in the user's language (default "After").
afterR2PathNoStorage path of the after photo — the alternative to afterImageUrl.
beforeLabelNoLabel text for the before photo, in the user's language (default "Before").
beforeR2PathNoStorage path of the before photo — the alternative to beforeImageUrl. For a Pixly result, its original photo is the job's source.
afterImageUrlNoThe AFTER photo (e.g. the staged room, the dusk version). Public https URL or data: URI; or afterR2Path.
beforeImageUrlNoThe BEFORE photo (e.g. the empty room, the daylight shot). Public https URL or data: URI; or beforeR2Path.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobsNoSeveral jobs at once (get_job with jobIds, or a plan's steps): each one's jobId, status and results
noteNo
typeNo
errorNo
jobIdYesPass to get_job to poll
quoteNoPresent when status is "awaiting_confirmation": nothing ran and nothing was charged yet — the price and settings the user is asked to confirm
statusYespending | processing | completed | failed — anything not completed/failed is still running
createdAtNo
resultUrlsNoPresent when completed; valid 7 days
completedAtNo
resultPathsNoStorage path of each result — pass one as r2Path (or beforeR2Path, a photos[] item) to run another tool on this result
creditsChargedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / listingId
      Added value: +{
      +  "description": "A property folder (from list_listings or create_listing) to put the result in. Results of a photo that is already in a folder go there by themselves.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / jobs
      Added value: +{
      +  "description": "Several jobs at once (get_job with jobIds, or a plan's steps): each one's jobId, status and results",
      +  "items": {
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  2. Changed1 schema field changed
    • addedOutput schema / properties / quote
      Added value: +{
      +  "description": "Present when status is \"awaiting_confirmation\": nothing ran and nothing was charged yet — the price and settings the user is asked to confirm",
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / resultPaths
      Added value: +{
      +  "description": "Storage path of each result — pass one as r2Path (or beforeR2Path, a photos[] item) to run another tool on this result",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources