The type of the skill. Use 'skill_reference' for DB-stored skills referenced by id/name. Use 'inline' to provide the skill as a base64-encoded zip bundle.
How to pass video to the captioning model: 'frames' extracts N JPEG frames per segment, 'native_video' sends the mp4 clip directly via video_url for models with native video understanding. Defaults to 'native_video' for Qwen deployment models, 'frames' for others.
When True, transcribe the audio track to align segment boundaries. When False (default), skip ASR and use fixed-duration video segments only (visual-only captioning).
Reuse cached representations of document/video content across calls. When True (default), the file is cached after the first call so repeated queries against the same file skip re-transmitting its contents. Set to False to always send the full content.
Delivery tier for the request. 'standard'/'default' uses baseline rates, 'flex' applies a 50% discount with higher latency, 'priority' applies a 1.8x premium. When omitted (or 'auto'), the server default ('standard') applies. The chosen tier drives both billing and the latency/availability SLO.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"VLM Run","description":"One API key for every visual model. Send a document or an image, get JSON back.","colors":{"primary":"#1F5ACA","light":"#4D8BFF","dark":"#102A56"},"logo":{"light":"https://mintcdn.com/autonomiai/0Yrk6nqaa_NlkPay/assets/logo/vlm-run-icon.svg?fit=max\u0026auto=format\u0026n=0Yrk6nqaa_NlkPay\u0026q=85\u0026s=fbea8392452b746e14273d7670a4f535","dark":"https://mintcdn.com/autonomiai/0Yrk6nqaa_NlkPay/assets/logo/vlm-run-icon-white.svg?fit=max\u0026auto=format\u0026n=0Yrk6nqaa_NlkPay\u0026q=85\u0026s=e58c8973ce1978adf1ce6359665a916a"},"favicon":"https://mintcdn.com/autonomiai/0Yrk6nqaa_NlkPay/assets/logo/vlm-run-icon.svg?fit=max\u0026auto=format\u0026n=0Yrk6nqaa_NlkPay\u0026q=85\u0026s=fbea8392452b746e14273d7670a4f535","api":{"openapi":["https://api.vlm.run/openapi.json","https://gateway.vlm.run/openapi.json"],"params":{"expanded":"all"},"playground":{"display":"simple"},"examples":{"languages":["python","javascript","ruby","curl"]}},"appearance":{"default":"light","strict":true},"background":{"color":{"light":"#FAFCFE","dark":"#010917"}},"navbar":{"links":[{"href":"mailto:support@vlm.run","label":"Contact"},{"href":"https://github.com/vlm-run/vlmrun-hub","label":"Hub"},{"href":"https://github.com/vlm-run/vlmrun-cookbook","label":"Cookbooks"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.vlm.run"}},"footer":{"socials":{"x":"https://x.com/vlmrun","github":"https://github.com/vlm-run/vlm-cookbook","linkedin":"https://www.linkedin.com/company/vlm-run"}},"seo":{"metatags":{"og:type":"website","og:site_name":"VLM Run","twitter:card":"summary_large_image","twitter:site":"@vlmrun"}},"fonts":{"heading":{"family":"Aeonik Pro","weight":400,"source":"fonts/AeonikPro-Regular.woff2","format":"woff2"},"body":{"family":"Aeonik Pro","weight":400,"source":"fonts/AeonikPro-Regular.woff2","format":"woff2"}},"styling":{"codeblocks":{"theme":{"light":"github-light","dark":"dark-plus"}},"latex":false},"integrations":{"ga4":{"measurementId":"G-DKFNLZ8F83"}},"thumbnails":{"appearance":"dark","background":"https://mintcdn.com/autonomiai/0lq3Q9EPRCLt1zej/images/og-background.png?fit=max\u0026auto=format\u0026n=0lq3Q9EPRCLt1zej\u0026q=85\u0026s=010b9a1e01253f5f9d02474d89f85294"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"autonomiai","hasAudioNarration":false,"actualSubdomain":"autonomiai","customDomains":["docs.vlm.run"],"gitSource":{"type":"github","owner":"vlm-run","repo":"docs","deployBranch":"release","contentDirectory":"public","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae527e6b168bb44afff4ac6","collectionId":"5bbd88eb-4bdf-4d40-a73e-f5754174231a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae527e6b168bb44afff4ac6"},"entitlements":{},"buildId":"6ae527e6b168bb44afff4ac6","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Orion","count":42},{"language":"default","tag":"Developers","count":35},{"language":"default","tag":"Gateway","count":28},{"language":"default","tag":"API reference","count":24},{"language":"default","tag":"SDKs","count":24},{"language":"default","tag":"Orion API","count":15},{"language":"default","tag":"Skills","count":14},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Python","count":12},{"language":"default","tag":"Node.js","count":12}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"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":"llms-txt-v2","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":"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":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 400;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 500;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 600;\n font-display: swap;\n src: url(/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--vlm-primary:#1F5ACA;--vlm-primary-hover:#1848A2;--vlm-primary-vivid:#1265FF;--vlm-primary-mid:#1F5ACA;--vlm-primary-dark:#1848A2;--vlm-primary-light:#4D8BFF;--vlm-primary-border:#234D9F;--vlm-primary-tint:#E0EAFA;--vlm-primary-badge:#EEF2F9;--vlm-navy:#102A56;--vlm-navy-dark:#010917;--vlm-navy-mid:#102255;--vlm-muted:#576782;--vlm-surface:#FAFCFE;--vlm-border:#E1ECFA;--vlm-dark-border:#182231;--vlm-toc-active:#274275;--vlm-cap-blue:rgb(100, 151, 246);--vlm-cap-green:rgb(185, 246, 100);--vlm-cap-purple:rgb(177, 118, 255);--vlm-shadow-btn:rgba(0, 0, 0, 0.20) 0px -2px 0px 0px inset,\n rgba(0, 0, 0, 0.20) 0px 1px 2px 0px;--vlm-docs-version:\"Docs updated 2026-08-15\"}body{color:var(--vlm-navy);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1,h2,h3,h4,h5,h6{color:var(--vlm-navy);letter-spacing:0}#content>h2{margin-top:3rem;margin-bottom:1.5rem}#content>h3{margin-top:2.25rem;margin-bottom:1rem}#content>h4{margin-top:1.75rem;margin-bottom:.75rem}#content>:is(h2, h3, h4):first-child{margin-top:0}#content>:is(h2, h3, h4)+[data-table-wrapper] table,#content>:is(h2, h3, h4)+table{margin-top:0}#content [data-table-wrapper=true]{margin-top:0;padding-top:0}#content [data-table-wrapper=true] table{margin-top:0}#content input.fold-rows{position:absolute;width:1px;height:1px;margin:0;opacity:0;pointer-events:none}#content input.fold-rows:not(:checked)+[data-table-wrapper=true] tbody tr:nth-child(n+7){display:none}#content input.fold-rows:not(:checked)+[data-table-wrapper=true]{position:relative}#content input.fold-rows:not(:checked)+[data-table-wrapper=true]::after{content:\"\";position:absolute;left:0;right:0;bottom:0;height:2.75rem;background:linear-gradient(to bottom,transparent,#fff);pointer-events:none}#content label.fold-rows-label{display:flex;justify-content:center;margin-top:.25rem;margin-bottom:1.5rem;font-size:.75rem;font-weight:500;color:var(--vlm-muted);cursor:pointer}#content input.fold-rows:checked+[data-table-wrapper=true]+label.fold-rows-label .when-closed,#content input.fold-rows:not(:checked)+[data-table-wrapper=true]+label.fold-rows-label .when-open{display:none}#content [data-component-part=tabs-list]{margin-top:1.75rem!important;gap:1.75rem!important}#content [data-component-part=tab-button]{padding-top:.85rem!important;padding-bottom:.7rem!important;border-bottom-width:2px!important;color:var(--vlm-muted)!important;font-size:1rem!important;font-weight:500!important;line-height:1.5rem!important}#content [data-component-part=tab-button]:hover{color:var(--vlm-navy)!important}#content [data-component-part=tab-button][data-active=true]{color:var(--vlm-navy)!important;border-bottom-color:var(--vlm-navy)!important}li,p{color:var(--vlm-muted);letter-spacing:-.01em}#navigation-items .sidebar-group-header,#navigation-items .sidebar-group-header .sidebar-title{font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--vlm-muted)}a{color:var(--vlm-primary);transition:color 200ms ease-out,opacity 200ms ease-out}a:hover{color:var(--vlm-primary-hover)}.prose a,article a{text-decoration-color:color-mix(in srgb,var(--vlm-primary) 35%,transparent);text-underline-offset:3px;transition:text-decoration-color 200ms ease-out,color 200ms ease-out}.prose a:hover,article a:hover{text-decoration-color:var(--vlm-primary)}#navbar a[href=\"https://app.vlm.run\"],.navbar a[href=\"https://app.vlm.run\"],header a[href=\"https://app.vlm.run\"]{border-radius:20px!important;border:1px solid var(--vlm-primary-border)!important;background-color:var(--vlm-primary-mid)!important;color:#fff!important;box-shadow:var(--vlm-shadow-btn);transition:transform 300ms ease-out,box-shadow 300ms ease-out,background-color 300ms ease-out,opacity 300ms ease-out}#navbar a[href=\"https://app.vlm.run\"]:hover,.navbar a[href=\"https://app.vlm.run\"]:hover,header a[href=\"https://app.vlm.run\"]:hover{transform:translateY(-1px);background-color:var(--vlm-primary-dark)!important;opacity:.95}#navigation-items a,#sidebar a,nav[aria-label=Sidebar] a{color:var(--vlm-navy)}#navigation-items a:hover,#sidebar a:hover,nav[aria-label=Sidebar] a:hover{color:var(--vlm-primary)}#navigation-items a[aria-current=page],#navigation-items a[data-active=true],#sidebar a[aria-current=page],#sidebar a[data-active=true],nav[aria-label=Sidebar] a[aria-current=page]{color:var(--vlm-primary)!important;font-weight:500}#navigation-items li li>a,#navigation-items li li>button,#navigation-items li li>div>a,#navigation-items li li>div>button{padding-left:2.5rem!important}#navigation-items li li li>a,#navigation-items li li li>button,#navigation-items li li li>div>a,#navigation-items li li li>div>button{padding-left:3.5rem!important}#content-side-layout:has(#table-of-contents){width:max-content!important;max-width:13rem!important;margin-left:0!important;margin-right:.75rem!important;padding-right:0!important;align-items:flex-end!important;flex:0 0 auto!important;box-sizing:border-box!important}@media (min-width:1280px){#content-area{width:auto!important;max-width:none!important;flex:1 1 auto!important;margin-left:0!important;margin-right:0!important;padding-left:2rem!important;padding-right:2rem!important}#content,#content-area:has(#content)>header{width:100%;max-width:48rem;margin-left:auto!important;margin-right:auto!important}}#table-of-contents-layout{margin-left:auto!important;padding-left:0!important;padding-right:0!important}#table-of-contents,#table-of-contents-layout{width:max-content!important;max-width:13rem!important}#content-side-layout:has(#table-of-contents) h2{font-family:'Aeonik Pro',ui-sans-serif,system-ui,sans-serif!important;font-size:.8125rem!important;line-height:1.25rem!important;font-weight:500!important;letter-spacing:.01em!important;color:var(--vlm-muted)!important}#table-of-contents a,#table-of-contents-content a{font-size:.8125rem!important;line-height:1.25rem!important;color:var(--vlm-muted)!important}#content-area{width:auto!important;max-width:none!important}#content{max-width:48rem}#content li{text-wrap:pretty}#table-of-contents a[aria-current=location],#table-of-contents a[aria-current=true],#table-of-contents a[data-active=true],#toc a[aria-current=location],#toc a[aria-current=true],#toc a[data-active=true],nav[aria-label=\"On this page\"] a[aria-current=location],nav[aria-label=\"On this page\"] a[aria-current=true],nav[aria-label=\"On this page\"] a[data-active=true]{color:var(--vlm-toc-active)!important;font-weight:500;box-shadow:none!important;border:0!important;padding-left:0!important}.card,[class*=card][role=link],a.card{background-color:#fff;border:1px solid var(--vlm-border);border-radius:12px;transition:transform 300ms ease-out,border-color 300ms ease-out,box-shadow 300ms ease-out}.card:hover,[class*=card][role=link]:hover,a.card:hover{transform:translateY(-1px);border-color:var(--vlm-primary);box-shadow:0 4px 12px -4px color-mix(in srgb,var(--vlm-primary) 20%,transparent)}.card-demo{color:var(--vlm-primary-mid);background-color:var(--vlm-primary-tint);border-color:var(--vlm-primary-tint)}.callout-info,[role=note][data-type=info],[role=note][data-type=note]{background-color:var(--vlm-primary-badge);border-color:var(--vlm-border);color:var(--vlm-navy)}.callout-tip,[role=note][data-type=tip]{background-color:color-mix(in srgb,var(--vlm-cap-green) 18%,white);border-color:color-mix(in srgb,var(--vlm-cap-green) 45%,white);color:var(--vlm-navy)}[class*=code-block] pre,pre{border:0;border-radius:0;background:0 0}:not(pre)>code{background-color:#f0f2f5;color:var(--vlm-navy);padding:.05rem .15rem;border-radius:4px;font-size:.875em}#content a code,#header a code{color:inherit}#header .eyebrow{display:none}#content>:is(h2, h3, h4)+[data-table-wrapper]{margin-top:0!important;padding-top:0!important}table,thead th{color:var(--vlm-navy)}table{width:100%;margin:1.5rem 0;border:1px solid var(--vlm-border)!important;border-radius:6px;border-collapse:separate!important;border-spacing:0!important;background-color:#fff;font-size:.875rem}thead th{background-color:var(--vlm-surface);border:0!important;border-bottom:1px solid var(--vlm-border)!important;padding:.7rem 1rem!important;font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;vertical-align:middle}thead th .unit-help{display:inline-flex;align-items:center;justify-content:center;width:.875rem;height:.875rem;margin-left:.35rem;border:1px solid var(--vlm-border);border-radius:999px;background:#fff;color:var(--vlm-muted);font-family:'Aeonik Pro',ui-sans-serif,system-ui,sans-serif;font-size:.625rem;font-weight:600;letter-spacing:0;text-transform:none;line-height:1;text-decoration:none;vertical-align:1px;cursor:help}thead th button:has(.unit-help){display:inline-flex;align-items:center;margin:0;padding:0;border:0;background:0 0;color:inherit;font:inherit;letter-spacing:0;text-transform:none;vertical-align:middle;cursor:help}thead tr:first-child th:first-child{border-top-left-radius:6px}thead tr:first-child th:last-child{border-top-right-radius:6px}tbody tr:last-child td:first-child{border-bottom-left-radius:6px}tbody tr:last-child td:last-child{border-bottom-right-radius:6px}tbody td,thead tr+tr th{border-bottom:1px solid var(--vlm-border)!important}thead tr+tr th{padding-top:.5rem!important;padding-bottom:.75rem!important;font-size:10.5px}td[align=left],thead th[align=left]{text-align:left}td[align=center],thead th[align=center]{text-align:center}td[align=right],thead th[align=right]{text-align:right}thead th code{background:0 0!important;color:var(--vlm-navy)!important;padding:0!important;font-size:inherit!important;letter-spacing:.12em!important;text-transform:uppercase!important}tbody tr{background-color:#fff}tbody td{border:0!important;padding:.7rem 1rem!important;vertical-align:middle;color:var(--vlm-navy);line-height:1.55}tbody td:has(br),tbody td:has(p),tbody td:has(ul){vertical-align:top}tbody td ul{margin:0;padding-left:1.25rem}tbody td li+li{margin-top:.35em}tbody td li kbd{font-family:'Geist Mono',ui-monospace,monospace;font-weight:600;font-size:.8125rem;line-height:1.3;letter-spacing:-.01em;color:var(--vlm-navy);background:0 0;border:1px solid var(--vlm-border);padding:.05rem .3rem;margin:0;border-radius:3px;white-space:nowrap;box-shadow:none!important;text-shadow:none;filter:none;-webkit-box-shadow:none!important}table code{white-space:nowrap;font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px;font-weight:500}tbody tr:last-child td{border-bottom:0!important}tbody td:first-child,thead th:first-child{padding-left:1.125rem!important}tbody td:last-child,thead th:last-child{padding-right:1.125rem!important}.rotated-row-headers tbody td:first-child,.rotated-row-headers thead th:first-child{padding-left:.5rem!important;padding-right:.5rem!important}.rotated-row-headers tbody td:first-child{border-right:1px solid var(--vlm-border)!important}tbody td:first-child,tbody td[rowspan]+td{font-weight:500;color:var(--vlm-navy)}tbody td[align=center],tbody td[align=right]{font-weight:500;color:var(--vlm-navy)}tbody td code{background:0 0!important;color:inherit!important;padding:0!important;font-size:inherit!important;border-radius:0!important;font-weight:inherit!important}.accordion table,[data-accordion-content] table{margin:.75rem 0;font-size:.8125rem}.accordion tbody td,.accordion thead th,[data-accordion-content] tbody td,[data-accordion-content] thead th{padding:.75rem 1rem!important}.accordion tbody td:first-child,.accordion thead th:first-child,[data-accordion-content] tbody td:first-child,[data-accordion-content] thead th:first-child{padding-left:1.25rem!important}.accordion tbody td:last-child,.accordion thead th:last-child,[data-accordion-content] tbody td:last-child,[data-accordion-content] thead th:last-child{padding-right:1.25rem!important}.gateway-models-catalog table{table-layout:fixed;width:100%;font-size:.8125rem}.gateway-models-catalog thead th{padding:.5rem .625rem!important;font-size:10px;letter-spacing:.08em;line-height:1.35;white-space:normal;vertical-align:bottom}.gateway-models-catalog tbody td{padding:.5rem .625rem!important;font-size:.8125rem;line-height:1.45;vertical-align:top}.gateway-models-catalog tbody td:first-child,.gateway-models-catalog thead th:first-child{width:26%;padding-left:.75rem!important;white-space:normal;word-break:break-word}.gateway-models-catalog tbody td:nth-child(2),.gateway-models-catalog thead th:nth-child(2){width:4.75rem;max-width:4.75rem;white-space:normal;word-break:break-word;hyphens:auto;text-align:center;font-size:.75rem;line-height:1.35}.gateway-models-catalog table code{white-space:normal;word-break:break-word;font-size:.75rem}.gateway-models-catalog tbody td:first-child a{word-break:break-word}.gateway-models-catalog tbody td:last-child,.gateway-models-catalog thead th:last-child{padding-right:.75rem!important}html.dark table{border-color:var(--vlm-dark-border)!important}html.dark table,html.dark tbody tr,html.dark thead tr,html.dark thead tr th{background-color:transparent}html.dark tbody td,html.dark thead th{color:inherit;border-color:var(--vlm-dark-border)!important}.integration-hero,.integration-hero-tile{border:1px solid var(--vlm-border);overflow:hidden;display:flex;align-items:center;justify-content:center}.integration-hero{width:100%;aspect-ratio:1024/500;background-image:url(/assets/blog-backdrop.png);background-size:cover;background-position:center;border-radius:8px;gap:4%;margin:1.5rem 0 2rem}.integration-hero-tile{width:17.6%;aspect-ratio:1/1;background-color:rgba(255,255,255,.96);border-radius:12px;box-shadow:0 1px 2px rgba(16,42,86,.04),0 4px 12px rgba(31,90,202,.05)}.integration-hero-tile img,.integration-hero-tile svg{display:block;width:60%;height:60%;max-width:60%;margin:0!important;object-fit:contain;object-position:center}.integration-hero-tile:has(img[alt=n8n]) img{width:90%;height:90%;max-width:90%}.integration-hero-tile:has(img[alt=Zapier]) img{width:56%;height:56%;max-width:56%}.integration-hero-tile:has(img[alt=MongoDB]) img{width:88%;height:88%;max-width:88%}.integration-hero-tile:has(img[alt=\"Voxel51 FiftyOne\"]) img{width:68%;height:68%;max-width:68%}.platform-figure{position:relative;border:1px solid var(--vlm-border);border-radius:8px;padding:3.5% 3% 56px;margin:1.5rem 0 2rem;overflow:hidden;background-color:#fff}.platform-card-grid .card img,.platform-card-grid [class*=card][role=link] img,.platform-figure::before{background-image:url(/images/platform-background.png);background-size:cover;background-position:center;background-repeat:no-repeat}.platform-figure::before{content:\"\";position:absolute;inset:0;opacity:.6;pointer-events:none;z-index:0}.platform-figure img,.platform-figure>*{position:relative;z-index:1}.platform-figure img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--vlm-border);box-shadow:0 1px 2px rgba(16,42,86,.1),0 12px 32px rgba(31,90,202,.14)}.platform-card-grid .card img,.platform-card-grid [class*=card][role=link] img{background-color:#fff;padding:14px;box-sizing:border-box;border-radius:10px 10px 0 0;border:1px solid var(--vlm-border);border-bottom:0;box-shadow:0 1px 2px rgba(16,42,86,.05)}.domain-column,.function-column{width:240px;display:inline-block}.allowed-inputs-column,.description-column{width:160px;display:inline-block}.description-column{width:100%}.tag{padding:2px 8px;border-radius:12px;font-size:.9em;font-weight:500;display:inline-block;margin-right:8px;margin-bottom:4px}.tag-document{background:color-mix(in srgb,var(--vlm-cap-green) 22%,white);color:#2f6b14}.tag-image{background:color-mix(in srgb,var(--vlm-cap-blue) 22%,white);color:var(--vlm-primary-dark)}.tag-video{background:color-mix(in srgb,var(--vlm-cap-purple) 22%,white);color:#5a2bb8}.tag-audio,.tag-url{background:var(--vlm-primary-badge);color:var(--vlm-primary-dark)}.tag-ref{background:color-mix(in srgb,var(--vlm-cap-purple) 14%,white);color:#5a2bb8}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.glass{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1)}.shadow-btn{box-shadow:var(--vlm-shadow-btn)}#footer{flex-wrap:wrap;row-gap:1.25rem}#footer::after{content:var(--vlm-docs-version, \"\");flex-basis:100%;order:99;font-family:'Geist Mono',ui-monospace,monospace;font-size:12px;letter-spacing:.02em;color:var(--vlm-muted)}.hero-video{display:block;width:100%;height:auto;border-radius:6px;background:var(--vlm-navy-dark)}p:has(>.changelog-tag:first-child),span:has(>.changelog-tag:first-child){padding-left:88px;text-indent:-88px}.changelog-tag{display:inline-block;box-sizing:border-box;width:76px;margin-right:8px;padding:1px 0;text-align:center;text-indent:0;border:1px solid var(--vlm-border);border-radius:4px;background:var(--vlm-primary-badge);color:var(--vlm-muted);font-family:'Geist Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:500;letter-spacing:.08em;line-height:1.5;text-transform:uppercase;vertical-align:1px}.support-dot{color:var(--vlm-primary-light)}html:not([data-legacy=\"1\"]) #navigation-items>div:has(a[href=\"/api-reference/structured-extraction\"]){display:none}"}],"page":{"pagePath":"api-reference/v1/post-image-generate","slug":"/api-reference/v1/post-image-generate","pageMetadata":{"title":"Image → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/image/generate","description":"Generate structured prediction for the given image.","href":"/api-reference/v1/post-image-generate"},"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: \"Generate structured prediction for the given image.\"\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{jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_components.p,{children:[`For all supported `,_jsx(_components.code,{children:`image`}),` domains, see the `,_jsx(_components.a,{href:`/hub#image-domains`,children:`Hub Catalog`}),`.`]})}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":{"codeStyling":{"theme":{"light":"github-light","dark":"dark-plus"}},"config":{},"pageMetadata":{"title":"Image → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/image/generate","description":"Generate structured prediction for the given image.","href":"/api-reference/v1/post-image-generate"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,RequestExample}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`For all supported `,_jsx(_components.code,{children:`image`}),` domains, see the `,_jsx(_components.a,{href:`/hub#image-domains`,children:`Hub Catalog`}),`.`]}),`\n`,_jsxs(RequestExample,{children:[_jsx(CodeBlock,{filename:`Python (with domain)`,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light dark-plus`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#24292e`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#D4D4D4`},children:` PIL`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` Image`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` vlmrun.client `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` VLMRun`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` VLMRun(`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:`api_key`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cVLMRUN_API_KEY>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` client.image.generate(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:` images`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`[Image.open(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cpath>.jpg\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:` domain`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cdomain>\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python (with skill)`,numberOfLines:`12`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light dark-plus`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#24292e`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#D4D4D4`},children:` PIL`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` Image`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` vlmrun.client `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` VLMRun`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` vlmrun.client.types `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` GenerationConfig, AgentSkill`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` VLMRun(`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:`api_key`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cVLMRUN_API_KEY>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` client.image.generate(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:` images`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`[Image.open(`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cpath>.jpg\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:` domain`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cdomain>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:` config`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`GenerationConfig(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:` skills`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`[AgentSkill(`}),_jsx(_components.span,{style:{color:`#E36209`,\"--shiki-dark\":`#9CDCFE`},children:`skill_name`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cskill-name>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js (with domain)`,numberOfLines:`10`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light dark-plus`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#24292e`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`VlmRun`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"vlmrun\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:` VlmRun`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`({`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cVLMRUN_API_KEY>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`});`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` fileResponse`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`files`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:`upload`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` filePath`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cpath>.jpg\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`image`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` fileId:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` fileResponse`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` domain:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cdomain>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node.js (with skill)`,numberOfLines:`12`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light dark-plus`,style:{backgroundColor:`#fff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#24292e`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`VlmRun`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"vlmrun\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` client`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:` VlmRun`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`({`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`apiKey:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cVLMRUN_API_KEY>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`});`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` fileResponse`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`files`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:`upload`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` filePath`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cpath>.jpg\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#005CC5`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#D73A49`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`image`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#6F42C1`,\"--shiki-dark\":`#DCDCAA`},children:`generate`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` fileId:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` fileResponse`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`id`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` config:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:` skills:`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` [{ `}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#9CDCFE`},children:`skillName:`}),_jsx(_components.span,{style:{color:`#032F62`,\"--shiki-dark\":`#CE9178`},children:` \"\u003cskill-name>\"`}),_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` }],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#24292E`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":{"theme":{"light":"github-light","dark":"dark-plus"}},"config":{},"pageMetadata":{"title":"Image → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/image/generate","description":"Generate structured prediction for the given image.","href":"/api-reference/v1/post-image-generate"}}}},"mdxExtracts":{"tableOfContents":[],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Python (with domain)","html":"\u003cpre class=\"shiki shiki-themes github-light dark-plus\" style=\"background-color:#fff;--shiki-dark-bg:#0B0C0E;color:#24292e;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"8\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#D4D4D4\"> PIL\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\"> import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> Image\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> vlmrun.client \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> VLMRun\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">client \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> VLMRun(\u003c/span>\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\">api_key\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;VLMRUN_API_KEY>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> client.image.generate(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\"> images\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">[Image.open(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;path>.jpg\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\"> domain\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;domain>\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Python (with skill)","html":"\u003cpre class=\"shiki shiki-themes github-light dark-plus\" style=\"background-color:#fff;--shiki-dark-bg:#0B0C0E;color:#24292e;--shiki-dark:#D4D4D4\" language=\"python\">\u003ccode language=\"python\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#D4D4D4\"> PIL\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\"> import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> Image\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> vlmrun.client \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> VLMRun\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> vlmrun.client.types \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> GenerationConfig, AgentSkill\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">client \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> VLMRun(\u003c/span>\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\">api_key\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;VLMRUN_API_KEY>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">response \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> client.image.generate(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\"> images\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">[Image.open(\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;path>.jpg\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\"> domain\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;domain>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\"> config\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">GenerationConfig(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\"> skills\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">[AgentSkill(\u003c/span>\u003cspan style=\"color:#E36209;--shiki-dark:#9CDCFE\">skill_name\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\">=\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;skill-name>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> )\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node.js (with domain)","html":"\u003cpre class=\"shiki shiki-themes github-light dark-plus\" style=\"background-color:#fff;--shiki-dark-bg:#0B0C0E;color:#24292e;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"10\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">VlmRun\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\"> \"vlmrun\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#4FC1FF\"> client\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#DCDCAA\"> VlmRun\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">({\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">apiKey:\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\"> \"\u0026#x3C;VLMRUN_API_KEY>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#4FC1FF\"> fileResponse\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">files\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#DCDCAA\">upload\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> filePath\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;path>.jpg\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">image\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#DCDCAA\">generate\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> fileId:\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> fileResponse\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">id\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> domain:\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\"> \"\u0026#x3C;domain>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"},{"filename":"Node.js (with skill)","html":"\u003cpre class=\"shiki shiki-themes github-light dark-plus\" style=\"background-color:#fff;--shiki-dark-bg:#0B0C0E;color:#24292e;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"12\">\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">VlmRun\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\"> \"vlmrun\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">;\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#4FC1FF\"> client\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\"> new\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#DCDCAA\"> VlmRun\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">({\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">apiKey:\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\"> \"\u0026#x3C;VLMRUN_API_KEY>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#4FC1FF\"> fileResponse\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">files\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#DCDCAA\">upload\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">(\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> filePath\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\">\"\u0026#x3C;path>.jpg\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">);\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D73A49;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#005CC5;--shiki-dark:#4FC1FF\"> response\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#D4D4D4\"> =\u003c/span>\u003cspan style=\"color:#D73A49;--shiki-dark:#C586C0\"> await\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> client\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">image\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#6F42C1;--shiki-dark:#DCDCAA\">generate\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">({\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> fileId:\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> fileResponse\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">id\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> config:\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\"> skills:\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> [{ \u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#9CDCFE\">skillName:\u003c/span>\u003cspan style=\"color:#032F62;--shiki-dark:#CE9178\"> \"\u0026#x3C;skill-name>\"\u003c/span>\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> }],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#24292E;--shiki-dark:#D4D4D4\">});\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/autonomiai/a2d609d7d372c9af/unifygtm.js","/_mintlify/custom/autonomiai/12b17cdd767d0ac7/legacy.js"],"openApiReferenceData":{"operation":{"tags":["image","image"],"summary":"Image Generate","description":"Generate structured prediction for the given image.","operationId":"image_generate_v1_image_generate_post","requestBody":"57f857cb-5a85-406c-87ab-585a62887b94","responses":{"201":"72f63430-12a3-41c6-a08e-f6c2537582fe","422":"f8b1d0ec-6c1b-4cee-b29d-62191fa9001a"},"security":["b1416001-4c18-45fb-b48d-927e95f08efe"],"method":"post","type":"path","servers":[],"path":"/v1/image/generate","baseUrlOptions":[],"title":"Image Generate","codeSamples":[],"requestExampleLanguages":["python","javascript","ruby","bash"],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light dark-plus","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#0B0C0E","color":"#24292e","--shiki-dark":"#D4D4D4"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"8","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#D4D4D4"},"children":" PIL"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":" import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" Image"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" vlmrun.client "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" VLMRun"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"client "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" VLMRun("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":"api_key"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cVLMRUN_API_KEY>\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"response "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" client.image.generate("}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":" images"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"[Image.open("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cpath>.jpg\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")],"}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":" domain"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cdomain>\""}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n"]}}}},"filename":"Python (with domain)"},{"dropdown":false,"language":"python","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light dark-plus","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#0B0C0E","color":"#24292e","--shiki-dark":"#D4D4D4"},"language":"python","children":{"type":"code","key":null,"ref":null,"props":{"language":"python","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#D4D4D4"},"children":" PIL"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":" import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" Image"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" vlmrun.client "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" VLMRun"}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" vlmrun.client.types "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" GenerationConfig, AgentSkill"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"client "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" VLMRun("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":"api_key"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cVLMRUN_API_KEY>\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")"}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"response "}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" client.image.generate("}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":" images"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"[Image.open("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cpath>.jpg\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")],"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":" domain"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cdomain>\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":" config"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"GenerationConfig("}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":" skills"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"[AgentSkill("}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#E36209","--shiki-dark":"#9CDCFE"},"children":"skill_name"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":"="}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cskill-name>\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")]"}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" )"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":")"}}}},"\n"]}}}},"filename":"Python (with skill)"},{"dropdown":false,"language":"typescript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light dark-plus","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#0B0C0E","color":"#24292e","--shiki-dark":"#D4D4D4"},"language":"typescript","children":{"type":"code","key":null,"ref":null,"props":{"language":"typescript","numberOfLines":"10","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"VlmRun"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" } "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":" \"vlmrun\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":";"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#4FC1FF"},"children":" client"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":" new"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#DCDCAA"},"children":" VlmRun"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"({"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"apiKey:"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":" \"\u003cVLMRUN_API_KEY>\""}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"});"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#4FC1FF"},"children":" fileResponse"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"files"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#DCDCAA"},"children":"upload"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"("}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" filePath"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cpath>.jpg\""}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":");"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#4FC1FF"},"children":" response"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"image"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#DCDCAA"},"children":"generate"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"({"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" fileId:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" fileResponse"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"id"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" domain:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":" \"\u003cdomain>\""}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"});"}}}},"\n"]}}}},"filename":"Node.js (with domain)"},{"dropdown":false,"language":"typescript","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light dark-plus","style":{"backgroundColor":"#fff","--shiki-dark-bg":"#0B0C0E","color":"#24292e","--shiki-dark":"#D4D4D4"},"language":"typescript","children":{"type":"code","key":null,"ref":null,"props":{"language":"typescript","numberOfLines":"12","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"import"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" { "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"VlmRun"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" } "}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":"from"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":" \"vlmrun\""}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":";"}}]}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":null}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#4FC1FF"},"children":" client"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":" new"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#DCDCAA"},"children":" VlmRun"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"({"}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"apiKey:"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":" \"\u003cVLMRUN_API_KEY>\""}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"});"}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#4FC1FF"},"children":" fileResponse"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"files"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#DCDCAA"},"children":"upload"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"("}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" filePath"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":"\"\u003cpath>.jpg\""}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":");"}}}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#569CD6"},"children":"const"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#005CC5","--shiki-dark":"#4FC1FF"},"children":" response"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#D4D4D4"},"children":" ="}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#D73A49","--shiki-dark":"#C586C0"},"children":" await"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" client"}},{"type":"span","key":"5","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"6","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"image"}},{"type":"span","key":"7","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"8","ref":null,"props":{"style":{"color":"#6F42C1","--shiki-dark":"#DCDCAA"},"children":"generate"}},{"type":"span","key":"9","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"({"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" fileId:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" fileResponse"}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"."}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"id"}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" config:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" {"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":" skills:"}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" [{ "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#9CDCFE"},"children":"skillName:"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#032F62","--shiki-dark":"#CE9178"},"children":" \"\u003cskill-name>\""}},{"type":"span","key":"4","ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" }],"}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#24292E","--shiki-dark":"#D4D4D4"},"children":"});"}}}},"\n"]}}}},"filename":"Node.js (with skill)"}],"requestExampleType":"mdx","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"properties":{"images":{"items":{"type":"string","uniqueKey":"images.items.[INDEX]","typeLabel":"string"},"type":"array","title":"Images","description":"List of base64 encoded images or URLs to the images.","isRequired":true,"uniqueKey":"images","typeLabel":"string[]"},"metadata":{"properties":{"environment":{"type":"string","enum":["dev","staging","prod"],"title":"Environment","description":"The environment where the request was made.","default":"dev","uniqueKey":"metadata.environment","typeLabel":"enum\u003cstring>"},"session_id":{"oneOf":[{"type":"string","title":"Session Id","description":"The session ID of the request","uniqueKey":"metadata.session_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Session Id","description":"The session ID of the request","uniqueKey":"metadata.session_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata.session_id","typeLabel":"string | null"},"allow_logging":{"type":"boolean","title":"Allow Logging","description":"Whether to enable logs for this request.","default":true,"uniqueKey":"metadata.allow_logging","typeLabel":"boolean"},"allow_training":{"type":"boolean","title":"Allow Training","description":"Whether the file can be used for training","default":true,"uniqueKey":"metadata.allow_training","typeLabel":"boolean"},"allow_retention":{"type":"boolean","title":"Allow Retention","description":"Whether to allow retention of the data","default":true,"uniqueKey":"metadata.allow_retention","typeLabel":"boolean"},"extra":{"additionalProperties":true,"type":"object","title":"Extra","description":"Extra metadata for the request (e.g. `dataset_id`, `subset_id`).","uniqueKey":"metadata.extra","typeLabel":"Extra · object"}},"type":"object","title":"RequestMetadata","description":"Optional metadata to pass to the model.","uniqueKey":"metadata","typeLabel":"RequestMetadata · object"},"config":{"properties":{"prompt":{"oneOf":[{"type":"string","title":"Prompt","description":"Additional user instructions appended to the application or skill prompt for this request.","uniqueKey":"config.prompt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Prompt","description":"Additional user instructions appended to the application or skill prompt for this request.","uniqueKey":"config.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.prompt","typeLabel":"string | null"},"detail":{"type":"string","enum":["auto","hi","lo"],"title":"Detail","description":"The detail level to use for processing multimodal data.","default":"auto","uniqueKey":"config.detail","typeLabel":"enum\u003cstring>"},"json_schema":{"oneOf":[{"type":"object","title":"Json Schema","description":"The overridden JSON schema to use for the model. To be used instead of the response model.","additionalProperties":true,"uniqueKey":"config.json_schema.oneOf.0","typeLabel":"Json Schema · object"},{"type":"null","title":"Json Schema","description":"The overridden JSON schema to use for the model. To be used instead of the response model.","uniqueKey":"config.json_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.json_schema","typeLabel":"Json Schema · object | null"},"skills":{"oneOf":[{"type":"array","items":{"properties":{"type":{"type":"string","title":"Type","description":"The type of the skill. Use 'skill_reference' for DB-stored skills referenced by id/name. Use 'inline' to provide the skill as a base64-encoded zip bundle.","default":"skill_reference","uniqueKey":"config.skills.oneOf.0.items.[INDEX].type","typeLabel":"string"},"skill_id":{"oneOf":[{"type":"string","title":"Skill Id","description":"The unique identifier of the skill — a UUID or a name string (e.g., 'pillow', 'batch-processing').","uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_id.oneOf.0","typeLabel":"string"},{"type":"null","title":"Skill Id","description":"The unique identifier of the skill — a UUID or a name string (e.g., 'pillow', 'batch-processing').","uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_id","typeLabel":"string | null"},"skill_name":{"oneOf":[{"type":"string","title":"Skill Name","description":"Human-readable skill name for lookup (e.g., 'invoice-extraction'). Alternative to skill_id. Deprecated in favour of skill_id.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Skill Name","description":"Human-readable skill name for lookup (e.g., 'invoice-extraction'). Alternative to skill_id. Deprecated in favour of skill_id.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_name","typeLabel":"string | null"},"skill_version":{"oneOf":[{"type":"integer","title":"Skill Version","description":"The version of the skill — an integer (e.g. 2) or 'latest'.","default":"latest","uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_version.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Skill Version","description":"The version of the skill — an integer (e.g. 2) or 'latest'.","default":"latest","uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_version.oneOf.1","typeLabel":"string"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].skill_version","typeLabel":"integer | string"},"version":{"oneOf":[{"type":"integer","title":"Version","description":"DEPRECATED: Use 'skill_version' instead. The version of the skill.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].version.oneOf.0","typeLabel":"integer"},{"type":"string","title":"Version","description":"DEPRECATED: Use 'skill_version' instead. The version of the skill.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].version.oneOf.1","typeLabel":"string"},{"type":"null","title":"Version","description":"DEPRECATED: Use 'skill_version' instead. The version of the skill.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].version.oneOf.2","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].version","typeLabel":"integer | string | null"},"name":{"oneOf":[{"type":"string","title":"Name","description":"Human-readable name for the inline skill (used for discovery and logging).","uniqueKey":"config.skills.oneOf.0.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Name","description":"Human-readable name for the inline skill (used for discovery and logging).","uniqueKey":"config.skills.oneOf.0.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].name","typeLabel":"string | null"},"description":{"oneOf":[{"type":"string","title":"Description","description":"Short description of what the inline skill does.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","title":"Description","description":"Short description of what the inline skill does.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].description","typeLabel":"string | null"},"source":{"oneOf":[{"type":"object","title":"InlineSkillSource","description":"Source payload for inline skills. Contains the base64-encoded zip bundle with type, media_type, and data fields.","required":["data"],"properties":{"data":{"type":"string","title":"Data","description":"Base64-encoded zip bundle containing the skill files.","isRequired":true,"uniqueKey":"config.skills.oneOf.0.items.[INDEX].source.oneOf.0.data","typeLabel":"string"},"type":{"type":"string","const":"base64","title":"Type","description":"Encoding type for the inline skill data. Currently only 'base64' is supported.","default":"base64","uniqueKey":"config.skills.oneOf.0.items.[INDEX].source.oneOf.0.type","typeLabel":"string"},"media_type":{"type":"string","title":"Media Type","description":"MIME type of the skill bundle. Must be 'application/zip'.","default":"application/zip","uniqueKey":"config.skills.oneOf.0.items.[INDEX].source.oneOf.0.media_type","typeLabel":"string"}},"uniqueKey":"config.skills.oneOf.0.items.[INDEX].source.oneOf.0","typeLabel":"InlineSkillSource · object"},{"type":"null","description":"Source payload for inline skills. Contains the base64-encoded zip bundle with type, media_type, and data fields.","uniqueKey":"config.skills.oneOf.0.items.[INDEX].source.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].source","typeLabel":"InlineSkillSource · object | null"},"bundle":{"oneOf":[{"type":"string","title":"Bundle","description":"DEPRECATED: Use 'source.data' instead. Base64-encoded zip bundle containing the skill files (inline skills only).","uniqueKey":"config.skills.oneOf.0.items.[INDEX].bundle.oneOf.0","typeLabel":"string"},{"type":"null","title":"Bundle","description":"DEPRECATED: Use 'source.data' instead. Base64-encoded zip bundle containing the skill files (inline skills only).","uniqueKey":"config.skills.oneOf.0.items.[INDEX].bundle.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills.oneOf.0.items.[INDEX].bundle","typeLabel":"string | null"}},"type":"object","title":"AgentSkill","description":"A modular capability that extends the agent's functionality.\n\nAgent Skills are reusable, filesystem-based resources that provide the agent\nwith domain-specific expertise: workflows, context, and best practices.\n\nEach skill packages instructions, metadata, and optional resources (scripts,\ntemplates, snippets) that the agent uses automatically when relevant.\n\nTwo modes are supported:\n\n1. **Referenced skills** (``type=\"skill_reference\"``) – Provide ``skill_id``\n (UUID or name) and optionally ``skill_version`` (integer or ``\"latest\"``).\n\n .. code-block:: json\n\n {\"type\": \"skill_reference\", \"skill_id\": \"pillow\", \"skill_version\": \"latest\"}\n\n2. **Inline skills** (``type=\"inline\"``) – Supply ``name``, ``description``,\n and a ``source`` object containing the base64-encoded zip bundle. The zip\n must contain exactly one ``SKILL.md`` file. No database lookup is required.\n\n .. code-block:: json\n\n {\n \"type\": \"inline\",\n \"name\": \"csv-insights\",\n \"description\": \"Summarize CSV files.\",\n \"source\": {\n \"type\": \"base64\",\n \"media_type\": \"application/zip\",\n \"data\": \"\u003cbase64-zip>\"\n }\n }\n\n Legacy format with flat ``bundle`` field is also accepted for backward\n compatibility.","uniqueKey":"config.skills.oneOf.0.items.[INDEX]","typeLabel":"AgentSkill · object"},"title":"Skills","description":"List of agent skills to enable for this generation request.","uniqueKey":"config.skills.oneOf.0","typeLabel":"AgentSkill · object[]"},{"type":"null","title":"Skills","description":"List of agent skills to enable for this generation request.","uniqueKey":"config.skills.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.skills","typeLabel":"AgentSkill · object[] | null"},"gql_stmt":{"oneOf":[{"type":"string","title":"Gql Stmt","description":"The GraphQL statement to use for the application. If provided, the response model will be generated from the GraphQL statement.","uniqueKey":"config.gql_stmt.oneOf.0","typeLabel":"string"},{"type":"null","title":"Gql Stmt","description":"The GraphQL statement to use for the application. If provided, the response model will be generated from the GraphQL statement.","uniqueKey":"config.gql_stmt.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.gql_stmt","typeLabel":"string | null"},"max_retries":{"type":"integer","title":"Max Retries","description":"The maximum number of retries to use for the application.","default":1,"uniqueKey":"config.max_retries","typeLabel":"integer"},"max_tokens":{"type":"integer","title":"Max Tokens","description":"The maximum number of tokens to use for the application.","default":65535,"uniqueKey":"config.max_tokens","typeLabel":"integer"},"temperature":{"type":"number","title":"Temperature","description":"The temperature to use for the application.","default":0,"uniqueKey":"config.temperature","typeLabel":"number"},"confidence":{"type":"boolean","title":"Confidence","description":"Include confidence scores in the response (included in the `_metadata` field).","default":false,"uniqueKey":"config.confidence","typeLabel":"boolean"},"grounding":{"type":"boolean","title":"Grounding","description":"Include grounding in the response (included in the `_metadata` field).","default":false,"uniqueKey":"config.grounding","typeLabel":"boolean"},"keyframes":{"type":"boolean","title":"Keyframes","description":"Include keyframes in the video transcription response.","default":false,"uniqueKey":"config.keyframes","typeLabel":"boolean"},"video_segment_duration":{"oneOf":[{"type":"number","title":"Video Segment Duration","description":"Duration in seconds for each video segment when chunking a video for transcription. Defaults to 150.0s.","minimum":1,"uniqueKey":"config.video_segment_duration.oneOf.0","typeLabel":"number"},{"type":"null","title":"Video Segment Duration","description":"Duration in seconds for each video segment when chunking a video for transcription. Defaults to 150.0s.","uniqueKey":"config.video_segment_duration.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.video_segment_duration","typeLabel":"number | null"},"video_frames_per_segment":{"oneOf":[{"type":"integer","title":"Video Frames Per Segment","description":"Number of frames to sample per video segment for captioning. Defaults to 8.","minimum":1,"uniqueKey":"config.video_frames_per_segment.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Video Frames Per Segment","description":"Number of frames to sample per video segment for captioning. Defaults to 8.","uniqueKey":"config.video_frames_per_segment.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.video_frames_per_segment","typeLabel":"integer | null"},"video_model":{"oneOf":[{"type":"string","title":"Video Model","description":"Model ID to use for video segment captioning (e.g. 'vlmrun-orion-1:fast'). When omitted, the server default is used.","uniqueKey":"config.video_model.oneOf.0","typeLabel":"string"},{"type":"null","title":"Video Model","description":"Model ID to use for video segment captioning (e.g. 'vlmrun-orion-1:fast'). When omitted, the server default is used.","uniqueKey":"config.video_model.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.video_model","typeLabel":"string | null"},"video_input_mode":{"oneOf":[{"type":"string","title":"Video Input Mode","description":"How to pass video to the captioning model: 'frames' extracts N JPEG frames per segment, 'native_video' sends the mp4 clip directly via video_url for models with native video understanding. Defaults to 'native_video' for Qwen deployment models, 'frames' for others.","enum":["frames","native_video"],"uniqueKey":"config.video_input_mode.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Video Input Mode","description":"How to pass video to the captioning model: 'frames' extracts N JPEG frames per segment, 'native_video' sends the mp4 clip directly via video_url for models with native video understanding. Defaults to 'native_video' for Qwen deployment models, 'frames' for others.","uniqueKey":"config.video_input_mode.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.video_input_mode","typeLabel":"enum\u003cstring> | null"},"video_transcribe_audio":{"type":"boolean","title":"Video Transcribe Audio","description":"When True, transcribe the audio track to align segment boundaries. When False (default), skip ASR and use fixed-duration video segments only (visual-only captioning).","default":false,"uniqueKey":"config.video_transcribe_audio","typeLabel":"boolean"},"chat_context":{"oneOf":[{"type":"string","title":"Chat Context","description":"Plain-text chat transcript (prior turns + current request) used to ground video captioning / transcription on what the user wants extracted.","uniqueKey":"config.chat_context.oneOf.0","typeLabel":"string"},{"type":"null","title":"Chat Context","description":"Plain-text chat transcript (prior turns + current request) used to ground video captioning / transcription on what the user wants extracted.","uniqueKey":"config.chat_context.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.chat_context","typeLabel":"string | null"},"page_indices":{"oneOf":[{"type":"array","items":{"type":"integer","uniqueKey":"config.page_indices.oneOf.0.items.[INDEX]","typeLabel":"integer"},"title":"Page Indices","description":"0-indexed page indices to process for document files. If None, all pages are processed.","uniqueKey":"config.page_indices.oneOf.0","typeLabel":"integer[]"},{"type":"null","title":"Page Indices","description":"0-indexed page indices to process for document files. If None, all pages are processed.","uniqueKey":"config.page_indices.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.page_indices","typeLabel":"integer[] | null"},"use_context_cache":{"type":"boolean","title":"Use Context Cache","description":"Reuse cached representations of document/video content across calls. When True (default), the file is cached after the first call so repeated queries against the same file skip re-transmitting its contents. Set to False to always send the full content.","default":true,"uniqueKey":"config.use_context_cache","typeLabel":"boolean"},"service_tier":{"oneOf":[{"type":"string","title":"Service Tier","description":"Delivery tier for the request. 'standard'/'default' uses baseline rates, 'flex' applies a 50% discount with higher latency, 'priority' applies a 1.8x premium. When omitted (or 'auto'), the server default ('standard') applies. The chosen tier drives both billing and the latency/availability SLO.","enum":["auto","default","standard","flex","priority"],"uniqueKey":"config.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Service Tier","description":"Delivery tier for the request. 'standard'/'default' uses baseline rates, 'flex' applies a 50% discount with higher latency, 'priority' applies a 1.8x premium. When omitted (or 'auto'), the server default ('standard') applies. The chosen tier drives both billing and the latency/availability SLO.","uniqueKey":"config.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"config.service_tier","typeLabel":"enum\u003cstring> | null"}},"type":"object","title":"GenerationConfig","description":"The VLM generation config to be used for /\u003cdtype>/generate.","uniqueKey":"config","typeLabel":"GenerationConfig · object"},"id":{"type":"string","title":"Id","description":"Unique identifier of the request.","uniqueKey":"id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date and time when the request was created (in UTC timezone)","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"callback_url":{"oneOf":[{"type":"string","title":"Callback Url","description":"The URL to call when the request is completed.","format":"uri","minLength":1,"uniqueKey":"callback_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","title":"Callback Url","description":"The URL to call when the request is completed.","uniqueKey":"callback_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"callback_url","typeLabel":"string\u003curi> | null"},"model":{"oneOf":[{"type":"string","title":"Model","description":"The model to use for generating the response.","default":"vlm-1","enum":["vlm-1","vlm-1:auto","vlm-1:fast","vlm-1:pro"],"uniqueKey":"model.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Model","description":"The model to use for generating the response.","default":"vlm-1","uniqueKey":"model.oneOf.1","typeLabel":"string"}],"uniqueKey":"model","typeLabel":"enum\u003cstring> | string"},"domain":{"oneOf":[{"type":"string","title":"Domain","description":"The domain identifier (e.g. `image.caption`). Optional when a skill is provided via config.skills.","enum":["aerospace.remote-sensing","document.invoice","document.markdown","document.receipt","document.resume","image.caption","image.object-detection","image.person-detection","retail.product-catalog"],"uniqueKey":"domain.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Domain","description":"The domain identifier (e.g. `image.caption`). Optional when a skill is provided via config.skills.","enum":["document.invoice","document.markdown","document.receipt","document.resume","document.us-drivers-license","document.layout-detection","construction.blueprint","healthcare.patient-referral","healthcare.patient-identification","healthcare.physician-order","healthcare.claims-processing","healthcare.phi-redaction","healthcare.phi-edit-replace","healthcare.lab-report","healthcare.prior-authorization-request","healthcare.explanation-of-benefits"],"uniqueKey":"domain.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"string","title":"Domain","description":"The domain identifier (e.g. `image.caption`). Optional when a skill is provided via config.skills.","uniqueKey":"domain.oneOf.2","typeLabel":"string"},{"type":"null","title":"Domain","description":"The domain identifier (e.g. `image.caption`). Optional when a skill is provided via config.skills.","uniqueKey":"domain.oneOf.3","typeLabel":"null"}],"uniqueKey":"domain","typeLabel":"enum\u003cstring> · enum\u003cstring> · string · null"},"batch":{"type":"boolean","title":"Batch","description":"Whether to process the image in batch mode (async).","default":false,"uniqueKey":"batch","typeLabel":"boolean"}},"type":"object","required":["images"],"title":"ImagePredictionRequest","description":"Request to the VLM API (i.e. structured prediction).","uniqueKey":"","typeLabel":"ImagePredictionRequest · object"},"examples":{"Example":{"title":"Example","value":{"images":["\u003cstring>"],"metadata":{"environment":"dev","session_id":"\u003cstring>","allow_logging":true,"allow_training":true,"allow_retention":true,"extra":{}},"config":{"prompt":"\u003cstring>","detail":"auto","json_schema":{},"skills":[{"type":"skill_reference","skill_id":"\u003cstring>","skill_name":"\u003cstring>","skill_version":"latest","version":123,"name":"\u003cstring>","description":"\u003cstring>","source":{"data":"\u003cstring>","type":"base64","media_type":"application/zip"},"bundle":"\u003cstring>"}],"gql_stmt":"\u003cstring>","max_retries":1,"max_tokens":65535,"temperature":0,"confidence":false,"grounding":false,"keyframes":false,"video_segment_duration":2,"video_frames_per_segment":2,"video_model":"\u003cstring>","video_transcribe_audio":false,"chat_context":"\u003cstring>","page_indices":[123],"use_context_cache":true},"id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","callback_url":"\u003cstring>","model":"vlm-1","batch":false}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"72f63430-12a3-41c6-a08e-f6c2537582fe":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"usage":{"properties":{"elements_processed":{"oneOf":[{"type":"integer","title":"Elements Processed","description":"Number of elements processed.","uniqueKey":"usage.elements_processed.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Elements Processed","description":"Number of elements processed.","uniqueKey":"usage.elements_processed.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.elements_processed","typeLabel":"integer | null"},"element_type":{"oneOf":[{"type":"string","title":"Element Type","description":"The type of element processed (e.g. image, page, video, audio).","enum":["image","page","video","audio"],"uniqueKey":"usage.element_type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","title":"Element Type","description":"The type of element processed (e.g. image, page, video, audio).","uniqueKey":"usage.element_type.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.element_type","typeLabel":"enum\u003cstring> | null"},"credits_used":{"oneOf":[{"type":"integer","title":"Credits Used","description":"Amount of total credits used.","uniqueKey":"usage.credits_used.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Credits Used","description":"Amount of total credits used.","uniqueKey":"usage.credits_used.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.credits_used","typeLabel":"integer | null"},"steps":{"oneOf":[{"type":"integer","title":"Steps","description":"Number of steps processed, in case of agentic execution.","uniqueKey":"usage.steps.oneOf.0","typeLabel":"integer"},{"type":"null","title":"Steps","description":"Number of steps processed, in case of agentic execution.","uniqueKey":"usage.steps.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.steps","typeLabel":"integer | null"},"message":{"oneOf":[{"type":"string","title":"Message","description":"The message from the credit usage job.","uniqueKey":"usage.message.oneOf.0","typeLabel":"string"},{"type":"null","title":"Message","description":"The message from the credit usage job.","uniqueKey":"usage.message.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.message","typeLabel":"string | null"},"duration_seconds":{"type":"integer","title":"Duration Seconds","description":"Duration of the request in seconds.","default":0,"uniqueKey":"usage.duration_seconds","typeLabel":"integer"},"service_tier":{"oneOf":[{"type":"string","title":"Service Tier","description":"Delivery tier (standard, priority, flex).","uniqueKey":"usage.service_tier.oneOf.0","typeLabel":"string"},{"type":"null","title":"Service Tier","description":"Delivery tier (standard, priority, flex).","uniqueKey":"usage.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.service_tier","typeLabel":"string | null"},"mode_multiplier":{"oneOf":[{"type":"number","title":"Mode Multiplier","description":"Pricing multiplier applied to standard cost.","uniqueKey":"usage.mode_multiplier.oneOf.0","typeLabel":"number"},{"type":"null","title":"Mode Multiplier","description":"Pricing multiplier applied to standard cost.","uniqueKey":"usage.mode_multiplier.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.mode_multiplier","typeLabel":"number | null"},"standard_cost_dollars":{"oneOf":[{"type":"number","title":"Standard Cost Dollars","description":"Pre-multiplier customer cost in USD, derived from tokens and unit rates.","uniqueKey":"usage.standard_cost_dollars.oneOf.0","typeLabel":"number"},{"type":"null","title":"Standard Cost Dollars","description":"Pre-multiplier customer cost in USD, derived from tokens and unit rates.","uniqueKey":"usage.standard_cost_dollars.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.standard_cost_dollars","typeLabel":"number | null"},"cost_dollars":{"oneOf":[{"type":"number","title":"Cost Dollars","description":"Effective customer cost in USD after the service-tier multiplier.","uniqueKey":"usage.cost_dollars.oneOf.0","typeLabel":"number"},{"type":"null","title":"Cost Dollars","description":"Effective customer cost in USD after the service-tier multiplier.","uniqueKey":"usage.cost_dollars.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.cost_dollars","typeLabel":"number | null"},"savings_dollars":{"oneOf":[{"type":"number","title":"Savings Dollars","description":"Discount in USD when using flex (standard_cost_dollars - cost_dollars).","uniqueKey":"usage.savings_dollars.oneOf.0","typeLabel":"number"},{"type":"null","title":"Savings Dollars","description":"Discount in USD when using flex (standard_cost_dollars - cost_dollars).","uniqueKey":"usage.savings_dollars.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage.savings_dollars","typeLabel":"number | null"}},"type":"object","title":"CreditUsageResponse","description":"The usage metrics for the request.","uniqueKey":"usage","typeLabel":"CreditUsageResponse · object"},"id":{"type":"string","title":"Id","description":"Unique identifier of the response.","uniqueKey":"id","typeLabel":"string"},"created_at":{"type":"string","format":"date-time","title":"Created At","description":"Date and time when the request was created (in UTC timezone)","uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"completed_at":{"oneOf":[{"type":"string","title":"Completed At","description":"Date and time when the response was completed (in UTC timezone)","format":"date-time","uniqueKey":"completed_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Completed At","description":"Date and time when the response was completed (in UTC timezone)","uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"completed_at","typeLabel":"string\u003cdate-time> | null"},"response":{"oneOf":[{"title":"Response","description":"The response from the model. May be an empty dict/list when the model found no extractable content (valid for status=completed).","uniqueKey":"response.oneOf.0","typeLabel":"any"},{"type":"null","title":"Response","description":"The response from the model. May be an empty dict/list when the model found no extractable content (valid for status=completed).","uniqueKey":"response.oneOf.1","typeLabel":"null"}],"uniqueKey":"response","typeLabel":"any | null"},"status":{"type":"string","enum":["pending","enqueued","running","completed","failed","paused"],"title":"Status","description":"The status of the job.","default":"pending","uniqueKey":"status","typeLabel":"enum\u003cstring>"},"domain":{"oneOf":[{"type":"string","title":"Domain","description":"The domain of the prediction (e.g. document.invoice, image.caption).","uniqueKey":"domain.oneOf.0","typeLabel":"string"},{"type":"null","title":"Domain","description":"The domain of the prediction (e.g. document.invoice, image.caption).","uniqueKey":"domain.oneOf.1","typeLabel":"null"}],"uniqueKey":"domain","typeLabel":"string | null"},"fallback":{"type":"boolean","title":"Fallback","description":"True when the JSON was produced by a fallback model. False when the primary model succeeded.","default":false,"uniqueKey":"fallback","typeLabel":"boolean"},"error":{"oneOf":[{"type":"string","title":"Error","description":"Why the job failed. Set only when status=failed.","uniqueKey":"error.oneOf.0","typeLabel":"string"},{"type":"null","title":"Error","description":"Why the job failed. Set only when status=failed.","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"string | null"}},"type":"object","title":"PredictionResponse","description":"Base prediction response for all API responses.","uniqueKey":"","typeLabel":"PredictionResponse · object"},"examples":{"Example":{"title":"Example","value":{"usage":{"elements_processed":123,"element_type":"image","credits_used":123,"steps":123,"message":"\u003cstring>","duration_seconds":0,"service_tier":"\u003cstring>","mode_multiplier":123,"standard_cost_dollars":123,"cost_dollars":123,"savings_dollars":123},"id":"\u003cstring>","created_at":"2023-11-07T05:31:56Z","completed_at":"2023-11-07T05:31:56Z","response":"\u003cunknown>","status":"pending","domain":"\u003cstring>","fallback":false,"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f8b1d0ec-6c1b-4cee-b29d-62191fa9001a":{"description":"Validation Error","content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"detail.items.[INDEX].loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"detail.items.[INDEX].loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","isRequired":true,"uniqueKey":"detail.items.[INDEX].loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","isRequired":true,"uniqueKey":"detail.items.[INDEX].msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","isRequired":true,"uniqueKey":"detail.items.[INDEX].type","typeLabel":"string"},"input":{"oneOf":[{"title":"Input"}],"uniqueKey":"detail.items.[INDEX].input","typeLabel":"any"},"ctx":{"type":"object","title":"Context","uniqueKey":"detail.items.[INDEX].ctx","typeLabel":"Context · object"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError","uniqueKey":"detail.items.[INDEX]","typeLabel":"ValidationError · object"},"type":"array","title":"Detail","uniqueKey":"detail","typeLabel":"ValidationError · object[]"}},"type":"object","title":"HTTPValidationError","uniqueKey":"","typeLabel":"HTTPValidationError · object"},"examples":{"Example":{"title":"Example","value":{"detail":[{"loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>","input":"\u003cunknown>","ctx":{}}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b1416001-4c18-45fb-b48d-927e95f08efe":{"HTTPBearer":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"}}},"servers":{},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"HTTPBearer"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"HTTPBearer","name":"Authorization"}],"title":"HTTPBearer"}]},"originalFileLocation":"https://api.vlm.run/openapi.json"},"subdomain":"autonomiai","siteName":"VLM Run","title":"Image → JSON - VLM Run","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-07T16:11:41.064Z","originalFileLocation":"api-reference/v1/post-image-generate.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";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=\"light\"}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=\"Generate structured prediction for the given image.\">\u003cmeta data-mint-head name=\"application-name\" content=\"VLM Run\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_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/autonomiai/pD_ZZ-IBiToGpeSG/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Image → JSON - VLM Run\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate structured prediction for the given image.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"VLM Run\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.vlm.run/api-reference/v1/post-image-generate\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://autonomiai.mintlify.app/_mintlify/api/og/v2?division=Generate\u0026amp;title=Image+%E2%86%92+JSON\u0026amp;description=Generate+structured+prediction+for+the+given+image.\u0026amp;theme=afe032f41fb9147627feca61\u0026amp;signature=1321cdd254c9f6d68046de3c45fa5c978d8f64618ddd7e1fc9c96efadaa28abd\">\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=\"Image → JSON - VLM Run\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate structured prediction for the given image.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://autonomiai.mintlify.app/_mintlify/api/og/v2?division=Generate\u0026amp;title=Image+%E2%86%92+JSON\u0026amp;description=Generate+structured+prediction+for+the+given+image.\u0026amp;theme=afe032f41fb9147627feca61\u0026amp;signature=1321cdd254c9f6d68046de3c45fa5c978d8f64618ddd7e1fc9c96efadaa28abd\">\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/autonomiai/pD_ZZ-IBiToGpeSG/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"VLM Run\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F5ACA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.vlm.run/api-reference/v1/post-image-generate\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v1/post-image-generate.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.vlm.run/#organization\",\"name\":\"VLM Run\",\"url\":\"https://docs.vlm.run\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/autonomiai/0Yrk6nqaa_NlkPay/assets/logo/vlm-run-icon.svg?fit=max\u0026auto=format\u0026n=0Yrk6nqaa_NlkPay\u0026q=85\u0026s=fbea8392452b746e14273d7670a4f535\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.vlm.run#website\",\"name\":\"VLM Run\",\"url\":\"https://docs.vlm.run\",\"publisher\":{\"@id\":\"https://docs.vlm.run/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.vlm.run/api-reference/v1/post-image-generate#webpage\",\"url\":\"https://docs.vlm.run/api-reference/v1/post-image-generate\",\"name\":\"Image → JSON\",\"description\":\"Generate structured prediction for the given image.\",\"dateModified\":\"2026-10-07T16:11:41.064Z\",\"isPartOf\":{\"@id\":\"https://docs.vlm.run#website\"},\"breadcrumb\":{\"@id\":\"https://docs.vlm.run/api-reference/v1/post-image-generate#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.vlm.run/api-reference/v1/post-image-generate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Generate\",\"item\":\"https://docs.vlm.run/api-reference/structured-extraction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Image → JSON\",\"item\":\"https://docs.vlm.run/api-reference/v1/post-image-generate\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.vlm.run/api-reference/v1/post-image-generate#apireference\",\"headline\":\"Image → JSON\",\"name\":\"Image → JSON\",\"description\":\"Generate structured prediction for the given image.\",\"url\":\"https://docs.vlm.run/api-reference/v1/post-image-generate\",\"mainEntityOfPage\":{\"@id\":\"https://docs.vlm.run/api-reference/v1/post-image-generate#webpage\"},\"dateModified\":\"2026-10-07T16:11:41.064Z\",\"publisher\":{\"@id\":\"https://docs.vlm.run/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.vlm.run#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"VLM Run\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"VLM Run","nav":{"global":null,"tabs":[{"tab":"Gateway","icon":"network-wired","pages":[{"title":"Gateway","href":"/gateway/introduction"}]},{"tab":"Orion","icon":"robot","pages":[{"title":"Orion","href":"/agents/introduction"}]},{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":"/gateway/guides/document-ocr"}]},{"tab":"API reference","icon":"server","anchors":[{"anchor":"Gateway API","icon":"network-wired","pages":[{"title":"Gateway API","href":"/gateway/api-reference/get-health"}]},{"anchor":"Orion API","icon":"robot","groups":[{"group":"Getting started","pages":[{"title":"Overview","icon":"book","href":"/api-reference"},{"title":"Health","openapi":"https://api.vlm.run/openapi.json GET /v1/health","href":"/api-reference/v1/health"}]},{"group":"Chat Completions","pages":[{"title":"Chat Completions","openapi":"https://api.vlm.run/openapi.json POST /v1/openai/chat/completions","href":"/api-reference/v1/post-chat-completions"},{"title":"List models","openapi":"https://api.vlm.run/openapi.json GET /v1/models","href":"/api-reference/v1/get-models"}]},{"group":"Generate","pages":[{"title":"Structured Extraction","description":"Extract structured JSON from images, documents, audio, and video with the classic generate API.","href":"/api-reference/structured-extraction"},{"title":"Image → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/image/generate","href":"/api-reference/v1/post-image-generate"},{"title":"Doc → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/document/generate","description":"Generate structured prediction for the given document.","href":"/api-reference/v1/post-document-generate"},{"title":"Audio → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/audio/generate","href":"/api-reference/v1/post-audio-generate"},{"title":"Video → JSON","openapi":"https://api.vlm.run/openapi.json POST /v1/video/generate","href":"/api-reference/v1/post-video-generate"},{"title":"Get Prediction by ID","openapi":"https://api.vlm.run/openapi.json GET /v1/predictions/{id}","href":"/api-reference/v1/predictions/get-predictions-by-id"},{"title":"Get Predictions","openapi":"https://api.vlm.run/openapi.json GET /v1/predictions","href":"/api-reference/v1/predictions/get-predictions-list"}]},{"group":"Agents","pages":[{"title":"Lookup Agent","openapi":"https://api.vlm.run/openapi.json POST /v1/agent/lookup","href":"/api-reference/v1/post-agent-lookup"},{"title":"List Agents","openapi":"https://api.vlm.run/openapi.json GET /v1/agent","href":"/api-reference/v1/get-agent"},{"title":"Create Agent","openapi":"https://api.vlm.run/openapi.json POST /v1/agent/create","href":"/api-reference/v1/post-agent-create"},{"title":"Execute Agent","openapi":"https://api.vlm.run/openapi.json POST /v1/agent/execute","href":"/api-reference/v1/post-agent-execute"},{"title":"Get Execution by ID","openapi":"https://api.vlm.run/openapi.json GET /v1/agent/executions/{id}","href":"/api-reference/v1/get-agent-executions-by-id"},{"title":"List Executions","openapi":"https://api.vlm.run/openapi.json GET /v1/agent/executions","href":"/api-reference/v1/get-agent-executions"}]},{"group":"Files","pages":[{"title":"Upload File","openapi":"https://api.vlm.run/openapi.json POST /v1/files","href":"/api-reference/v1/files/post-file-upload"},{"title":"Get File by ID","openapi":"https://api.vlm.run/openapi.json GET /v1/files/{file_id}","href":"/api-reference/v1/files/get-files-by-id"},{"title":"List Files","openapi":"https://api.vlm.run/openapi.json GET /v1/files","href":"/api-reference/v1/files/get-files-list"},{"title":"Delete File","openapi":"https://api.vlm.run/openapi.json DELETE /v1/files/{file_id}","href":"/api-reference/v1/files/delete-file"},{"title":"Get Artifact","openapi":"https://api.vlm.run/openapi.json GET /v1/artifacts","href":"/api-reference/v1/get-artifact-by-id"}]},{"group":"Skills","pages":[{"title":"List Skills","openapi":"https://api.vlm.run/openapi.json GET /v1/skills","href":"/api-reference/v1/skills/get-skills-list"},{"title":"Lookup Skill","openapi":"https://api.vlm.run/openapi.json POST /v1/skills/lookup","href":"/api-reference/v1/skills/post-skill-lookup"},{"title":"Get Skill","openapi":"https://api.vlm.run/openapi.json GET /v1/skills/{skill_id}","href":"/api-reference/v1/skills/get-skill-by-id"},{"title":"Create Skill","openapi":"https://api.vlm.run/openapi.json POST /v1/skills/create","href":"/api-reference/v1/skills/post-skill-create"},{"title":"Update Skill","openapi":"https://api.vlm.run/openapi.json POST /v1/skills/{skill_id}/update","href":"/api-reference/v1/skills/post-skill-update"},{"title":"Get Skill Download URL","openapi":"https://api.vlm.run/openapi.json GET /v1/skills/{skill_id}/download","href":"/api-reference/v1/skills/get-skill-download"}]},{"group":"Feedback","pages":[{"title":"Submit Feedback","openapi":"https://api.vlm.run/openapi.json POST /v1/feedback/submit","href":"/api-reference/v1/post-submit-feedback"}]}]}]},{"tab":"Developers","icon":"code","pages":[{"title":"Developers","href":"/sdk-reference/getting-started"}]}]},"basePath":"","title":"Image → JSON - VLM Run","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CS552b7R.js","utils-DDTCYAF2.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-De8ttokP.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DrwRDvAh.js","snippetPresets-DtAN0nWx.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D5rWArI6.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-O2i12wsz.js","shallow-DV8xABTt.js","getApiPlaygroundDisplay-DBZ0B5Jx.js","CodeSnippet-BVi0tPUX.js","CodeSnippets-CqASbIwY.js","Page-m07pfKpT.js","getPastedJson-DG9vsMS8.js","icon-CXzRSCr8.js","MethodPill-BdKVtEuX.js","DuplicateIcon-CZlmBrJI.js","createIcon-biFEUKPL.js","DynamicMarkdown-B54_zNBF.js","SectionHeading-DwwHK3Pt.js","axios-vUo_bRtp.js","Markdown-DfhCTwyA.js","clsx-xpJZXxdP.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BTZUMDnx.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-DqdKa2R4.js"]}