apimcpimages
Image operations
Six ways to transform an image you already have, each an asyncPOST that
submits a job plus a GET that polls it.POST /images/img2img·GET /images/img2img/{img2img_id}— transform 1–14 source images with a prompt.POST /images/variations·GET /images/variations/{variation_id}— creative variations of one image, targeted at the whole frame, a person, an object, or the scene.POST /images/resizes·GET /images/resizes/{resize_id}— change aspect ratio by outpainting rather than cropping.POST /images/upscales·GET /images/upscales/{upscale_id}— upscale to a higher resolution across four models.POST /images/background-removals·GET /images/background-removals/{background_removal_id}— cut the background to a transparent PNG.POST /images/vectorizations·GET /images/vectorizations/{vectorization_id}— trace an image to SVG.
images.transform. Img2img runs under the existing
images.edit. Existing keys created with all scopes already carry it; a
narrowed key needs the scope added in Settings → API Keys.Also in MCP. The same six operations are available as the img2img,
create_variations, resize_image, upscale_image, remove_background, and
vectorize_image tools.Pricing. Background removal costs 1 credit and vectorization 5, both 0 on a
cache hit for a source already processed. The rest bill at 5 × resolution × outputs; upscale bills by target tier times a per-model multiplier. Image Operations ·
Pricingcontent-verification
Hosted image watermark decode
The content verification API now decodes both image watermark techniques itself, rather than reporting them as unchecked.- TrustMark Q — the legacy corpus, covering images marked while TrustMark was the embed vendor. This lane stays available for that corpus permanently.
- Meta PixelSeal — the current image watermark carried by newly generated Samsa images.
detected verdict still comes from
C2PA manifest verification, which is authoritative. Video watermark decode
(Meta Video Seal) is not yet available and is reported as not_checked — a
technique that was never evaluated, never a false negative. Content verificationcontent-verification
Content verification API
A free, unauthenticated API for checking whether an image or video was made with Samsa — Samsa’s public detection mechanism under Article 50(2) of the EU AI Act. It has its own base URL, takes no API key, and spends no credits.POST /v1/public/detect— check one uploaded image or video.GET /v1/public/detect/info— machine-readable description of each marking technique and how to detect it.GET /v1/public/detect/result/{request_id}— signed PDF of a past result.GET /v1/public/detect/health— service status and version.
mcp
Trained models by name, palettes, and inline previews
Three changes that make the MCP tools easier to drive from a conversation, where a model’s name is at hand but its id is not.- Names resolve like ids.
style_id,object_ids,person_ids, andsetting_idsaccept a trained model’s name or id; a name resolves to a model visible to the connected credential. color_palette— a new parameter ongenerate_imageandedit_image, also given as a name or an id.edit_imagereached parity withgenerate_image, accepting all four trained-model reference parameters so an edit stays on-brand.get_job_statusreturns a preview. A completed raster image job now carries a downscaled inline image alongside the link to the full-resolution asset, so clients can render the result directly. Vectorization returns SVG and has no raster preview.
apimcplaunch
The Samsa public API and MCP server
The first public release. Samsa’s image and video studio — and your organization’s trained models — over a REST API and a remote MCP server.- Images —
POST /images/generationsandPOST /images/edits, composing your organization’s trained style, object, person, and setting models. - Video —
POST /videos/generationsfrom a start frame, from text, or from text styled with your models, plusGET /videos/modelsfor the engine list. - Model training —
POST /models,POST /models/prepare,POST /models/{model_id}/complete, andGET /models/{model_id}/status. - Models — list, retrieve, update, and delete at
/models. - Account —
GET /me,GET /credits, andGET /usage.
webhook_url to be notified on completion instead of
polling. Callbacks are signed, and failures retry at 5s, 30s, 2m, 15m, and 1h.MCP server. A remote Streamable-HTTP server at https://api.samsa.ai/mcp,
taking either OAuth 2.1 for interactive clients such as Claude and ChatGPT or an
API key for headless ones. Samsa API · Quickstart ·
MCP server
