{
  "info": {
    "_postman_id": "9428b45a-cd88-466f-9af8-cf389023b481",
    "name": "Stability AI Stable Fast 3D 3D Generation Replace Background and Relight API",
    "description": "The Stability AI Stable Fast 3D API generates textured 3D mesh assets from single input images. The API rapidly produces 3D models suitable for use in games, augmented reality, virtual reality, and product visualization workflows. Developers can convert 2D images into fully textured 3D objects with UV-unwrapped meshes, enabling rapid prototyping and asset creation without manual 3D modeling.\n\nContact Support:\n Name: Stability AI Support",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:02:16.000Z",
    "updatedAt": "2026-07-28T03:02:16.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-9428b45a-cd88-466f-9af8-cf389023b481"
  },
  "item": [
    {
      "name": "v2beta",
      "item": [
        {
          "name": "stable-image",
          "item": [
            {
              "name": "edit",
              "item": [
                {
                  "name": "replace-background-and-relight",
                  "item": [
                    {
                      "name": "Replace background and adjust lighting",
                      "id": "705f6fc1-9b5d-43ae-ab9e-d68413436041",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "multipart/form-data"
                          },
                          {
                            "key": "Accept",
                            "value": "image/jpeg"
                          }
                        ],
                        "body": {
                          "mode": "formdata",
                          "formdata": [
                            {
                              "description": "(Required) The source image whose background will be replaced.",
                              "key": "image",
                              "type": "file",
                              "value": null
                            },
                            {
                              "description": "Text describing the new background scene and lighting conditions.",
                              "key": "background_prompt",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "Text describing any adjustments to the foreground subject.",
                              "key": "foreground_prompt",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "Text describing elements to exclude from the result.",
                              "key": "negative_prompt",
                              "value": "<string>",
                              "type": "text"
                            },
                            {
                              "description": "A value to control randomness in generation.",
                              "key": "seed",
                              "value": "0",
                              "type": "text"
                            },
                            {
                              "description": "The output format of the edited image. (This can only be one of jpeg,png,webp)",
                              "key": "output_format",
                              "value": "png",
                              "type": "text"
                            }
                          ]
                        },
                        "url": {
                          "raw": "{{baseUrl}}/v2beta/stable-image/edit/replace-background-and-relight",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "v2beta",
                            "stable-image",
                            "edit",
                            "replace-background-and-relight"
                          ]
                        },
                        "description": "Replaces the background of an image with new content described by a text prompt and adjusts lighting conditions to match the new scene. The foreground subject is preserved while the background is regenerated."
                      },
                      "response": [
                        {
                          "id": "90432ef6-e505-4e1f-b65e-32a4f448799e",
                          "name": "Successfully replaced background and adjusted lighting",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "image/jpeg"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The source image whose background will be replaced.",
                                  "key": "image",
                                  "type": "file"
                                },
                                {
                                  "description": "Text describing the new background scene and lighting conditions.",
                                  "key": "background_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing any adjustments to the foreground subject.",
                                  "key": "foreground_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing elements to exclude from the result.",
                                  "key": "negative_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A value to control randomness in generation.",
                                  "key": "seed",
                                  "value": "0",
                                  "type": "text"
                                },
                                {
                                  "description": "The output format of the edited image. (This can only be one of jpeg,png,webp)",
                                  "key": "output_format",
                                  "value": "png",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2beta/stable-image/edit/replace-background-and-relight",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2beta",
                                "stable-image",
                                "edit",
                                "replace-background-and-relight"
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"image\": \"<string>\",\n  \"finish_reason\": \"SUCCESS\",\n  \"seed\": \"<integer>\"\n}",
                          "createdAt": "2026-07-28T03:02:17.000Z",
                          "updatedAt": "2026-07-28T03:02:17.000Z",
                          "uid": "35240-90432ef6-e505-4e1f-b65e-32a4f448799e"
                        },
                        {
                          "id": "f5ef266b-2b00-4e92-a53e-fb8bbaf9eb38",
                          "name": "Bad request due to invalid parameters",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The source image whose background will be replaced.",
                                  "key": "image",
                                  "type": "file"
                                },
                                {
                                  "description": "Text describing the new background scene and lighting conditions.",
                                  "key": "background_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing any adjustments to the foreground subject.",
                                  "key": "foreground_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing elements to exclude from the result.",
                                  "key": "negative_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A value to control randomness in generation.",
                                  "key": "seed",
                                  "value": "0",
                                  "type": "text"
                                },
                                {
                                  "description": "The output format of the edited image. (This can only be one of jpeg,png,webp)",
                                  "key": "output_format",
                                  "value": "png",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2beta/stable-image/edit/replace-background-and-relight",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2beta",
                                "stable-image",
                                "edit",
                                "replace-background-and-relight"
                              ]
                            }
                          },
                          "status": "Bad Request",
                          "code": 400,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T03:02:17.000Z",
                          "updatedAt": "2026-07-28T03:02:17.000Z",
                          "uid": "35240-f5ef266b-2b00-4e92-a53e-fb8bbaf9eb38"
                        },
                        {
                          "id": "565b5b19-5dbe-44d8-9cfb-8406e5c9d8c8",
                          "name": "Unauthorized due to missing or invalid API key",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The source image whose background will be replaced.",
                                  "key": "image",
                                  "type": "file"
                                },
                                {
                                  "description": "Text describing the new background scene and lighting conditions.",
                                  "key": "background_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing any adjustments to the foreground subject.",
                                  "key": "foreground_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing elements to exclude from the result.",
                                  "key": "negative_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A value to control randomness in generation.",
                                  "key": "seed",
                                  "value": "0",
                                  "type": "text"
                                },
                                {
                                  "description": "The output format of the edited image. (This can only be one of jpeg,png,webp)",
                                  "key": "output_format",
                                  "value": "png",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2beta/stable-image/edit/replace-background-and-relight",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2beta",
                                "stable-image",
                                "edit",
                                "replace-background-and-relight"
                              ]
                            }
                          },
                          "status": "Unauthorized",
                          "code": 401,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T03:02:17.000Z",
                          "updatedAt": "2026-07-28T03:02:17.000Z",
                          "uid": "35240-565b5b19-5dbe-44d8-9cfb-8406e5c9d8c8"
                        },
                        {
                          "id": "b30d85da-a6a9-45b1-9030-72dd2df01c48",
                          "name": "Forbidden due to content moderation or insufficient permissions",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The source image whose background will be replaced.",
                                  "key": "image",
                                  "type": "file"
                                },
                                {
                                  "description": "Text describing the new background scene and lighting conditions.",
                                  "key": "background_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing any adjustments to the foreground subject.",
                                  "key": "foreground_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing elements to exclude from the result.",
                                  "key": "negative_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A value to control randomness in generation.",
                                  "key": "seed",
                                  "value": "0",
                                  "type": "text"
                                },
                                {
                                  "description": "The output format of the edited image. (This can only be one of jpeg,png,webp)",
                                  "key": "output_format",
                                  "value": "png",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2beta/stable-image/edit/replace-background-and-relight",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2beta",
                                "stable-image",
                                "edit",
                                "replace-background-and-relight"
                              ]
                            }
                          },
                          "status": "Forbidden",
                          "code": 403,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T03:02:17.000Z",
                          "updatedAt": "2026-07-28T03:02:17.000Z",
                          "uid": "35240-b30d85da-a6a9-45b1-9030-72dd2df01c48"
                        },
                        {
                          "id": "0d5a3255-5fe7-401b-b225-b86583466b38",
                          "name": "Rate limit exceeded",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "multipart/form-data"
                              },
                              {
                                "key": "Accept",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "formdata",
                              "formdata": [
                                {
                                  "description": "(Required) The source image whose background will be replaced.",
                                  "key": "image",
                                  "type": "file"
                                },
                                {
                                  "description": "Text describing the new background scene and lighting conditions.",
                                  "key": "background_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing any adjustments to the foreground subject.",
                                  "key": "foreground_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "Text describing elements to exclude from the result.",
                                  "key": "negative_prompt",
                                  "value": "<string>",
                                  "type": "text"
                                },
                                {
                                  "description": "A value to control randomness in generation.",
                                  "key": "seed",
                                  "value": "0",
                                  "type": "text"
                                },
                                {
                                  "description": "The output format of the edited image. (This can only be one of jpeg,png,webp)",
                                  "key": "output_format",
                                  "value": "png",
                                  "type": "text"
                                }
                              ]
                            },
                            "url": {
                              "raw": "{{baseUrl}}/v2beta/stable-image/edit/replace-background-and-relight",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "v2beta",
                                "stable-image",
                                "edit",
                                "replace-background-and-relight"
                              ]
                            }
                          },
                          "status": "Too Many Requests",
                          "code": 429,
                          "_postman_previewlanguage": "json",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "application/json"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"id\": \"<string>\",\n  \"name\": \"<string>\",\n  \"message\": \"<string>\"\n}",
                          "createdAt": "2026-07-28T03:02:17.000Z",
                          "updatedAt": "2026-07-28T03:02:17.000Z",
                          "uid": "35240-0d5a3255-5fe7-401b-b225-b86583466b38"
                        }
                      ],
                      "createdAt": "2026-07-28T03:02:17.000Z",
                      "updatedAt": "2026-07-28T03:02:17.000Z",
                      "uid": "35240-705f6fc1-9b5d-43ae-ab9e-d68413436041"
                    }
                  ],
                  "id": "1587de23-9032-442e-a1b6-469ed419932c",
                  "createdAt": "2026-07-28T03:02:17.000Z",
                  "updatedAt": "2026-07-28T03:02:17.000Z",
                  "uid": "35240-1587de23-9032-442e-a1b6-469ed419932c"
                }
              ],
              "id": "e7073d96-037a-4db2-8b16-3d19e6ed08fd",
              "createdAt": "2026-07-28T03:02:17.000Z",
              "updatedAt": "2026-07-28T03:02:17.000Z",
              "uid": "35240-e7073d96-037a-4db2-8b16-3d19e6ed08fd"
            }
          ],
          "id": "39e7e5b1-cecb-4d31-b8db-1e4370833dd0",
          "createdAt": "2026-07-28T03:02:17.000Z",
          "updatedAt": "2026-07-28T03:02:17.000Z",
          "uid": "35240-39e7e5b1-cecb-4d31-b8db-1e4370833dd0"
        }
      ],
      "id": "f475111a-afee-4c13-938c-c8e478f1f849",
      "createdAt": "2026-07-28T03:02:17.000Z",
      "updatedAt": "2026-07-28T03:02:17.000Z",
      "uid": "35240-f475111a-afee-4c13-938c-c8e478f1f849"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.stability.ai"
    }
  ]
}