Create an account: Visit aiornot.com and choose any plan that includes the API access you need.
Locate your API key: Once logged in, head to API tab and click copy the generated key.
Call appropriate API endpoint: See the API Reference for details.
Authentication
All permissioned endpoints require the API key as a bearer token in the Authorization header.
This key is a secret and should be stored securely.
Think of it like your password. Anyone with access to this key can make requests to the API
on your behalf, using your quota. Code examples in the API Reference show how to
include the API key in your requests.
Response Serialization
The API returns JSON responses. API Reference shows what that response
format looks like for each endpoint. However, there is one critical thing to note
when integrating the API into your application:
We may add additional fields to existing endpoint responses without changing the API version.
However, we will never remove or rename a field without releasing a new API version.Successful integrations must be resilient to new fields. This allows us to add new information
to responses (e.g. a new image generator classification) without breaking existing integrations.To make this more concrete, image you are using pydantic in Python to deserialize the response.
At integration time, you might have code that looks like,
class ExampleResp(BaseModel): is_ai: bool
which successfully deserializes responses like,
{ "is_ai": true}
If we added a new field to the response, e.g.
{ "is_ai": true, "is_upscaled": false}
your deserialization code will break unless you had something like,
class ExampleResp(BaseModel): is_ai: bool # Ignore any extra fields in the response model_config = ConfigDict(extra='ignore')
Otherwise, please carefully observe which fields are optional (e.g. can be null) in particular
responses. Some endpoints return null responses for sub-model errors without failing
completely, so long as the primary model was successfully (e.g. quality in the image model).
Rate Limiting
Depending on your plan, you may be subject to rate limits between
1 and 5 requests per second. This limit exists to prevent
abuse of the API. It is not a technical constraint. If you need
a higher limit, please contact us.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AI or Not API Documentation","colors":{"primary":"#16A34A","light":"#07C983","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/aiornot-677ee7a7/TLiPE1QJOXxnQ_DE/logo/light.svg?fit=max\u0026auto=format\u0026n=TLiPE1QJOXxnQ_DE\u0026q=85\u0026s=5035e3659fc07e474796f5698ac2d0aa","dark":"https://mintcdn.com/aiornot-677ee7a7/TLiPE1QJOXxnQ_DE/logo/dark.svg?fit=max\u0026auto=format\u0026n=TLiPE1QJOXxnQ_DE\u0026q=85\u0026s=37a8f7400e89168ef0b9bd1a76228940"},"favicon":"/favicon.svg","navbar":{"links":[{"href":"mailto:support@aiornot.com","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://aiornot.com/dashboard/home"}},"footer":{"socials":{"x":"https://x.com/AI_or_Not","github":"https://github.com/aiornotinc"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"aiornot-677ee7a7","hasAudioNarration":false,"actualSubdomain":"aiornot-677ee7a7","customDomains":["docs.aiornot.com"],"gitSource":{"type":"github","owner":"aiornotinc","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae927fb74f093f560e5d62e:success","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"API Reference","count":6},{"language":"default","tag":"Reports by Modality","count":5},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Get Started","count":3},{"language":"default","tag":"SYSTEM MANAGEMENT","count":1}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"setup","slug":"/setup","pageMetadata":{"title":"Getting Started","description":"How to get started with the AI or Not API","href":"/setup","hidden":false},"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: \"How to get started with the AI or Not API\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Create an account:`}),` Visit `,_jsx(_components.a,{href:`https://aiornot.com`,children:`aiornot.com`}),` and choose any plan that includes the API access you need.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Locate your API key:`}),` Once logged in, head to `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`https://www.aiornot.com/dashboard/api`,children:`API`})}),` tab and click copy the generated key.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Call appropriate API endpoint`}),`: See the `,_jsx(_components.a,{href:`/api-reference`,children:`API Reference`}),` for details.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`All permissioned endpoints require the API key as a bearer token in the `,_jsx(_components.code,{children:`Authorization`}),` header.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This key is a secret and should be stored securely.`})}),`\n`,_jsxs(_components.p,{children:[`Think of it like your password. Anyone with access to this key can make requests to the API\non your behalf, using your quota. Code examples in the `,_jsx(_components.a,{href:`/api-reference`,children:`API Reference`}),` show how to\ninclude the API key in your requests.`]}),`\n`,_jsx(Heading,{level:`2`,id:`response-serialization`,children:`Response Serialization`}),`\n`,_jsxs(_components.p,{children:[`The API returns JSON responses. `,_jsx(_components.a,{href:`/api-reference`,children:`API Reference`}),` shows what that response\nformat looks like for each endpoint. However, there is one critical thing to note\nwhen integrating the API into your application:`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`We may add additional fields to existing endpoint responses without changing the API version.`})}),`\n`,_jsx(_components.p,{children:`However, we will never remove or rename a field without releasing a new API version.`}),`\n`,_jsx(_components.p,{children:`Successful integrations must be resilient to new fields. This allows us to add new information\nto responses (e.g. a new image generator classification) without breaking existing integrations.`}),`\n`,_jsx(_components.p,{children:`To make this more concrete, image you are using pydantic in Python to deserialize the response.\nAt integration time, you might have code that looks like,`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ExampleResp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` is_ai: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bool`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`which successfully deserializes responses like,`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_ai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`If we added a new field to the response, e.g.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_ai\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"is_upscaled\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`your deserialization code will break unless you had something like,`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`class`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` ExampleResp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`BaseModel`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`):`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` is_ai: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:`bool`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # Ignore any extra fields in the response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` model_config `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ConfigDict(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`extra`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'ignore'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Otherwise, please carefully observe which fields are optional (e.g. can be `,_jsx(_components.code,{children:`null`}),`) in particular\nresponses. Some endpoints return `,_jsx(_components.code,{children:`null`}),` responses for sub-model errors without failing\ncompletely, so long as the primary model was successfully (e.g. `,_jsx(_components.code,{children:`quality`}),` in the image model).`]}),`\n`,_jsx(Heading,{level:`2`,id:`rate-limiting`,children:`Rate Limiting`}),`\n`,_jsxs(_components.p,{children:[`Depending on your plan, you may be subject to rate limits between\n1 and 5 requests per second. This limit exists to prevent\nabuse of the API. It is not a technical constraint. If you need\na higher limit, please `,_jsx(_components.a,{href:`mailto:support@aiornot.com`,children:`contact us`}),`.`]})]})}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":{"config":{},"pageMetadata":{"title":"Getting Started","description":"How to get started with the AI or Not API","href":"/setup","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Response Serialization","slug":"response-serialization","depth":2,"children":[]},{"title":"Rate Limiting","slug":"rate-limiting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"aiornot-677ee7a7","siteName":"AI or Not API Documentation","title":"Getting Started - AI or Not API Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-08T21:57:39.938Z","originalFileLocation":"setup.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to get started with the AI or Not API\">\u003cmeta data-mint-head name=\"application-name\" content=\"AI or Not API Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Getting Started - AI or Not API Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to get started with the AI or Not API\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AI or Not API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.aiornot.com/setup\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://aiornot-677ee7a7.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Getting+Started\u0026amp;description=How+to+get+started+with+the+AI+or+Not+API\u0026amp;theme=67d2cb0e818472639d78d81e\u0026amp;signature=908607bbf72d9dd80f52623e71e77a1cd2bdd9631b41b63c5e6bf0de64dfd693\">\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=\"Getting Started - AI or Not API Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to get started with the AI or Not API\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://aiornot-677ee7a7.mintlify.site/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Getting+Started\u0026amp;description=How+to+get+started+with+the+AI+or+Not+API\u0026amp;theme=67d2cb0e818472639d78d81e\u0026amp;signature=908607bbf72d9dd80f52623e71e77a1cd2bdd9631b41b63c5e6bf0de64dfd693\">\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/aiornot-677ee7a7/mY6nKaRZ6tGSVsrt/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AI or Not API Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.aiornot.com/setup\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/setup.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.aiornot.com/#organization\",\"name\":\"AI or Not API Documentation\",\"url\":\"https://docs.aiornot.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/aiornot-677ee7a7/TLiPE1QJOXxnQ_DE/logo/light.svg?fit=max\u0026auto=format\u0026n=TLiPE1QJOXxnQ_DE\u0026q=85\u0026s=5035e3659fc07e474796f5698ac2d0aa\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.aiornot.com#website\",\"name\":\"AI or Not API Documentation\",\"url\":\"https://docs.aiornot.com\",\"publisher\":{\"@id\":\"https://docs.aiornot.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.aiornot.com/setup#webpage\",\"url\":\"https://docs.aiornot.com/setup\",\"name\":\"Getting Started\",\"description\":\"How to get started with the AI or Not API\",\"dateModified\":\"2025-10-08T21:57:39.938Z\",\"isPartOf\":{\"@id\":\"https://docs.aiornot.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.aiornot.com/setup#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.aiornot.com/setup#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Get Started\",\"item\":\"https://docs.aiornot.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Getting Started\",\"item\":\"https://docs.aiornot.com/setup\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.aiornot.com/setup#article\",\"headline\":\"Getting Started\",\"name\":\"Getting Started\",\"description\":\"How to get started with the AI or Not API\",\"url\":\"https://docs.aiornot.com/setup\",\"mainEntityOfPage\":{\"@id\":\"https://docs.aiornot.com/setup#webpage\"},\"dateModified\":\"2025-10-08T21:57:39.938Z\",\"publisher\":{\"@id\":\"https://docs.aiornot.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.aiornot.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AI or Not API Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"AI or Not API Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/setup.md","siteName":"AI or Not API Documentation","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Get Started","pages":[{"title":"Introduction","description":"What is the AI Or Not API?","href":""},{"title":"Getting Started","href":"/setup"},{"title":"A Complete Example","description":"Showing how to use the AI or Not API to analyze an image","href":"/a-complete-example"}]},{"group":"API Reference","pages":[{"title":"Reports by modality","href":"/api-reference/reports-by-modality"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/reports-by-modality/image"}]}]},"basePath":"","title":"Getting Started - AI or Not API Documentation","deploymentId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","buildId":"dpl_vSEmv961Ncyvz1psVwgUnTXQMSYk","dynamics":[],"chunks":[]}