Validates, prices, reserves and starts one generation in a single call. Send Prefer: wait=N to hold the response until it ends. Nothing is charged unless every check passes.
Needs the generations:create scope.
POST
/
generations
Create a generation
curl --request POST \ --url https://api.zerogen.com/v1/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "black-forest-labs/flux-2-pro/generate", "prompt": "A lighthouse at dawn, fog over the water", "output": { "count": 1 }}'
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
model: 'black-forest-labs/flux-2-pro/generate',
prompt: 'A lighthouse at dawn, fog over the water',
output: {count: 1}
})
};
fetch('https://api.zerogen.com/v1/generations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests
url = "https://api.zerogen.com/v1/generations"
payload = {
"model": "black-forest-labs/flux-2-pro/generate",
"prompt": "A lighthouse at dawn, fog over the water",
"output": { "count": 1 }
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
Makes retries safe: a retry with the same key and body returns the first response for 24 hours instead of repeating the work. Reusing a key with a different body returns 409.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ZeroGen API","description":"Generate images and video with every model in ZeroGen from your own servers.","colors":{"primary":"#18181B","light":"#E4E4E7","dark":"#18181B"},"logo":{"light":"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/logo/light.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=35d09db4e90566e79f5af1c3d8ffb4be","dark":"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/logo/dark.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=f4fcd821b66e08a00c2975e2458a4edc"},"favicon":"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/favicon.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=46d5ff92806d6efc0a27dd88bce49b88","api":{"openapi":"openapi.json","playground":{"display":"simple"},"examples":{"languages":["curl","javascript","python"]}},"contextual":{"options":["copy","view","claude","chatgpt","cursor","vscode","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"zero-gen","hasAudioNarration":false,"actualSubdomain":"zero-gen","customDomains":["docs.zerogen.com"],"gitSource":{"type":"github","owner":"zerogeneration","repo":"platform","deployBranch":"main","contentDirectory":"apps/api-docs","isPrivate":true,"mountPath":"","label":"","_id":"6adcf0cde85b0c9dcc4acad1"},"chroma":{"latestBuiltDeploymentHistoryId":"6add10119e1712172edc1116","collectionId":"5f92acff-b495-46a2-9c1b-66df9fb7c4b7","liveDeploymentHistoryId":"6add10119e1712172edc1116","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6add6db9cd8ebdc75e362e82","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API reference","count":13},{"language":"default","tag":"Guides","count":13},{"language":"default","tag":"Endpoints","count":12},{"language":"default","tag":"Get started","count":5},{"language":"default","tag":"Generations","count":5},{"language":"default","tag":"Generate","count":4},{"language":"default","tag":"Conventions","count":4},{"language":"default","tag":"Uploads","count":3},{"language":"default","tag":"Account","count":2},{"language":"default","tag":"Models","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"editor-v7-file-tree","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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"editor-nav-generations","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":"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":"editor-agent-model-picker","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":"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}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/generations/create-a-generation","slug":"/api-reference/generations/create-a-generation","pageMetadata":{"title":"Create a generation","description":"Validates, prices, reserves and starts one generation in a single call. Send `Prefer: wait=N` to hold the response until it ends. Nothing is charged unless every check passes.\n\nNeeds the `generations:create` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /generations","href":"/api-reference/generations/create-a-generation","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Validates, prices, reserves and starts one generation in a single call. Send \", _jsx(_components.code, {\n children: \"Prefer: wait=N\"\n }), \" to hold the response until it ends. Nothing is charged unless every check passes.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Needs the \", _jsx(_components.code, {\n children: \"generations:create\"\n }), \" scope.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a generation","description":"Validates, prices, reserves and starts one generation in a single call. Send `Prefer: wait=N` to hold the response until it ends. Nothing is charged unless every check passes.\n\nNeeds the `generations:create` scope.","deprecated":null,"version":null,"openapi":"/openapi.json post /generations","href":"/api-reference/generations/create-a-generation","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createGeneration","tags":["Generations"],"summary":"Create a generation","description":"Validates, prices, reserves and starts one generation in a single call. Send `Prefer: wait=N` to hold the response until it ends. Nothing is charged unless every check passes.\n\nNeeds the `generations:create` scope.","parameters":["a4e0e5e8-3a05-4d44-b818-5d6268324d13","920e17d9-3611-4efc-a73f-6781e68b24ae"],"requestBody":"e0b229cd-745c-480e-8e01-d1d121baf953","responses":{"200":"445e47f9-c63c-4bc8-a59d-088964156b06","202":"37c75773-d5c9-4e7a-b94f-6d79e92a85d1","400":"e776e7f0-31ea-4248-954e-1f7b54685a25","401":"7c158287-ee47-4b4f-b90e-d10222492cc5","402":"1ee5ffd7-56c8-473a-9a5e-1d7bca948194","403":"e3910d8e-496d-4fdf-876c-01ff5f58216a","404":"a6635f39-3c9c-4484-9232-d6c68757cdbf","409":"9a5019f2-901c-47eb-a76d-9655f34b90f0","413":"709cb653-c716-428c-b55f-3afbceb9363e","415":"38e5e324-94cc-485e-8145-f50df4f3fbde","429":"f4da4d19-fd71-4edc-986b-20b4e8a65402","500":"7dcd93e4-1e60-484d-81dd-2b4c3d9d57d8","503":"1e9a9648-2999-4a61-ad5a-188e2a858d68"},"method":"post","type":"path","servers":["a6b98c3c-1283-400d-ad4f-17f195c5cbe1"],"security":["2878f9b5-d2e6-4cb9-ba92-fe02c38d64db"],"path":"/generations","baseUrlOptions":["https://api.zerogen.com/v1"],"title":"Create a generation","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a4e0e5e8-3a05-4d44-b818-5d6268324d13":{"name":"Idempotency-Key","in":"header","required":false,"description":"Makes retries safe: a retry with the same key and body returns the first response for 24 hours instead of repeating the work. Reusing a key with a different body returns 409.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x7e]+$","isRequired":false,"description":"Makes retries safe: a retry with the same key and body returns the first response for 24 hours instead of repeating the work. Reusing a key with a different body returns 409.","uniqueKey":"","typeLabel":"string"}},"920e17d9-3611-4efc-a73f-6781e68b24ae":{"name":"Prefer","in":"header","required":false,"description":"wait=N holds the response up to N seconds (at most 60) until the generation ends.","schema":{"type":"string","pattern":"^wait=\\d+$","example":"wait=30","isRequired":false,"description":"wait=N holds the response up to N seconds (at most 60) until the generation ends.","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"string","maxLength":200,"pattern":"^[a-z0-9]+(?:[.-][a-z0-9]+)*\\/[a-z0-9]+(?:[.-][a-z0-9]+)*\\/[a-z0-9]+(?:[.-][a-z0-9]+)*$","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"prompt":{"type":"string","maxLength":20000,"uniqueKey":"prompt","typeLabel":"string"},"inputs":{"maxItems":50,"type":"array","items":{"oneOf":[{"type":"object","required":["role","asset"],"properties":{"role":{"type":"string","enum":["source","reference","face-reference","start-frame","end-frame","mask"],"isRequired":true,"uniqueKey":"inputs.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"asset":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","description":"Library asset ID","isRequired":true,"uniqueKey":"inputs.items.[INDEX].oneOf.0.asset","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"inputs.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["role","url"],"properties":{"role":{"type":"string","enum":["source","reference","face-reference","start-frame","end-frame","mask"],"isRequired":true,"uniqueKey":"inputs.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"url":{"type":"string","maxLength":2048,"format":"uri","description":"An https URL ZeroGen imports into the library before use","pattern":"^https://","isRequired":true,"uniqueKey":"inputs.items.[INDEX].oneOf.1.url","typeLabel":"string\u003curi>"}},"additionalProperties":false,"uniqueKey":"inputs.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"inputs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"inputs","typeLabel":"object[]"},"output":{"type":"object","properties":{"count":{"type":"integer","minimum":1,"maximum":4,"uniqueKey":"output.count","typeLabel":"integer"},"size":{"description":"Image size: auto or WIDTHxHEIGHT in pixels, such as 1024x1536","type":"string","maxLength":40,"uniqueKey":"output.size","typeLabel":"string"},"quality":{"type":"string","maxLength":40,"uniqueKey":"output.quality","typeLabel":"string"},"background":{"type":"string","maxLength":40,"uniqueKey":"output.background","typeLabel":"string"},"format":{"type":"string","enum":["png","jpeg","webp"],"uniqueKey":"output.format","typeLabel":"enum\u003cstring>"},"aspectRatio":{"type":"string","maxLength":20,"uniqueKey":"output.aspectRatio","typeLabel":"string"},"resolution":{"type":"string","maxLength":20,"uniqueKey":"output.resolution","typeLabel":"string"},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":600,"uniqueKey":"output.durationSeconds","typeLabel":"number"},"includeAudio":{"type":"boolean","uniqueKey":"output.includeAudio","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"output","typeLabel":"object"},"parameters":{"type":"object","propertyNames":{"type":"string","pattern":"^[A-Za-z][A-Za-z0-9_]{0,63}$"},"additionalProperties":{"oneOf":[{"type":"string","maxLength":200,"uniqueKey":"parameters.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"parameters.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"parameters.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"parameters.additionalProperties","typeLabel":"string | number | boolean"},"description":"Only the parameters the model's schema lists","uniqueKey":"parameters","typeLabel":"object"},"maxCostMicroUsd":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Refuse to start when the quote exceeds this amount","uniqueKey":"maxCostMicroUsd","typeLabel":"integer"},"test":{"type":"object","properties":{"outputs":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["succeeded","provider_error","provider_timeout","content_moderation","input_rejected"],"uniqueKey":"test.outputs.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Each output's outcome, in order: succeeded, or the error code a live output can end with. Outputs left out succeed","uniqueKey":"test.outputs","typeLabel":"enum\u003cstring>[]"},"reject":{"type":"string","enum":["insufficient_balance","rate_limited","model_unavailable"],"description":"Create only: refuse with this live response and start nothing (402 insufficient_balance, 429 rate_limited with Retry-After, 400 model_unavailable)","uniqueKey":"test.reject","typeLabel":"enum\u003cstring>"},"delaySeconds":{"type":"integer","minimum":0,"maximum":60,"description":"Seconds before each output ends, to rehearse polling and Prefer: wait","uniqueKey":"test.delaySeconds","typeLabel":"integer"}},"additionalProperties":false,"description":"Test keys only: rehearse each output's outcome; live keys are refused when it is present","uniqueKey":"test","typeLabel":"object"},"projectId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","description":"The project the outputs land in; the organization's default project when omitted. Test keys use their sandbox.","uniqueKey":"projectId","typeLabel":"string"},"folderId":{"oneOf":[{"type":"string","description":"A folder in that project to file the outputs in; null or omitted for Unfiled","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","uniqueKey":"folderId.oneOf.0","typeLabel":"string"},{"type":"null","description":"A folder in that project to file the outputs in; null or omitted for Unfiled","uniqueKey":"folderId.oneOf.1","typeLabel":"null"}],"uniqueKey":"folderId","typeLabel":"string | null"},"naming":{"type":"object","properties":{"presetId":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$","description":"A naming preset in the generation's project","isRequired":true,"uniqueKey":"naming.presetId","typeLabel":"string"},"values":{"type":"object","propertyNames":{"type":"string","maxLength":64},"additionalProperties":{"oneOf":[{"type":"string","maxLength":80,"uniqueKey":"naming.values.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"integer","maximum":99999999,"minimum":0,"uniqueKey":"naming.values.additionalProperties.oneOf.1","typeLabel":"integer"}],"uniqueKey":"naming.values.additionalProperties","typeLabel":"string | integer"},"maxProperties":12,"description":"Field values by field ID; fields left out take the preset's defaults","isRequired":true,"uniqueKey":"naming.values","typeLabel":"object"}},"required":["presetId","values"],"additionalProperties":false,"uniqueKey":"naming","typeLabel":"object"}},"required":["model"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"model":"black-forest-labs/flux-2-pro/generate","prompt":"A lighthouse at dawn, fog over the water","output":{"count":1}},"examples":{"Example":{"title":"Example","value":{"model":"black-forest-labs/flux-2-pro/generate","prompt":"A lighthouse at dawn, fog over the water","output":{"count":1}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"445e47f9-c63c-4bc8-a59d-088964156b06":{"description":"The generation has ended, within the requested wait.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"true when this response replays an earlier request with the same Idempotency-Key.","schema":{"type":"string","enum":["true"]}},"Location":{"description":"Where to read the created resource.","schema":{"type":"string"}},"Preference-Applied":{"description":"The wait applied, such as wait=30.","schema":{"type":"string"}},"Deprecation":{"description":"When the model was deprecated, as @ followed by Unix seconds.","schema":{"type":"string"}},"Sunset":{"description":"When the deprecated model stops accepting requests (HTTP date).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"projectId":{"type":"string","description":"The project that holds the outputs","isRequired":true,"uniqueKey":"projectId","typeLabel":"string"},"model":{"oneOf":[{"type":"string","maxLength":200,"pattern":"^[a-z0-9]+(?:[.-][a-z0-9]+)*\\/[a-z0-9]+(?:[.-][a-z0-9]+)*\\/[a-z0-9]+(?:[.-][a-z0-9]+)*$","isRequired":true,"uniqueKey":"model.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"model","typeLabel":"string | null"},"modelVersion":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"modelVersion.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"modelVersion.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"modelVersion","typeLabel":"string | null"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"outputs":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].index","typeLabel":"integer"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"asset":{"oneOf":[{"type":"object","required":["id","mimeType","width","height","durationMs"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.id","typeLabel":"string"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.mimeType","typeLabel":"string"},"width":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.width.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.width.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.height.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.height.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.height","typeLabel":"integer | null"},"durationMs":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.durationMs","typeLabel":"integer | null"},"resourceUri":{"type":"string","description":"Where this transport's client reads the asset, such as an MCP resource","uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.resourceUri","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset","typeLabel":"object | null"},"error":{"oneOf":[{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"outputs.items.[INDEX].error.oneOf.0.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.details.additionalProperties","typeLabel":"any"},"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].error","typeLabel":"object | null"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].warnings.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].warnings.items.[INDEX].message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"outputs.items.[INDEX].warnings.items.[INDEX]","typeLabel":"object"},"description":"What the provider ignored, such as an unused reference","uniqueKey":"outputs.items.[INDEX].warnings","typeLabel":"object[]"},"draft":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"When upscaling this output closes","isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.expiresAt","typeLabel":"string\u003cdate-time>"},"upscalable":{"type":"boolean","description":"A final can be requested now: unexpired, with no final in progress","isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscalable","typeLabel":"boolean"},"upscale":{"oneOf":[{"type":"string","description":"The newest final's state, or null when none was requested","enum":["upscaling","upscaled"],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscale.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The newest final's state, or null when none was requested","isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscale.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscale","typeLabel":"enum\u003cstring> | null"},"finalResolution":{"type":"string","description":"That final's resolution, one the model's draft control lists","uniqueKey":"outputs.items.[INDEX].draft.finalResolution","typeLabel":"string"},"finalAssetId":{"type":"string","description":"The newest finished final's asset","uniqueKey":"outputs.items.[INDEX].draft.finalAssetId","typeLabel":"string"}},"required":["expiresAt","upscalable","upscale"],"additionalProperties":false,"description":"A 480p Draft output; upscaling it makes a final with the same seed, at a resolution the model's draft control lists","uniqueKey":"outputs.items.[INDEX].draft","typeLabel":"object"}},"required":["index","status","asset","error"],"additionalProperties":false,"uniqueKey":"outputs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"outputs","typeLabel":"object[]"},"error":{"oneOf":[{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.oneOf.0.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.oneOf.0.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.oneOf.0.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.oneOf.0.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"},"billing":{"type":"object","properties":{"mode":{"type":"string","enum":["platform","byok","test"],"isRequired":true,"uniqueKey":"billing.mode","typeLabel":"enum\u003cstring>"},"state":{"oneOf":[{"type":"string","description":"held: an amount is reserved and nothing is charged yet; charged: chargedMicroUsd is the final charge; released: the hold ended with no charge; null: billing never admitted the generation, so nothing was held or charged","enum":["held","charged","released"],"isRequired":true,"uniqueKey":"billing.state.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"held: an amount is reserved and nothing is charged yet; charged: chargedMicroUsd is the final charge; released: the hold ended with no charge; null: billing never admitted the generation, so nothing was held or charged","isRequired":true,"uniqueKey":"billing.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.state","typeLabel":"enum\u003cstring> | null"},"quotedMicroUsd":{"oneOf":[{"type":"integer","description":"Reserved maximum expected charge","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"billing.quotedMicroUsd.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Reserved maximum expected charge","isRequired":true,"uniqueKey":"billing.quotedMicroUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.quotedMicroUsd","typeLabel":"integer | null"},"heldMicroUsd":{"oneOf":[{"type":"integer","description":"While held, the amount reserved now; it is never a charge","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"billing.heldMicroUsd.oneOf.0","typeLabel":"integer"},{"type":"null","description":"While held, the amount reserved now; it is never a charge","isRequired":true,"uniqueKey":"billing.heldMicroUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.heldMicroUsd","typeLabel":"integer | null"},"chargedMicroUsd":{"oneOf":[{"type":"integer","description":"The final charge once charged, zero once released; it can rarely exceed the quote","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"billing.chargedMicroUsd.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The final charge once charged, zero once released; it can rarely exceed the quote","isRequired":true,"uniqueKey":"billing.chargedMicroUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.chargedMicroUsd","typeLabel":"integer | null"},"hold":{"type":"object","properties":{"state":{"type":"string","enum":["running","ended","needs_attention"],"description":"running: the generation has not ended; ended: it ended and the hold is still pending; needs_attention: it has stayed pending 30 minutes after ending, or 24 hours after admission with no end recorded (endedAt then stays null), so ZeroGen is looking into it","isRequired":true,"uniqueKey":"billing.hold.state","typeLabel":"enum\u003cstring>"},"endedAt":{"oneOf":[{"type":"string","description":"When the generation ended; null while it runs or when no end was recorded","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"billing.hold.endedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When the generation ended; null while it runs or when no end was recorded","isRequired":true,"uniqueKey":"billing.hold.endedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.hold.endedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["state","endedAt"],"additionalProperties":false,"description":"While held, where the generation stands. It reports facts, not what settlement will do","uniqueKey":"billing.hold","typeLabel":"object"}},"required":["mode","state","quotedMicroUsd","heldMicroUsd","chargedMicroUsd"],"additionalProperties":false,"isRequired":true,"uniqueKey":"billing","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"startedAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"startedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"startedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"startedAt","typeLabel":"string\u003cdate-time> | null"},"finishedAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"finishedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"finishedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"finishedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["id","projectId","model","modelVersion","status","outputs","error","billing","createdAt","startedAt","finishedAt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","projectId":"\u003cstring>","model":"\u003cstring>","modelVersion":"\u003cstring>","status":"queued","outputs":[{"index":4503599627370495,"status":"queued","asset":{"id":"\u003cstring>","mimeType":"\u003cstring>","width":4503599627370495,"height":4503599627370495,"durationMs":4503599627370495,"resourceUri":"\u003cstring>"},"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}},"warnings":[{"code":"\u003cstring>","message":"\u003cstring>"}],"draft":{"expiresAt":"2023-11-07T05:31:56Z","upscalable":true,"upscale":"upscaling","finalResolution":"\u003cstring>","finalAssetId":"\u003cstring>"}}],"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}},"billing":{"mode":"platform","state":"held","quotedMicroUsd":4503599627370495,"heldMicroUsd":4503599627370495,"chargedMicroUsd":4503599627370495,"hold":{"state":"running","endedAt":"2023-11-07T05:31:56Z"}},"createdAt":"2023-11-07T05:31:56Z","startedAt":"2023-11-07T05:31:56Z","finishedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"37c75773-d5c9-4e7a-b94f-6d79e92a85d1":{"description":"The generation started and has not ended yet.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"Idempotent-Replayed":{"description":"true when this response replays an earlier request with the same Idempotency-Key.","schema":{"type":"string","enum":["true"]}},"Location":{"description":"Where to read the created resource.","schema":{"type":"string"}},"Preference-Applied":{"description":"The wait applied, such as wait=30.","schema":{"type":"string"}},"Deprecation":{"description":"When the model was deprecated, as @ followed by Unix seconds.","schema":{"type":"string"}},"Sunset":{"description":"When the deprecated model stops accepting requests (HTTP date).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"projectId":{"type":"string","description":"The project that holds the outputs","isRequired":true,"uniqueKey":"projectId","typeLabel":"string"},"model":{"oneOf":[{"type":"string","maxLength":200,"pattern":"^[a-z0-9]+(?:[.-][a-z0-9]+)*\\/[a-z0-9]+(?:[.-][a-z0-9]+)*\\/[a-z0-9]+(?:[.-][a-z0-9]+)*$","isRequired":true,"uniqueKey":"model.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"model.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"model","typeLabel":"string | null"},"modelVersion":{"oneOf":[{"type":"string","isRequired":true,"uniqueKey":"modelVersion.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"modelVersion.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"modelVersion","typeLabel":"string | null"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"outputs":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].index","typeLabel":"integer"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"asset":{"oneOf":[{"type":"object","required":["id","mimeType","width","height","durationMs"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.id","typeLabel":"string"},"mimeType":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.mimeType","typeLabel":"string"},"width":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.width.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.width.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.width","typeLabel":"integer | null"},"height":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.height.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.height.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.height","typeLabel":"integer | null"},"durationMs":{"oneOf":[{"type":"integer","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.durationMs.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.durationMs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.durationMs","typeLabel":"integer | null"},"resourceUri":{"type":"string","description":"Where this transport's client reads the asset, such as an MCP resource","uniqueKey":"outputs.items.[INDEX].asset.oneOf.0.resourceUri","typeLabel":"string"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].asset","typeLabel":"object | null"},"error":{"oneOf":[{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"outputs.items.[INDEX].error.oneOf.0.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.details.additionalProperties","typeLabel":"any"},"uniqueKey":"outputs.items.[INDEX].error.oneOf.0.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"outputs.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].error","typeLabel":"object | null"},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].warnings.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"outputs.items.[INDEX].warnings.items.[INDEX].message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"uniqueKey":"outputs.items.[INDEX].warnings.items.[INDEX]","typeLabel":"object"},"description":"What the provider ignored, such as an unused reference","uniqueKey":"outputs.items.[INDEX].warnings","typeLabel":"object[]"},"draft":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"When upscaling this output closes","isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.expiresAt","typeLabel":"string\u003cdate-time>"},"upscalable":{"type":"boolean","description":"A final can be requested now: unexpired, with no final in progress","isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscalable","typeLabel":"boolean"},"upscale":{"oneOf":[{"type":"string","description":"The newest final's state, or null when none was requested","enum":["upscaling","upscaled"],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscale.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"The newest final's state, or null when none was requested","isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscale.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"outputs.items.[INDEX].draft.upscale","typeLabel":"enum\u003cstring> | null"},"finalResolution":{"type":"string","description":"That final's resolution, one the model's draft control lists","uniqueKey":"outputs.items.[INDEX].draft.finalResolution","typeLabel":"string"},"finalAssetId":{"type":"string","description":"The newest finished final's asset","uniqueKey":"outputs.items.[INDEX].draft.finalAssetId","typeLabel":"string"}},"required":["expiresAt","upscalable","upscale"],"additionalProperties":false,"description":"A 480p Draft output; upscaling it makes a final with the same seed, at a resolution the model's draft control lists","uniqueKey":"outputs.items.[INDEX].draft","typeLabel":"object"}},"required":["index","status","asset","error"],"additionalProperties":false,"uniqueKey":"outputs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"outputs","typeLabel":"object[]"},"error":{"oneOf":[{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.oneOf.0.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.oneOf.0.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.oneOf.0.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.oneOf.0.details","typeLabel":"object"}},"additionalProperties":false,"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"},"billing":{"type":"object","properties":{"mode":{"type":"string","enum":["platform","byok","test"],"isRequired":true,"uniqueKey":"billing.mode","typeLabel":"enum\u003cstring>"},"state":{"oneOf":[{"type":"string","description":"held: an amount is reserved and nothing is charged yet; charged: chargedMicroUsd is the final charge; released: the hold ended with no charge; null: billing never admitted the generation, so nothing was held or charged","enum":["held","charged","released"],"isRequired":true,"uniqueKey":"billing.state.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","description":"held: an amount is reserved and nothing is charged yet; charged: chargedMicroUsd is the final charge; released: the hold ended with no charge; null: billing never admitted the generation, so nothing was held or charged","isRequired":true,"uniqueKey":"billing.state.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.state","typeLabel":"enum\u003cstring> | null"},"quotedMicroUsd":{"oneOf":[{"type":"integer","description":"Reserved maximum expected charge","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"billing.quotedMicroUsd.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Reserved maximum expected charge","isRequired":true,"uniqueKey":"billing.quotedMicroUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.quotedMicroUsd","typeLabel":"integer | null"},"heldMicroUsd":{"oneOf":[{"type":"integer","description":"While held, the amount reserved now; it is never a charge","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"billing.heldMicroUsd.oneOf.0","typeLabel":"integer"},{"type":"null","description":"While held, the amount reserved now; it is never a charge","isRequired":true,"uniqueKey":"billing.heldMicroUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.heldMicroUsd","typeLabel":"integer | null"},"chargedMicroUsd":{"oneOf":[{"type":"integer","description":"The final charge once charged, zero once released; it can rarely exceed the quote","maximum":9007199254740991,"minimum":0,"isRequired":true,"uniqueKey":"billing.chargedMicroUsd.oneOf.0","typeLabel":"integer"},{"type":"null","description":"The final charge once charged, zero once released; it can rarely exceed the quote","isRequired":true,"uniqueKey":"billing.chargedMicroUsd.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.chargedMicroUsd","typeLabel":"integer | null"},"hold":{"type":"object","properties":{"state":{"type":"string","enum":["running","ended","needs_attention"],"description":"running: the generation has not ended; ended: it ended and the hold is still pending; needs_attention: it has stayed pending 30 minutes after ending, or 24 hours after admission with no end recorded (endedAt then stays null), so ZeroGen is looking into it","isRequired":true,"uniqueKey":"billing.hold.state","typeLabel":"enum\u003cstring>"},"endedAt":{"oneOf":[{"type":"string","description":"When the generation ended; null while it runs or when no end was recorded","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"billing.hold.endedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","description":"When the generation ended; null while it runs or when no end was recorded","isRequired":true,"uniqueKey":"billing.hold.endedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"billing.hold.endedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["state","endedAt"],"additionalProperties":false,"description":"While held, where the generation stands. It reports facts, not what settlement will do","uniqueKey":"billing.hold","typeLabel":"object"}},"required":["mode","state","quotedMicroUsd","heldMicroUsd","chargedMicroUsd"],"additionalProperties":false,"isRequired":true,"uniqueKey":"billing","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string\u003cdate-time>"},"startedAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"startedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"startedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"startedAt","typeLabel":"string\u003cdate-time> | null"},"finishedAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","isRequired":true,"uniqueKey":"finishedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","isRequired":true,"uniqueKey":"finishedAt.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"finishedAt","typeLabel":"string\u003cdate-time> | null"}},"required":["id","projectId","model","modelVersion","status","outputs","error","billing","createdAt","startedAt","finishedAt"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"\u003cstring>","projectId":"\u003cstring>","model":"\u003cstring>","modelVersion":"\u003cstring>","status":"queued","outputs":[{"index":4503599627370495,"status":"queued","asset":{"id":"\u003cstring>","mimeType":"\u003cstring>","width":4503599627370495,"height":4503599627370495,"durationMs":4503599627370495,"resourceUri":"\u003cstring>"},"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}},"warnings":[{"code":"\u003cstring>","message":"\u003cstring>"}],"draft":{"expiresAt":"2023-11-07T05:31:56Z","upscalable":true,"upscale":"upscaling","finalResolution":"\u003cstring>","finalAssetId":"\u003cstring>"}}],"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}},"billing":{"mode":"platform","state":"held","quotedMicroUsd":4503599627370495,"heldMicroUsd":4503599627370495,"chargedMicroUsd":4503599627370495,"hold":{"state":"running","endedAt":"2023-11-07T05:31:56Z"}},"createdAt":"2023-11-07T05:31:56Z","startedAt":"2023-11-07T05:31:56Z","finishedAt":"2023-11-07T05:31:56Z"}}},"exampleType":"generated"}},"exampleType":"generated"},"e776e7f0-31ea-4248-954e-1f7b54685a25":{"description":"The request is malformed or invalid: invalid_request, validation_failed, model_unavailable or input_import_failed.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"7c158287-ee47-4b4f-b90e-d10222492cc5":{"description":"invalid_api_key: the key is missing, revoked or expired.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"WWW-Authenticate":{"description":"Bearer realm=\"ZeroGen API\".","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"1ee5ffd7-56c8-473a-9a5e-1d7bca948194":{"description":"insufficient_balance or spend_limit_reached: the available balance or a spend limit cannot cover the quote. cost_limit_exceeded: the quote is above maxCostMicroUsd.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"e3910d8e-496d-4fdf-876c-01ff5f58216a":{"description":"permission_denied: the key lacks the scope this endpoint needs, the request came from a browser, or the API isn't enabled for the organization.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"a6635f39-3c9c-4484-9232-d6c68757cdbf":{"description":"not_found: no such resource for this caller, including a projectId the caller can't use.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"9a5019f2-901c-47eb-a76d-9655f34b90f0":{"description":"idempotency_conflict: the Idempotency-Key was used for a different request. idempotency_in_progress: the first request with this key hasn't finished. invalid_state: the request can't go ahead as things stand, such as a generation that needs a person's approval in ZeroGen.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"709cb653-c716-428c-b55f-3afbceb9363e":{"description":"The request body is larger than 128 KB.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"38e5e324-94cc-485e-8145-f50df4f3fbde":{"description":"Send the body as application/json.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"f4da4d19-fd71-4edc-986b-20b4e8a65402":{"description":"rate_limited: the key or its owner is over the rate limit, or the organization is at its running cap. Retry after Retry-After seconds.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"7dcd93e4-1e60-484d-81dd-2b4c3d9d57d8":{"description":"internal: something went wrong. Retry.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"1e9a9648-2999-4a61-ad5a-188e2a858d68":{"description":"unavailable or pricing_unavailable: API keys, billing or pricing can't be reached right now. Retry.","headers":{"Request-Id":{"description":"Identifies the request; quote it when contacting support.","schema":{"type":"string"}},"RateLimit-Limit":{"description":"Requests the key may make in the current window.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the current window resets.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,79}$","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"retryable":{"type":"boolean","isRequired":true,"uniqueKey":"error.retryable","typeLabel":"boolean"},"param":{"type":"string","uniqueKey":"error.param","typeLabel":"string"},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"oneOf":[{}],"uniqueKey":"error.details.additionalProperties","typeLabel":"any"},"uniqueKey":"error.details","typeLabel":"object"}},"required":["code","message","retryable"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","retryable":true,"param":"\u003cstring>","details":{}}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2878f9b5-d2e6-4cb9-ba92-fe02c38d64db":{"bearerAuth":{"type":"http","scheme":"bearer","description":"A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"a6b98c3c-1283-400d-ad4f-17f195c5cbe1":{"url":"https://api.zerogen.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A ZeroGen API key: zg_ for a live key, zg_test_ for a test key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"zero-gen","siteName":"ZeroGen API","title":"Create a generation - ZeroGen API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T20:07:49.887Z","originalFileLocation":"api-reference/generations/create-a-generation.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=\"Validates, prices, reserves and starts one generation in a single call. Send Prefer: wait=N to hold the response until it ends. Nothing is charged unless every check passes. Needs the generations:create scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ZeroGen API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_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/zero-gen/ben01azdM0Av99iT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a generation - ZeroGen API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Validates, prices, reserves and starts one generation in a single call. Send Prefer: wait=N to hold the response until it ends. Nothing is charged unless every check passes. Needs the generations:create scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ZeroGen API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.zerogen.com/api-reference/generations/create-a-generation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://zero-gen.mintlify.app/_mintlify/api/og/v2?division=Generations\u0026amp;title=Create+a+generation\u0026amp;description=Validates%2C+prices%2C+reserves+and+starts+one+generation+in+a+single+call.+Send+%60Prefer%3A+wait%3DN%60+to+hold+the+response+until+it+ends.+Nothing+is+charged+unless+ever\u0026amp;theme=faa3a38b66501c3fd9e9fb87\u0026amp;signature=bd673b05b5153a8d4fd76f309650a0a9845e36f8cef1d58b8a28120467cf7327\">\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=\"Create a generation - ZeroGen API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Validates, prices, reserves and starts one generation in a single call. Send Prefer: wait=N to hold the response until it ends. Nothing is charged unless every check passes. Needs the generations:create scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://zero-gen.mintlify.app/_mintlify/api/og/v2?division=Generations\u0026amp;title=Create+a+generation\u0026amp;description=Validates%2C+prices%2C+reserves+and+starts+one+generation+in+a+single+call.+Send+%60Prefer%3A+wait%3DN%60+to+hold+the+response+until+it+ends.+Nothing+is+charged+unless+ever\u0026amp;theme=faa3a38b66501c3fd9e9fb87\u0026amp;signature=bd673b05b5153a8d4fd76f309650a0a9845e36f8cef1d58b8a28120467cf7327\">\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/zero-gen/ben01azdM0Av99iT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ZeroGen API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#18181B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.zerogen.com/api-reference/generations/create-a-generation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/generations/create-a-generation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.zerogen.com/#organization\",\"name\":\"ZeroGen API\",\"url\":\"https://docs.zerogen.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/zero-gen/W2GmhRNTfZqjZw9S/logo/light.svg?fit=max\u0026auto=format\u0026n=W2GmhRNTfZqjZw9S\u0026q=85\u0026s=35d09db4e90566e79f5af1c3d8ffb4be\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.zerogen.com#website\",\"name\":\"ZeroGen API\",\"url\":\"https://docs.zerogen.com\",\"publisher\":{\"@id\":\"https://docs.zerogen.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation#webpage\",\"url\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation\",\"name\":\"Create a generation\",\"description\":\"Validates, prices, reserves and starts one generation in a single call. Send Prefer: wait=N to hold the response until it ends. Nothing is charged unless every check passes. Needs the generations:create scope.\",\"dateModified\":\"2026-10-24T20:07:49.887Z\",\"isPartOf\":{\"@id\":\"https://docs.zerogen.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.zerogen.com/api-reference/account/read-the-calling-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generations\",\"item\":\"https://docs.zerogen.com/api-reference/generations/quote-a-generation\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a generation\",\"item\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation#apireference\",\"headline\":\"Create a generation\",\"name\":\"Create a generation\",\"description\":\"Validates, prices, reserves and starts one generation in a single call. Send Prefer: wait=N to hold the response until it ends. Nothing is charged unless every check passes. Needs the generations:create scope.\",\"url\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation\",\"mainEntityOfPage\":{\"@id\":\"https://docs.zerogen.com/api-reference/generations/create-a-generation#webpage\"},\"dateModified\":\"2026-10-24T20:07:49.887Z\",\"publisher\":{\"@id\":\"https://docs.zerogen.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.zerogen.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ZeroGen API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"ZeroGen API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"Overview","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"title":"Read the calling key","deprecated":null,"version":null,"openapi":"/openapi.json get /me","href":"/api-reference/account/read-the-calling-key"},{"title":"Read the organization's balance","deprecated":null,"version":null,"openapi":"/openapi.json get /balance","href":"/api-reference/account/read-the-organizations-balance"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/openapi.json get /models","href":"/api-reference/models/list-models"},{"title":"Read a model","deprecated":null,"version":null,"openapi":"/openapi.json get /models/{vendor}/{model}/{operation}","href":"/api-reference/models/read-a-model"}]},{"group":"Generations","pages":[{"title":"Quote a generation","deprecated":null,"version":null,"openapi":"/openapi.json post /generations/quote","href":"/api-reference/generations/quote-a-generation"},{"title":"List generations","description":"The calling key owner's generations, newest first.\n\nNeeds the `generations:read` scope.","deprecated":null,"version":null,"openapi":"/openapi.json get /generations","href":"/api-reference/generations/list-generations"},{"title":"Create a generation","deprecated":null,"version":null,"openapi":"/openapi.json post /generations","href":"/api-reference/generations/create-a-generation"},{"title":"Read a generation","description":"One generation and each output's status, asset and error. Send `Prefer: wait=N` to hold the response until it ends. Reads never start or repeat work.\n\nNeeds the `generations:read` scope.","deprecated":null,"version":null,"openapi":"/openapi.json get /generations/{id}","href":"/api-reference/generations/read-a-generation"},{"title":"Cancel a generation","deprecated":null,"version":null,"openapi":"/openapi.json post /generations/{id}/cancel","href":"/api-reference/generations/cancel-a-generation"}]},{"group":"Uploads","pages":[{"title":"Create an upload","deprecated":null,"version":null,"openapi":"/openapi.json post /uploads","href":"/api-reference/uploads/create-an-upload"},{"title":"Read an upload","deprecated":null,"version":null,"openapi":"/openapi.json get /uploads/{id}","href":"/api-reference/uploads/read-an-upload"},{"title":"Complete an upload","deprecated":null,"version":null,"openapi":"/openapi.json post /uploads/{id}/complete","href":"/api-reference/uploads/complete-an-upload"}]}]}]}]},"title":"Create a generation - ZeroGen API","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}