Update the AI image-edit configuration
PATCH /admin/system/aiedit
Names the operator-registered MCP server (see /admin/ai/mcp-clients) the aiedit dispatcher routes calls to. The named server must already be registered + enabled + have the “img2img” tool whitelisted before the runtime endpoint will succeed.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”AI image-edit subsystem configuration. One field today; the typed surface (per-op MCP server overrides, default workflow selection, …) may expand later.
object
Name of an operator-registered MCP server (see /admin/ai/mcp-clients) the aiedit dispatcher routes image-edit calls to. Must match a row in mcp_server_registration.name exactly. Empty = feature disabled (viewer hides the Generate variation button + the runtime endpoint returns 409).
Responses
Section titled “ Responses ”Updated image-edit config
AI image-edit subsystem configuration. One field today; the typed surface (per-op MCP server overrides, default workflow selection, …) may expand later.
object
Name of an operator-registered MCP server (see /admin/ai/mcp-clients) the aiedit dispatcher routes image-edit calls to. Must match a row in mcp_server_registration.name exactly. Empty = feature disabled (viewer hides the Generate variation button + the runtime endpoint returns 409).
Malformed request
object
Human-readable error summary
Example
the request could not be completedAuthentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completed