Skip to main content
Glama

Restyle an image

restyle

Edits an existing image with AI. COSTS CREDITS (generate_* pricing, like generate_image). Always creates a NEW generation; the original is untouched. Modes: plain-text edit (just instructions); one-click product placement (action bring + reference_id — places the reference's product into the scene at true scale, relit); recolor/remove/add items (use get_detections for item names); merge two images (merge_bias 0=reference dominates, 100=base dominates); art-style transfer (action style + style_intensity 0-100). reference_id can be an asset OR a generation you own. @slug in the prompt or entity_ids attach a saved entity's sheet (list_entities).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoItems by name (every instance) or, remove only, by get_detections id (that one instance). Required for remove.
actionNoDefault bring.
scan_idNoThe scan_id item ids came from. Default newest.
asset_idNoAn uploaded asset as the base instead; never both.
entity_idsNo
merge_biasNomerge only: 0 reference dominates - 100 base dominates. Default 50.
project_idYesProject for the result.
resolutionNo
blend_levelNoadd only: 0 raw composite - 100 fully unified. Default 50.
merge_scopeNomerge only. Default scene.
aspect_ratioNo
instructionsNoFree-text edit instructions.
reference_idNoAsset or generation to take the product/colors/style/content from.
generation_idNoThe base photo to edit (or asset_id).
style_intensityNostyle only: 0 subtle tint - 100 full reimagine. Default 75.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / items / description
      Previous value: -"Item names to target (from get_detections). Required for remove."New value: +"Items by name (every instance) or, remove only, by get_detections id (that one instance). Required for remove."
    • addedInput schema / properties / items / items / properties / id
      Added value: +{
      +  "type": "integer"
      +}
    • removedInput schema / properties / items / items / required
      Removed value: -[
      -  "name"
      -]
    • addedInput schema / properties / scan_id
      Added value: +{
      +  "description": "The scan_id item ids came from. Default newest.",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / asset_id
      Added value: +{
      +  "description": "An uploaded asset as the base instead; never both.",
      +  "type": "string"
      +}
    • changedInput schema / properties / generation_id / description
      Previous value: -"The base photo to edit."New value: +"The base photo to edit (or asset_id)."
    • changedInput schema / required
      Previous value: -[
      -  "generation_id",
      -  "project_id"
      -]New value: +[
      +  "project_id"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / entity_ids
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  4. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources