Change Style API - KitchenGPT Change Style — KitchenGPT Developers - KitchenGPT

Change Style

Restyle a kitchen photo while preserving layout and camera angle.

Module id: change-style · Asynchronous job

Endpoint

POST https://kitchengpt.io/v1/modules/change-style

Request parameters

NameTypeRequiredDescription
imagefileyesKitchen photo (JPEG, PNG, or WebP), max 10 MB.
stylestringyesTarget style key (see GET /v1/styles).
promptstringnoOptional guidance for the restyle.

Example

curl -X POST "https://kitchengpt.io/v1/modules/change-style" \
  -H "Authorization: Bearer kgpt_..." \
  -H "Accept: application/json" \
  -F "image=@file.jpg" \
  -F "style=value" \
  -F "prompt=value"

Response

HTTP/1.1 202 Accepted
{
  "job": {
    "id": "…",
    "module": "change-style",
    "status": "queued"
  },
  "links": {
    "self": "https://kitchengpt.io/v1/jobs/…"
  }
}

Poll GET https://kitchengpt.io/v1/jobs/{id} until succeeded or failed.

Notes

  • Images must be JPEG, PNG, or WebP, max 10 MB.
  • Inputs must depict a kitchen. Other room types are not supported.
  • Do not rely on pixel-perfect color matching for manufacturing without your own QA.