Ghost mannequin API
Ghost mannequin API for clothing photos
Send a garment photographed on a person, a mannequin, a hanger or a bed, get back the clean invisible-mannequin shot: the garment on its own with the shape it has when worn and the inside of the back neckline showing.
Test keys are free and need no pack.
- From a model, mannequin, hanger or flat photo.
- Hollow 3D shape with the inside of the neckline.
- A background of your choice in a few words.


{
"background": "light grey studio"
}One request
Every request is asynchronous: the request returns a job in about two seconds, the images follow in 20 to 90 seconds by webhook or by polling.
curl https://api.garmo.studio/v1/edit/ghost-mannequin \
-H "Authorization: Bearer $GARMO_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"image_url": "https://shop.example/products/oxford-shirt-4.jpg",
"background": "light grey studio"
}'const r = await fetch("https://api.garmo.studio/v1/edit/ghost-mannequin", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.GARMO_API_KEY}`,
"Idempotency-Key": "order-123-ghost-mannequin",
"Content-Type": "application/json",
},
body: JSON.stringify({"image_url": "https://shop.example/products/oxford-shirt-4.jpg", "background": "light grey studio"}),
});
const job = await r.json();
console.log(job.id, job.status);import os, requests
r = requests.post(
"https://api.garmo.studio/v1/edit/ghost-mannequin",
headers={"Authorization": f"Bearer {os.environ['GARMO_API_KEY']}", "Idempotency-Key": "order-123-ghost-mannequin"},
json={
"image_url": "https://shop.example/products/oxford-shirt-4.jpg",
"background": "light grey studio",
},
)
job = r.json()
print(job["id"], job["status"])<?php
$ch = curl_init("https://api.garmo.studio/v1/edit/ghost-mannequin");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(["image_url" => "https://shop.example/products/oxford-shirt-4.jpg", "background" => "light grey studio"]),
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("GARMO_API_KEY"), "Idempotency-Key: order-123-ghost-mannequin", "Content-Type: application/json"],
]);
$job = json_decode(curl_exec($ch), true);
echo $job["id"], " ", $job["status"];require "net/http"
require "json"
uri = URI("https://api.garmo.studio/v1/edit/ghost-mannequin")
req = Net::HTTP::Post.new(uri)
req["Authorization"] = "Bearer #{ENV.fetch("GARMO_API_KEY")}"
req["Idempotency-Key"] = "order-123-ghost-mannequin"
req["Content-Type"] = "application/json"
req.body = <<~'JSON'
{
"image_url": "https://shop.example/products/oxford-shirt-4.jpg",
"background": "light grey studio"
}
JSON
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }
job = JSON.parse(res.body)
puts job["id"], job["status"]package main
import (
"fmt"
"io"
"net/http"
"os"
"strings"
)
func main() {
body := strings.NewReader(`{
"image_url": "https://shop.example/products/oxford-shirt-4.jpg",
"background": "light grey studio"
}`)
req, _ := http.NewRequest("POST", "https://api.garmo.studio/v1/edit/ghost-mannequin", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("GARMO_API_KEY"))
req.Header.Set("Idempotency-Key", "order-123-ghost-mannequin")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
out, _ := io.ReadAll(res.Body)
fmt.Println(res.Status, string(out))
}import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Garmo {
public static void main(String[] args) throws Exception {
String body = """
{
"image_url": "https://shop.example/products/oxford-shirt-4.jpg",
"background": "light grey studio"
}
""";
HttpRequest req = HttpRequest.newBuilder(URI.create("https://api.garmo.studio/v1/edit/ghost-mannequin"))
.header("Authorization", "Bearer " + System.getenv("GARMO_API_KEY"))
.header("Idempotency-Key", "order-123-ghost-mannequin")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> res = HttpClient.newHttpClient().send(req, HttpResponse.BodyHandlers.ofString());
System.out.println(res.statusCode() + " " + res.body());
}
}{
"id": "job_8Kq2xV7mPz4LtR9wNc3B",
"object": "job",
"tool": "ghost-mannequin",
"status": "completed",
"livemode": true,
"outputs": [
{
"id": "out_1",
"status": "succeeded",
"label": "light grey studio",
"url": "https://….r2.cloudflarestorage.com/renders/2026/11/8f3c…0.webp?X-Amz-Signature=…",
"url_expires_at": "2026-11-20T14:00:00Z"
}
],
"credits_charged": 1,
"credits_refunded": 0,
"metadata": {
"sku": "DR-123"
},
"created_at": "2026-11-19T14:02:11Z",
"completed_at": "2026-11-19T14:02:58Z"
}Parameters
background | The background in a few words (up to 200 characters); a clean light studio background when empty. |
Cost
1 credit
1 API credit = 1 image. Failed and canceled images are refunded automatically.
API pricingWhat people build with it
Apparel catalogs
The standard e-commerce look for every top, dress and jacket.
Marketplace listings
The garment alone, where a marketplace asks for no person in the photo.
Skip the second shoot
No mannequin, no compositing of front and back shots.
Questions, answered.
What developers ask before connecting Garmo to a shop or a workflow.
Still stuck? Email usDoes it keep the details?
It is told to reproduce the garment exactly: color, fabric, texture, print, logo, buttons, zips and stitching, without adding or removing any detail. Always check the result before it goes live.
What background do I get?
A clean, light studio background, or the one you describe in background, like "pure white".
What does it cost?
One credit per photo.
Other edits in the API
POST /generateClothes color changer APIEvery colorway from one photo, to the exact hex.POST /edit/colorPose changer APIThe back view and the walking shot from one photo.POST /edit/poseModel swap APIThe same outfit and pose on another model.POST /edit/model-swapBackground changer APIKeep the subject, change the place, match the light.POST /edit/backgroundBackground remover APICut out products onto transparent, white or a brand color.POST /edit/remove-backgroundImage upscaler API2K or 4K product photos with real material detail.POST /edit/upscaleGet an API key
Test keys are free and need no pack.




