An API key from Settings → API keys in Arcade Studio.
Body
application/json
requestId
string
required
An ID you choose for this request, up to 128 characters. Retrying with the same requestId and body returns the original result.
Required string length: 1 - 128
patternId
string
required
The pattern to refine; not a jewelry product image
Minimum string length: 1
colors
object[]
required
One entry for every cluster that recolorClusters returned. At least one color must differ from the cluster's current color.
Minimum array length: 1
Show child attributes
clusterCount
integer
Most colors to detect; values above 16 detect 16. Omit to let the service choose; recolor must repeat the value
Required range: 1 <= x <= 20
Response
200 - application/json
OK
jobId
string
required
The job's ID. Pass it to jobs/get.
Minimum string length: 1
kind
enum<string>
required
What the job makes. pattern: started by patterns/create or a refine that returns a job. product: started by products/create or products/generate. download: started by an upscale in Arcade Studio.
Available options:
pattern,
product,
download
status
enum<string>
required
A job starts as running and ends as succeeded or failed.
Available options:
running,
succeeded,
failed
result
object
required
What the job made, once it succeeded. Null while the job is running and when it failed. Also null on a succeeded job when a deformity fix found nothing to repair, or when the pattern has since been deleted.
Option 1
Option 2
Option 3
Show child attributes
error
object | null
required
Why the job failed. Null unless the job failed.
Show child attributes
createdAt
string<date-time>
required
When the job started. For a product whose build was not recorded, when the product was created.
completedAt
string<date-time> | null
required
When the job finished. Null while the job is running, and for a failed product job.
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Arcade API","colors":{"primary":"#0F0F0F","light":"#FCFAF8","dark":"#0F0F0F"},"logo":{"light":"https://mintcdn.com/arcade-api-staging/TymqwsOJ6F6zsQGq/logo/light.svg?fit=max\u0026auto=format\u0026n=TymqwsOJ6F6zsQGq\u0026q=85\u0026s=f56cca41c089db0dc9ea9352c335b179","dark":"https://mintcdn.com/arcade-api-staging/TymqwsOJ6F6zsQGq/logo/dark.svg?fit=max\u0026auto=format\u0026n=TymqwsOJ6F6zsQGq\u0026q=85\u0026s=e866650ab815a44526db46c9cd8479f3","href":"https://arcade.ai"},"favicon":"https://mintcdn.com/arcade-api-staging/TymqwsOJ6F6zsQGq/favicon.ico?fit=max\u0026auto=format\u0026n=TymqwsOJ6F6zsQGq\u0026q=85\u0026s=59c373c7620bb7a0fa807bc1330bdab4","api":{"playground":{"display":"interactive","proxy":true},"examples":{"languages":["curl","javascript","python"]}},"navbar":{"primary":{"type":"button","label":"Get an API key","href":"https://staging-studio.arcade.ai/settings/api-keys"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"arcade-api-staging","hasAudioNarration":false,"actualSubdomain":"arcade-api-staging","customDomains":["staging-docs.arcade.ai"],"gitSource":{"type":"github","owner":"arcade-ai","repo":"monorepo","deployBranch":"docs-staging","contentDirectory":"apps/api-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b05df856b199d6420f520a7","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"API reference","count":36},{"language":"default","tag":"Refine","count":9},{"language":"default","tag":"Concepts","count":6},{"language":"default","tag":"Patterns","count":5},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Guides","count":4},{"language":"default","tag":"Pricing","count":4},{"language":"default","tag":"Products","count":4},{"language":"default","tag":"References","count":4},{"language":"default","tag":"Checkouts","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/refine/recolor-a-pattern","slug":"/api-reference/refine/recolor-a-pattern","pageMetadata":{"title":"Recolor a pattern","description":"Starts a job that replaces a pattern's dominant colors.","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/recolor","href":"/api-reference/refine/recolor-a-pattern","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Starts a job that replaces a pattern’s dominant colors.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Recolor a pattern","description":"Starts a job that replaces a pattern's dominant colors.","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/recolor","href":"/api-reference/refine/recolor-a-pattern","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"patterns.refine.recolor","summary":"Recolor a pattern","description":"Starts a job that replaces a pattern's dominant colors.","tags":["Refine"],"requestBody":"1bf7a96b-9add-4c17-ae64-a5d6d4fa2757","responses":{"200":"ed7e4633-2a52-4a18-aea5-785475a6041a"},"method":"post","type":"path","servers":["9cb66f25-4d14-40cc-9262-106f6541d6be"],"security":["ca1e2de4-1bdc-4732-8d3d-8819485c1a25"],"path":"/patterns/refine/recolor","baseUrlOptions":["https://staging-platform.arcade.ai/v1"],"title":"Recolor a pattern","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128,"description":"An ID you choose for this request, up to 128 characters. Retrying with the same `requestId` and body returns the original result.","isRequired":true,"uniqueKey":"requestId","typeLabel":"string"},"patternId":{"type":"string","minLength":1,"description":"The pattern to refine; not a jewelry product image","isRequired":true,"uniqueKey":"patternId","typeLabel":"string"},"colors":{"type":"array","minItems":1,"items":{"type":"object","properties":{"clusterId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"colors.items.[INDEX].clusterId","typeLabel":"string"},"color":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","description":"#RRGGBB","isRequired":true,"uniqueKey":"colors.items.[INDEX].color","typeLabel":"string"}},"required":["clusterId","color"],"uniqueKey":"colors.items.[INDEX]","typeLabel":"object"},"description":"One entry for every cluster that `recolorClusters` returned. At least one color must differ from the cluster's current color.","isRequired":true,"uniqueKey":"colors","typeLabel":"object[]"},"clusterCount":{"type":"integer","minimum":1,"maximum":20,"description":"Most colors to detect; values above 16 detect 16. Omit to let the service choose; recolor must repeat the value","uniqueKey":"clusterCount","typeLabel":"integer"}},"required":["requestId","patternId","colors"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"requestId":"\u003cstring>","patternId":"\u003cstring>","colors":[{"clusterId":"\u003cstring>","color":"\u003cstring>"}],"clusterCount":10}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"ed7e4633-2a52-4a18-aea5-785475a6041a":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"jobId":{"type":"string","minLength":1,"description":"The job's ID. Pass it to `jobs/get`.","isRequired":true,"uniqueKey":"jobId","typeLabel":"string"},"kind":{"enum":["pattern","product","download"],"type":"string","description":"What the job makes. `pattern`: started by `patterns/create` or a refine that returns a job. `product`: started by `products/create` or `products/generate`. `download`: started by an upscale in Arcade Studio.","isRequired":true,"uniqueKey":"kind","typeLabel":"enum\u003cstring>"},"status":{"enum":["running","succeeded","failed"],"type":"string","description":"A job starts as `running` and ends as `succeeded` or `failed`.","isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"result":{"oneOf":[{"type":"object","description":"What the job made, once it succeeded. Null while the job is running and when it failed. Also null on a succeeded job when a deformity fix found nothing to repair, or when the pattern has since been deleted.","required":["patternId"],"properties":{"patternId":{"type":"string","minLength":1,"description":"Opaque ID of one pattern: an immutable image. A refine makes a new pattern.","isRequired":true,"uniqueKey":"result.oneOf.0.patternId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"result.oneOf.0","typeLabel":"object"},{"type":"object","description":"What the job made, once it succeeded. Null while the job is running and when it failed. Also null on a succeeded job when a deformity fix found nothing to repair, or when the pattern has since been deleted.","required":["productId"],"properties":{"productId":{"type":"string","minLength":1,"description":"Opaque product ID","isRequired":true,"uniqueKey":"result.oneOf.1.productId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"result.oneOf.1","typeLabel":"object"},{"type":"object","description":"What the job made, once it succeeded. Null while the job is running and when it failed. Also null on a succeeded job when a deformity fix found nothing to repair, or when the pattern has since been deleted.","required":["downloadUrl","expiresAt"],"properties":{"downloadUrl":{"type":"string","format":"uri","description":"Short-lived; read the job again to renew","isRequired":true,"uniqueKey":"result.oneOf.2.downloadUrl","typeLabel":"string\u003curi>"},"expiresAt":{"type":"string","format":"date-time","description":"The URL works at least until this time","isRequired":true,"uniqueKey":"result.oneOf.2.expiresAt","typeLabel":"string\u003cdate-time>"}},"isRequired":true,"uniqueKey":"result.oneOf.2","typeLabel":"object"},{"type":"null","description":"What the job made, once it succeeded. Null while the job is running and when it failed. Also null on a succeeded job when a deformity fix found nothing to repair, or when the pattern has since been deleted.","isRequired":true,"uniqueKey":"result.oneOf.3","typeLabel":"null"}],"isRequired":true,"uniqueKey":"result","typeLabel":"object · object · object · null"},"error":{"oneOf":[{"type":"object","description":"Why the job failed. Null unless the job failed.","required":["message"],"properties":{"message":{"type":"string","description":"What went wrong.","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"reason":{"const":"insufficient_credits","description":"Present when the job failed because the account ran out of credits. Add credits or a plan, then send the request again with a new `requestId`.","uniqueKey":"error.oneOf.0.reason","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Why the job failed. Null unless the job failed.","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"},"createdAt":{"type":"string","format":"date-time","description":"When the job started. For a product whose build was not recorded, when the product was created.","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"completedAt":{"oneOf":[{"type":"string","description":"When the job finished. Null while the job is running, and for a failed product job.","format":"date-time","isRequired":true,"uniqueKey":"completedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When the job finished. Null while the job is running, and for a failed product job.","isRequired":true,"uniqueKey":"completedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"completedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["jobId","kind","status","result","error","createdAt","completedAt"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"jobId":"\u003cstring>","kind":"pattern","status":"running","result":{"patternId":"\u003cstring>"},"error":{"message":"\u003cstring>","reason":"insufficient_credits"},"createdAt":"2023-11-07T05:31:56Z","completedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"ca1e2de4-1bdc-4732-8d3d-8819485c1a25":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key from Settings → API keys in Arcade Studio.","scopes":[],"schemeName":"apiKey"}}},"servers":{"9cb66f25-4d14-40cc-9262-106f6541d6be":{"url":"https://staging-platform.arcade.ai/v1","description":"Staging"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key from Settings → API keys in Arcade Studio.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from Settings → API keys in Arcade Studio.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"arcade-api-staging","siteName":"Arcade API","title":"Recolor a pattern - Arcade API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-24T19:03:48.750Z","originalFileLocation":"api-reference/refine/recolor-a-pattern.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Starts a job that replaces a pattern\u0026#x27;s dominant colors.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Arcade API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Recolor a pattern - Arcade API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Starts a job that replaces a pattern\u0026#x27;s dominant colors.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Arcade API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://arcade-api-staging.mintlify.site/_mintlify/api/og/v2?division=Refine\u0026amp;title=Recolor+a+pattern\u0026amp;description=Starts+a+job+that+replaces+a+pattern%27s+dominant+colors.\u0026amp;theme=fb93686b1c68cfb47dfad33f\u0026amp;signature=84e039c2f7bcef56502a68057d7bf6c35c47f34b8c96536ff4d72667d33a2182\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Recolor a pattern - Arcade API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Starts a job that replaces a pattern\u0026#x27;s dominant colors.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://arcade-api-staging.mintlify.site/_mintlify/api/og/v2?division=Refine\u0026amp;title=Recolor+a+pattern\u0026amp;description=Starts+a+job+that+replaces+a+pattern%27s+dominant+colors.\u0026amp;theme=fb93686b1c68cfb47dfad33f\u0026amp;signature=84e039c2f7bcef56502a68057d7bf6c35c47f34b8c96536ff4d72667d33a2182\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/arcade-api-staging/BYfVuMpqAyPN46pE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Arcade API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F0F0F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/refine/recolor-a-pattern.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://staging-docs.arcade.ai/#organization\",\"name\":\"Arcade API\",\"url\":\"https://staging-docs.arcade.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/arcade-api-staging/TymqwsOJ6F6zsQGq/logo/light.svg?fit=max\u0026auto=format\u0026n=TymqwsOJ6F6zsQGq\u0026q=85\u0026s=f56cca41c089db0dc9ea9352c335b179\"}},{\"@type\":\"WebSite\",\"@id\":\"https://staging-docs.arcade.ai#website\",\"name\":\"Arcade API\",\"url\":\"https://staging-docs.arcade.ai\",\"publisher\":{\"@id\":\"https://staging-docs.arcade.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern#webpage\",\"url\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern\",\"name\":\"Recolor a pattern\",\"description\":\"Starts a job that replaces a pattern's dominant colors.\",\"dateModified\":\"2026-11-24T19:03:48.750Z\",\"isPartOf\":{\"@id\":\"https://staging-docs.arcade.ai#website\"},\"breadcrumb\":{\"@id\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API reference\",\"item\":\"https://staging-docs.arcade.ai/api-reference/patterns/create-a-pattern\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Refine\",\"item\":\"https://staging-docs.arcade.ai/api-reference/refine/edit-a-pattern\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Recolor a pattern\",\"item\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern#apireference\",\"headline\":\"Recolor a pattern\",\"name\":\"Recolor a pattern\",\"description\":\"Starts a job that replaces a pattern's dominant colors.\",\"url\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern\",\"mainEntityOfPage\":{\"@id\":\"https://staging-docs.arcade.ai/api-reference/refine/recolor-a-pattern#webpage\"},\"dateModified\":\"2026-11-24T19:03:48.750Z\",\"publisher\":{\"@id\":\"https://staging-docs.arcade.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://staging-docs.arcade.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Arcade API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Arcade API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/refine/recolor-a-pattern.md","siteName":"Arcade API","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/index"},{"title":"Print quickstart","href":"/quickstart"},{"title":"Jewelry quickstart","href":"/jewelry-quickstart"},{"title":"Use with an AI agent","href":"/agents"}]},{"group":"Guides","pages":[{"title":"Uploads","href":"/uploads"},{"title":"Dropshipping","href":"/dropshipping"},{"title":"Seller pricing","href":"/seller-pricing"},{"title":"Webhooks","href":"/webhooks"}]},{"group":"Concepts","pages":[{"title":"Authentication","href":"/authentication"},{"title":"Idempotency","href":"/idempotency"},{"title":"Jobs","href":"/jobs"},{"title":"Pagination","href":"/pagination"},{"title":"Errors","href":"/errors"},{"title":"Changelog","href":"/changelog"}]},{"group":"API reference","pages":[{"group":"Patterns","pages":[{"title":"Create a pattern","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/create","href":"/api-reference/patterns/create-a-pattern"},{"title":"Create a pattern upload URL","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/createUpload","href":"/api-reference/patterns/create-a-pattern-upload-url"},{"title":"Upload a pattern","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/upload","href":"/api-reference/patterns/upload-a-pattern"},{"title":"Retrieve a pattern","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/get","href":"/api-reference/patterns/retrieve-a-pattern"},{"title":"List patterns","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/list","href":"/api-reference/patterns/list-patterns"}]},{"group":"Refine","pages":[{"title":"Edit a pattern","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/edit","href":"/api-reference/refine/edit-a-pattern"},{"title":"Edit a region","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/editRegion","href":"/api-reference/refine/edit-a-region"},{"title":"Retrieve color clusters","description":"Lists a pattern's main colors as clusters. Send each cluster to `recolor` with the color you want. Returns the clusters directly, not a job.","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/recolorClusters","href":"/api-reference/refine/retrieve-color-clusters"},{"title":"Recolor a pattern","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/recolor","href":"/api-reference/refine/recolor-a-pattern"},{"title":"Crop a pattern","description":"Starts a job that crops a pattern to a rectangle.","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/crop","href":"/api-reference/refine/crop-a-pattern"},{"title":"Make a pattern seamless","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/makeSeamless","href":"/api-reference/refine/make-a-pattern-seamless"},{"title":"Extend a pattern","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/extendPattern","href":"/api-reference/refine/extend-a-pattern"},{"title":"Extend a scene","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/extendScene","href":"/api-reference/refine/extend-a-scene"},{"title":"Fix deformities","deprecated":null,"version":null,"openapi":"/openapi.json post /patterns/refine/fixDeformity","href":"/api-reference/refine/fix-deformities"}]},{"group":"Jobs","pages":[{"title":"Retrieve a job","deprecated":null,"version":null,"openapi":"/openapi.json post /jobs/get","href":"/api-reference/jobs/retrieve-a-job"}]},{"group":"References","pages":[{"title":"Create an upload URL","deprecated":null,"version":null,"openapi":"/openapi.json post /references/createUpload","href":"/api-reference/references/create-an-upload-url"},{"title":"Create a reference","deprecated":null,"version":null,"openapi":"/openapi.json post /references/create","href":"/api-reference/references/create-a-reference"},{"title":"Retrieve a reference","deprecated":null,"version":null,"openapi":"/openapi.json post /references/get","href":"/api-reference/references/retrieve-a-reference"},{"title":"List references","deprecated":null,"version":null,"openapi":"/openapi.json post /references/list","href":"/api-reference/references/list-references"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json post /models/list","href":"/api-reference/models/list-models"}]},{"group":"Categories","pages":[{"title":"List categories","deprecated":null,"version":null,"openapi":"/openapi.json post /categories/list","href":"/api-reference/categories/list-categories"},{"title":"Retrieve a category","deprecated":null,"version":null,"openapi":"/openapi.json post /categories/get","href":"/api-reference/categories/retrieve-a-category"}]},{"group":"Products","pages":[{"title":"Create a product","deprecated":null,"version":null,"openapi":"/openapi.json post /products/create","href":"/api-reference/products/create-a-product"},{"title":"Generate a product","deprecated":null,"version":null,"openapi":"/openapi.json post /products/generate","href":"/api-reference/products/generate-a-product"},{"title":"Retrieve a product","deprecated":null,"version":null,"openapi":"/openapi.json post /products/get","href":"/api-reference/products/retrieve-a-product"},{"title":"List products","deprecated":null,"version":null,"openapi":"/openapi.json post /products/list","href":"/api-reference/products/list-products"}]},{"group":"Pricing","pages":[{"title":"Preview a seller pricing rule","deprecated":null,"version":null,"openapi":"/openapi.json post /pricing/previewRule","href":"/api-reference/pricing/preview-a-seller-pricing-rule"},{"title":"Set a seller pricing rule","deprecated":null,"version":null,"openapi":"/openapi.json post /pricing/setRule","href":"/api-reference/pricing/set-a-seller-pricing-rule"},{"title":"Clear a seller pricing rule","deprecated":null,"version":null,"openapi":"/openapi.json post /pricing/clearRule","href":"/api-reference/pricing/clear-a-seller-pricing-rule"},{"title":"List seller pricing rules","deprecated":null,"version":null,"openapi":"/openapi.json post /pricing/listRules","href":"/api-reference/pricing/list-seller-pricing-rules"}]},{"group":"Checkouts","pages":[{"title":"Quote dropshipping credits","deprecated":null,"version":null,"openapi":"/openapi.json post /checkouts/quoteDropshipping","href":"/api-reference/checkouts/quote-dropshipping-credits"},{"title":"Cancel an unpaid dropshipping checkout","deprecated":null,"version":null,"openapi":"/openapi.json post /checkouts/cancel","href":"/api-reference/checkouts/cancel-an-unpaid-dropshipping-checkout"},{"title":"Create a checkout","deprecated":null,"version":null,"openapi":"/openapi.json post /checkouts/create","href":"/api-reference/checkouts/create-a-checkout"}]},{"group":"Orders","pages":[{"title":"Retrieve an order","deprecated":null,"version":null,"openapi":"/openapi.json post /orders/get","href":"/api-reference/orders/retrieve-an-order"},{"title":"List orders","deprecated":null,"version":null,"openapi":"/openapi.json post /orders/list","href":"/api-reference/orders/list-orders"}]},{"group":"Feedback","pages":[{"title":"Send feedback","deprecated":null,"version":null,"openapi":"/openapi.json post /feedback/create","href":"/api-reference/feedback/send-feedback"}]}]}]},"basePath":"","title":"Recolor a pattern - Arcade API","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","CodeSnippet-BBA8eWiP.js","SectionHeading-AR_EzDYe.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","getApiPlaygroundDisplay-DMK5GRGS.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}