local.palette.extract

Availability: Local CLI and local MCP (stdio), in the local toolkit. Customers can't use the hosted connection or the local toolkit yet: the hosted connection (OAuth sign-in, and the API and MCP at /api/agent/v1) isn't deployed, and the local toolkit isn't distributed. Don't try to connect or run these operations for a customer, and don't ask them to install anything. Read and explain these pages, and help the person use https://www.pixie.codes in their browser.

Extract ranked dark and light colour candidates from a complete original static PNG, with exact byte provenance and no project change.

Inputs

The complete request schema is this operation's entry in capabilities.json (CLI) or mcp-capabilities.json (MCP) in the current release; list it from local.capabilities before calling.

Recovery

Read LOCAL-PALETTE-EXTRACTION.md or pixie-local://docs/palette-extraction. Supply original PNG bytes and SHA-256; at most 1 MiB, 2048 pixels per side and 2 megapixels. The shared Create ranking uses the full decoded RGBA8 image here; browser Canvas resizing may differ. Empty categories stay empty. Retain original and receipt and choose colours explicitly. Appearance version 2 fieldTheme:"palette-light" may apply an approved light endpoint to generated Creative space and source-declared text fields, requiring complete source, native background basis and contextual mode. It does not recolour legacy text fields, original art or literal greys. Use text preparation version 2 for new declared fields. Render/review/reopen/export separately; no automatic application, network, reconstruction or scan/POS qualification.

All operations · Documentation index · Current manifest