An accepted request returns 201. V1 produces queued, running, succeeded, failed, and canceled. The awaiting_supply value is reserved for a future version and is never produced in V1.
Use one stable, unique Idempotency-Key per generation. Replaying a completed request returns the existing generation with 200.
Using the same key with a different body returns 422 idempotency_conflict. An in-progress generation returns 503 generation_in_progress with Retry-After: 5.
Get and list generations
GET /api/v1/hub/generations/{id} returns one generation.
GET /api/v1/hub/generations lists the newest generations first.
Available filters are limit, cursor, status, from, to, model, and media_only.
media_only=true excludes LLM executions before pagination and the total_billed calculation.
Use the opaque next_cursor unchanged to load the next page.
Cancel a generation
POST /api/v1/hub/generations/{id}/cancel cancels only a queued generation. Other states return 409 not_cancelable.
Chat Completions compatibility
POST /api/v1/hub/chat/completions accepts OpenAI-compatible fields and forwards additional fields to the provider. Set stream to false or omit it. Omit the unsupported n parameter. A 200 response also includes:
The alias also accepts Idempotency-Key. A completed replay returns the existing completion. An in-progress replay returns 503 generation_in_progress with Retry-After: 5. Reusing the key with a different body returns 422 idempotency_conflict.A failure of the routed model returns the provider_error code: its 4xx status is kept, except 401 and 402 which become 503; any other failure returns 503. See Errors.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Fanify","colors":{"primary":"#4972F3","light":"#D925D2","dark":"#D925D2"},"logo":{"light":"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/fanify-colored-transparent-1024px.png?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=174c21d6d91fcf57271890b1f3e57e6a","dark":"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/fanify-colored-transparent-1024px.png?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=174c21d6d91fcf57271890b1f3e57e6a"},"favicon":"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/favicon.ico?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=9bea3adf79a19604764594f2ac9abbab","navbar":{"links":[{"href":"https://fanifyai.com/","label":"Website"},{"href":"https://fanifyai.com/contact","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://fanifyai.com/console"}},"footer":{"socials":{"discord":"https://discord.gg/kW93Ug4wTJ"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"fr","href":"fr/basics/introduction"},{"language":"en","href":"en/hub/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"saufrasoft","hasAudioNarration":false,"actualSubdomain":"saufrasoft","customDomains":["docs.fanifyai.com"],"gitSource":{"type":"github","owner":"saufras0ft","repo":"fanify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b025ff116b5d194c012a1b5","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"fr","tag":"Avancé","count":291},{"language":"fr","tag":"Stratégies","count":268},{"language":"fr","tag":"Conditions","count":228},{"language":"fr","tag":"Actions","count":39},{"language":"fr","tag":"Fanify Hub","count":39},{"language":"en","tag":"Fanify Hub","count":34},{"language":"fr","tag":"Messages","count":28},{"language":"fr","tag":"Compte du fan","count":28},{"language":"fr","tag":"Style de vie","count":27},{"language":"fr","tag":"Basique","count":27},{"language":"en","tag":"API reference","count":23},{"language":"fr","tag":"Référence API","count":23},{"language":"en","tag":"API","count":9},{"language":"en","tag":"Files","count":5},{"language":"en","tag":"Generations","count":4},{"language":"en","tag":"API keys","count":3},{"language":"en","tag":"Webhooks","count":3},{"language":"en","tag":"Models","count":2},{"language":"en","tag":"Account","count":1},{"language":"en","tag":"Chat","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":".faq-tag{display:inline-block;padding:2px 8px;font-size:10px;font-weight:500;letter-spacing:0.02em;border-radius:6px;background:rgba(73, 114, 243, 0.08);color:#4972F3;border:1px solid rgba(73, 114, 243, 0.15);transition:background 0.15s ease, border-color 0.15s ease}.dark .faq-tag{background:rgba(217, 37, 210, 0.12);color:#D925D2;border-color:rgba(217, 37, 210, 0.25)}.hub-agent-card [data-component-part=\"card-content-container\"]{padding-block:0.75rem}.hub-agent-card [data-component-part=\"card-cta\"]{margin-top:0.5rem}"}]}
{"page":{"pagePath":"en/hub/generations","slug":"/en/hub/generations","pageMetadata":{"title":"Generations","description":"Submit, track, list, and cancel Fanify Hub generations.","href":"/en/hub/generations"},"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: \"Submit, track, list, and cancel Fanify Hub generations.\"\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`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`submit-a-generation`,children:`Submit a generation`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://fanifyai.com/api/v1/hub/generations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$FANIFY_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Idempotency-Key: 0192f3a4-8c1e-7b2a-9f10-2b6d4e0c9a11\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"model\":\"nano-banana-2\",\"input\":{\"prompt\":\"a cat\",\"aspect_ratio\":\"16:9\",\"resolution\":\"2K\"}}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`An accepted request returns `,_jsx(_components.code,{children:`201`}),`. V1 produces `,_jsx(_components.code,{children:`queued`}),`, `,_jsx(_components.code,{children:`running`}),`, `,_jsx(_components.code,{children:`succeeded`}),`, `,_jsx(_components.code,{children:`failed`}),`, and `,_jsx(_components.code,{children:`canceled`}),`. The `,_jsx(_components.code,{children:`awaiting_supply`}),` value is reserved for a future version and is never produced in V1.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Use one stable, unique `,_jsx(_components.code,{children:`Idempotency-Key`}),` per generation. Replaying a completed request returns the existing generation with `,_jsx(_components.code,{children:`200`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`Using the same key with a different body returns `,_jsx(_components.code,{children:`422 idempotency_conflict`}),`. An in-progress generation returns `,_jsx(_components.code,{children:`503 generation_in_progress`}),` with `,_jsx(_components.code,{children:`Retry-After: 5`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`get-and-list-generations`,children:`Get and list generations`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /api/v1/hub/generations/{id}`}),` returns one generation.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`GET /api/v1/hub/generations`}),` lists the newest generations first.`]}),`\n`,_jsxs(_components.li,{children:[`Available filters are `,_jsx(_components.code,{children:`limit`}),`, `,_jsx(_components.code,{children:`cursor`}),`, `,_jsx(_components.code,{children:`status`}),`, `,_jsx(_components.code,{children:`from`}),`, `,_jsx(_components.code,{children:`to`}),`, `,_jsx(_components.code,{children:`model`}),`, and `,_jsx(_components.code,{children:`media_only`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`media_only=true`}),` excludes LLM executions before pagination and the `,_jsx(_components.code,{children:`total_billed`}),` calculation.`]}),`\n`,_jsxs(_components.li,{children:[`Use the opaque `,_jsx(_components.code,{children:`next_cursor`}),` unchanged to load the next page.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`cancel-a-generation`,children:`Cancel a generation`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /api/v1/hub/generations/{id}/cancel`}),` cancels only a `,_jsx(_components.code,{children:`queued`}),` generation. Other states return `,_jsx(_components.code,{children:`409 not_cancelable`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`chat-completions-compatibility`,children:`Chat Completions compatibility`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`POST /api/v1/hub/chat/completions`}),` accepts OpenAI-compatible fields and forwards additional fields to the provider. Set `,_jsx(_components.code,{children:`stream`}),` to `,_jsx(_components.code,{children:`false`}),` or omit it. Omit the unsupported `,_jsx(_components.code,{children:`n`}),` parameter. A `,_jsx(_components.code,{children:`200`}),` response also includes:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,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:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Fanify-Generation-Id: 0192f3a4-8c1e-7b2a-9f10-2b6d4e0c9a11`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`X-Fanify-Billed-Cost: 0.000041`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`The alias also accepts `,_jsx(_components.code,{children:`Idempotency-Key`}),`. A completed replay returns the existing completion. An in-progress replay returns `,_jsx(_components.code,{children:`503 generation_in_progress`}),` with `,_jsx(_components.code,{children:`Retry-After: 5`}),`. Reusing the key with a different body returns `,_jsx(_components.code,{children:`422 idempotency_conflict`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A failure of the routed model returns the `,_jsx(_components.code,{children:`provider_error`}),` code: its `,_jsx(_components.code,{children:`4xx`}),` status is kept, except `,_jsx(_components.code,{children:`401`}),` and `,_jsx(_components.code,{children:`402`}),` which become `,_jsx(_components.code,{children:`503`}),`; any other failure returns `,_jsx(_components.code,{children:`503`}),`. See `,_jsx(_components.a,{href:`/en/hub/errors`,children:`Errors`}),`.`]})]})}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":"Generations","description":"Submit, track, list, and cancel Fanify Hub generations.","href":"/en/hub/generations"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Submit a generation","slug":"submit-a-generation","depth":2,"children":[]},{"title":"Get and list generations","slug":"get-and-list-generations","depth":2,"children":[]},{"title":"Cancel a generation","slug":"cancel-a-generation","depth":2,"children":[]},{"title":"Chat Completions compatibility","slug":"chat-completions-compatibility","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"saufrasoft","siteName":"Fanify","title":"Generations - Fanify","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"fr":{"href":"/fr/hub/generations","matchLevel":1},"en":{"href":"/en/hub/generations","matchLevel":0}}},"lastModified":"2026-11-22T03:22:37.663Z","originalFileLocation":"en/hub/generations.mdx","locale":"en"},"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=\"Submit, track, list, and cancel Fanify Hub generations.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fanify\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_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/saufrasoft/c9PH6pWdD6oy3Fby/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Generations - Fanify\">\u003cmeta data-mint-head property=\"og:description\" content=\"Submit, track, list, and cancel Fanify Hub generations.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fanify\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fanifyai.com/en/hub/generations\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://saufrasoft.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=Generations\u0026amp;description=Submit%2C+track%2C+list%2C+and+cancel+Fanify+Hub+generations.\u0026amp;theme=ed68368754f814efe51b074f\u0026amp;signature=cfb309ae40fcb4bf235f6e52b94c0a9831164b79ab071648ed911f6db34c3dca\">\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=\"Generations - Fanify\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Submit, track, list, and cancel Fanify Hub generations.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://saufrasoft.mintlify.site/_mintlify/api/og/v2?division=API\u0026amp;title=Generations\u0026amp;description=Submit%2C+track%2C+list%2C+and+cancel+Fanify+Hub+generations.\u0026amp;theme=ed68368754f814efe51b074f\u0026amp;signature=cfb309ae40fcb4bf235f6e52b94c0a9831164b79ab071648ed911f6db34c3dca\">\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/saufrasoft/c9PH6pWdD6oy3Fby/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fanify\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4972F3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fanifyai.com/en/hub/generations\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/hub/generations.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.fanifyai.com/en/hub/generations\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.fanifyai.com/fr/hub/generations\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.fanifyai.com/fr/hub/generations\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fanifyai.com/#organization\",\"name\":\"Fanify\",\"url\":\"https://docs.fanifyai.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/saufrasoft/y8Uptj2HlX4eg8dh/logo/fanify-colored-transparent-1024px.png?fit=max\u0026auto=format\u0026n=y8Uptj2HlX4eg8dh\u0026q=85\u0026s=174c21d6d91fcf57271890b1f3e57e6a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fanifyai.com#website\",\"name\":\"Fanify\",\"url\":\"https://docs.fanifyai.com\",\"publisher\":{\"@id\":\"https://docs.fanifyai.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fanifyai.com/en/hub/generations#webpage\",\"url\":\"https://docs.fanifyai.com/en/hub/generations\",\"name\":\"Generations\",\"description\":\"Submit, track, list, and cancel Fanify Hub generations.\",\"dateModified\":\"2026-11-22T03:22:37.663Z\",\"isPartOf\":{\"@id\":\"https://docs.fanifyai.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fanifyai.com/en/hub/generations#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fanifyai.com/en/hub/generations#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API\",\"item\":\"https://docs.fanifyai.com/en/hub/authentication\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Generations\",\"item\":\"https://docs.fanifyai.com/en/hub/generations\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.fanifyai.com/en/hub/generations#article\",\"headline\":\"Generations\",\"name\":\"Generations\",\"description\":\"Submit, track, list, and cancel Fanify Hub generations.\",\"url\":\"https://docs.fanifyai.com/en/hub/generations\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fanifyai.com/en/hub/generations#webpage\"},\"dateModified\":\"2026-11-22T03:22:37.663Z\",\"publisher\":{\"@id\":\"https://docs.fanifyai.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fanifyai.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fanify\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fanify\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/hub/generations.md","siteName":"Fanify","nav":{"global":null,"languages":[{"language":"fr","pages":[{"title":"fr","href":"/fr/hub/generations"}]},{"language":"en","tabs":[{"tab":"Fanify Hub","icon":"wand-magic-sparkles","pages":[{"title":"Overview","href":"/en/hub/overview"},{"title":"Use Fanify Hub with an AI","href":"/en/hub/agent-skill"},{"group":"API","icon":"plug","expanded":false,"pages":[{"title":"Authentication","href":"/en/hub/authentication"},{"title":"Models and pricing","description":"List Fanify Hub models and estimate generation costs.","href":"/en/hub/models-and-pricing"},{"title":"Generations","href":"/en/hub/generations"},{"title":"Decisions","description":"Ask a decision model typed questions about a state and read answers with probabilities.","href":"/en/hub/decisions"},{"title":"Embeddings","href":"/en/hub/embeddings"},{"title":"Transcriptions","href":"/en/hub/transcriptions"},{"title":"Files","href":"/en/hub/files"},{"title":"Webhooks","href":"/en/hub/webhooks"},{"title":"Errors","href":"/en/hub/errors"}]},{"group":"API reference","icon":"code","expanded":false,"pages":[{"group":"Chat","pages":[{"title":"Chat Completion","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/chat/completions","href":"/hub/reference-en/chat/chat-completion"}]},{"group":"Decisions","pages":[{"title":"Decision","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/decisions","href":"/hub/reference-en/decisions/decision"}]},{"group":"Embeddings","pages":[{"title":"Embeddings","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/embeddings","href":"/hub/reference-en/embeddings/embeddings"}]},{"group":"Transcriptions","pages":[{"title":"Transcription","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/audio/transcriptions","href":"/hub/reference-en/transcriptions/transcription"}]},{"group":"Files","pages":[{"title":"List files","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/files","href":"/hub/reference-en/files/list-files"},{"title":"Upload file","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/files","href":"/hub/reference-en/files/upload-file"},{"title":"Download file by hash","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/files/sha256/{hash}","href":"/hub/reference-en/files/download-file-by-hash"},{"title":"Delete file","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/files/sha256/{hash}","href":"/hub/reference-en/files/delete-file"},{"title":"Probe file by hash","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json head /api/v1/hub/files/sha256/{hash}","href":"/hub/reference-en/files/probe-file-by-hash"}]},{"group":"Generations","pages":[{"title":"List generations","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/generations","href":"/hub/reference-en/generations/list-generations"},{"title":"Create generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/generations","href":"/hub/reference-en/generations/create-generation"},{"title":"Get generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/generations/{id}","href":"/hub/reference-en/generations/get-generation"},{"title":"Cancel generation","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/generations/{id}/cancel","href":"/hub/reference-en/generations/cancel-generation"}]},{"group":"API keys","pages":[{"title":"List API keys","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/keys","href":"/hub/reference-en/api-keys/list-api-keys"},{"title":"Create API key","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/keys","href":"/hub/reference-en/api-keys/create-api-key"},{"title":"Revoke API key","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/keys/{id}","href":"/hub/reference-en/api-keys/revoke-api-key"}]},{"group":"Account","pages":[{"title":"Get account","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/me","href":"/hub/reference-en/account/get-account"}]},{"group":"Models","pages":[{"title":"List models","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/models","href":"/hub/reference-en/models/list-models"},{"title":"Estimate price","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/models/{id}/pricing","href":"/hub/reference-en/models/estimate-price"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/webhooks","href":"/hub/reference-en/webhooks/list-webhooks"},{"title":"Create webhook","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json post /api/v1/hub/webhooks","href":"/hub/reference-en/webhooks/create-webhook"},{"title":"Delete webhook","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json delete /api/v1/hub/webhooks/{id}","href":"/hub/reference-en/webhooks/delete-webhook"}]},{"group":"Reference","pages":[{"title":"OpenAPI document","deprecated":null,"version":null,"openapi":"/hub/openapi/hub.json get /api/v1/hub/openapi.json","href":"/hub/reference-en/reference/openapi-document"}]}]}]}]}]},"basePath":"","title":"Generations - Fanify","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}