Callback URL. The task completion or failure will be sent to this URL. The data structure is consistent with the fetch structure [blocked]. If not set, you need to call the fetch API [blocked] to query.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TTAPI Docs","description":"Official documentation for TTAPI APIs including Suno API, Midjourney API, Producer API and AI image, video, music services.","colors":{"primary":"#0F7BDE","light":"#0F7BDE","dark":"#0F7BDE"},"logo":"https://mintcdn.com/acme-ce820e56/fUNMlVTRb_WNonix/favicon.ico?fit=max\u0026auto=format\u0026n=fUNMlVTRb_WNonix\u0026q=85\u0026s=e18fef3148d7082fb4075aad93474247","favicon":"https://mintcdn.com/acme-ce820e56/fUNMlVTRb_WNonix/favicon.ico?fit=max\u0026auto=format\u0026n=fUNMlVTRb_WNonix\u0026q=85\u0026s=e18fef3148d7082fb4075aad93474247","navbar":{"links":[{"href":"mailto:support@ttapi.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dashboard.ttapi.io"}},"footer":{"socials":{"telegram":"https://t.me/+UE4KymT8r7ZjMTVl","discord":"https://discord.gg/edugm4QmCb"}},"seo":{"metatags":{"canonical":"https://docs.ttapi.io","description":"TTAPI unified AI API platform providing Suno API, Midjourney API, Producer API and image, video, music generation APIs.","keywords":"AI API aggregation, Suno API, Midjourney API, Midjourney API documentation, Midjourney imagine API, Midjourney fetch API image generation API, video generation API, music generation API","author":"TTAPI","application-name":"TTAPI","apple-mobile-web-app-title":"TTAPI","og:site_name":"TTAPI","robots":"index, follow","googlebot":"index, follow","google-site-verification":"s1XjZs9Wp2uv51os_g7d7_pJcUVLb0QVbV0d-HI077A","og:image":"https://docs.ttapi.io/og.png"},"indexing":"navigable"},"fonts":{"family":"Open Sans"},"icons":{"library":"fontawesome"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":true},"markdown":{"instructions":["Send API requests to https://api.ttapi.io with the TT-API-KEY header. Midjourney account hosting uses https://hold.ttapi.io. Claude Code uses https://cc.ttapi.io.","Most generation endpoints are asynchronous. The submit response returns a job id. Poll that product's fetch endpoint, or pass a webhook on the submit request. A fetch call does not start a new generation.","1 USD = 100 quota. Check the pricing page for that product before estimating cost.","This file lists the English docs. Follow every /_llms/ link recursively for the API reference, Chinese, and Russian. Open a page's .md URL for the endpoint schema."]},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://ttapi.io"}]},"languages":[{"language":"en","default":true,"href":""},{"language":"cn","href":"grids/cn/start/introduction"},{"language":"ru","href":"grids/ru/start/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"acme-ce820e56","hasAudioNarration":false,"actualSubdomain":"acme-ce820e56","customDomains":["docs.ttapi.io"],"gitSource":{"type":"github","owner":"y1466382670","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6adb02b88b556ed6c8e89fe7","collectionId":"eb257328-8f01-47ac-bf49-cb86f0fb1709","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6adb02b88b556ed6c8e89fe7"},"entitlements":{},"buildId":"6adb02b88b556ed6c8e89fe7","clientVersion":"0.0.3964","searchFilterCounts":[{"language":"cn","tag":"API参考","count":152},{"language":"en","tag":"API Reference","count":152},{"language":"ru","tag":"Справочник API","count":152},{"language":"cn","tag":"音乐生成","count":64},{"language":"en","tag":"Music Generation","count":64},{"language":"ru","tag":"Генерация музыки","count":64},{"language":"cn","tag":"图片生成","count":49},{"language":"en","tag":"Image Generation","count":49},{"language":"ru","tag":"Генерация изображений","count":49},{"language":"cn","tag":"Suno","count":42},{"language":"en","tag":"Suno","count":42},{"language":"ru","tag":"Suno","count":42},{"language":"cn","tag":"视频生成","count":32},{"language":"en","tag":"Video Generation","count":32},{"language":"ru","tag":"Генерация видео","count":32},{"language":"cn","tag":"指南","count":20},{"language":"en","tag":"Guides","count":20},{"language":"ru","tag":"Руководства","count":20},{"language":"cn","tag":"Flux AI","count":15},{"language":"en","tag":"Flux AI","count":15},{"language":"ru","tag":"Flux AI","count":15},{"language":"cn","tag":"Midjourney","count":14},{"language":"cn","tag":"Producer","count":14},{"language":"en","tag":"Midjourney","count":14},{"language":"en","tag":"Producer","count":14},{"language":"ru","tag":"Midjourney","count":14},{"language":"ru","tag":"Producer","count":14},{"language":"cn","tag":"Grok","count":13},{"language":"en","tag":"Grok","count":13},{"language":"ru","tag":"Grok","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"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":"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":true},"customCss":[{"filePath":"public/style.css","content":".group.flex.items-start{align-items:center!important;justify-content:flex-start!important}.group.flex.items-start img.h-4.w-4{flex-shrink:0;display:block}.group.flex.items-start div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.group.flex.items-start svg{margin-left:auto!important;align-self:center!important}.tt-history--timeline{--tt-timeline-date-width:5rem;--tt-timeline-gap:2rem;--tt-timeline-line:rgba(15, 123, 222, 0.18);--tt-timeline-dot:#0f7bde;display:grid;grid-template-columns:var(--tt-timeline-date-width) minmax(0,1fr);column-gap:var(--tt-timeline-gap);row-gap:1rem;position:relative;align-items:start;margin-top:.75rem}.tt-history--timeline::before{content:\"\";position:absolute;top:.4rem;bottom:.4rem;left:calc(var(--tt-timeline-date-width) + (var(--tt-timeline-gap)/2));transform:translateX(-50%);width:2px;background:linear-gradient(180deg,rgba(15,123,222,.1),rgba(15,123,222,.3),rgba(15,123,222,.1));border-radius:999px}.tt-history--timeline>h2{grid-column:1;margin:0;padding-top:.15rem;font-size:.95rem;line-height:1.4;text-align:right;color:rgba(71,85,105,.95);position:relative}.tt-history--timeline>h2::after{content:\"\";position:absolute;top:.35rem;right:calc(-1*((var(--tt-timeline-gap)/2) + .4rem));width:.8rem;height:.8rem;background:#fff;border:3px solid var(--tt-timeline-dot);border-radius:999px;box-shadow:0 0 0 6px rgba(15,123,222,.08)}.tt-history--timeline>ul{grid-column:2;margin:0;padding:1rem 1.25rem 1rem 1rem;font-size:.9rem;line-height:1.6;border:1px solid rgba(15,123,222,.12);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,255,.96));box-shadow:0 10px 30px rgba(15,23,42,.05);position:relative}.tt-history--timeline>ul li+li{margin-top:.65rem}.tt-history--timeline>ul li::marker{color:rgba(15,123,222,.8)}.tt-history--timeline>ul a{text-decoration-thickness:1.5px}@media (max-width:900px){.tt-history--timeline{grid-template-columns:1fr;row-gap:.55rem}.tt-history--timeline::before{left:.55rem;transform:translateX(-50%)}.tt-history--timeline>h2{grid-column:1;text-align:left;padding-left:1.7rem;font-size:.9rem}.tt-history--timeline>h2::after{left:.15rem;right:auto}.tt-history--timeline>ul{grid-column:1;margin-left:1.7rem}}[data-streamdown=list-item]::marker{display:none}"}],"page":{"pagePath":"api/en/novel/text-to-image","slug":"/api/en/novel/text-to-image","pageMetadata":{"sidebarTitle":"Text to Image","title":"NovelAI Text to Image API Documentation","description":"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.","keywords":["NovelAI API","anime image generation API","text to image","AI illustration API"],"openapi":"openapi/en/novel.json POST /novelai/text-to-image","href":"/api/en/novel/text-to-image"},"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: \"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsx(Note,{children:_jsx(_components.p,{children:`Focused on anime-style image generation, supporting text-to-image, sketch-to-final, and image redraw functionalities.`})})}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":{"sidebarTitle":"Text to Image","title":"NovelAI Text to Image API Documentation","description":"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.","keywords":["NovelAI API","anime image generation API","text to image","AI illustration API"],"openapi":"openapi/en/novel.json POST /novelai/text-to-image","href":"/api/en/novel/text-to-image"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/acme-ce820e56/6de44831c3c57b37/public/language-route-switcher.js"],"openApiReferenceData":{"operation":{"security":["b74fc034-829b-4444-9623-4baa237051df"],"requestBody":"a5c36d2e-5090-4d01-9fdc-1a4f5c99b4c0","responses":{"200":"7ca539f6-cbb8-444e-b972-122dcead72eb","400":"fc2eb81d-0a69-4123-8c83-4e1f943ed15b","401":"d5dd2845-c5a2-460a-be6f-d1e12ed09ca5"},"method":"post","type":"path","servers":["b78b96fd-9637-4403-a6f2-36e7235cb6b3"],"path":"/novelai/text-to-image","baseUrlOptions":["https://api.ttapi.io"],"title":"","description":"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"prompt":{"type":"string","description":"Image description for generation or modification","isRequired":true,"uniqueKey":"prompt","typeLabel":"string"},"model":{"type":"string","description":"Model to use","default":"nai-diffusion-5-curated","enum":["nai-diffusion-5-full","nai-diffusion-5-curated","nai-diffusion-4-5-full","nai-diffusion-4-5-curated"],"isRequired":true,"uniqueKey":"model","typeLabel":"enum\u003cstring>"},"n":{"type":"integer","default":1,"description":"Number of images to generate 1 - 4","uniqueKey":"n","typeLabel":"integer"},"width":{"type":"integer","default":1024,"description":"Image width","uniqueKey":"width","typeLabel":"integer"},"height":{"type":"integer","default":1024,"description":"Image height","uniqueKey":"height","typeLabel":"integer"},"seed":{"type":"string","description":"Seed","uniqueKey":"seed","typeLabel":"string"},"steps":{"type":"integer","description":"Number of sampling steps","default":23,"uniqueKey":"steps","typeLabel":"integer"},"scale":{"type":"number","description":"A lower guidance scale produces softer, more painterly results. A higher guidance scale produces finer details and sharper effects.","default":5,"uniqueKey":"scale","typeLabel":"number"},"negative_prompt":{"type":"string","description":"Unwanted content","uniqueKey":"negative_prompt","typeLabel":"string"},"quality_toggle":{"type":"boolean","description":"Quality toggle","default":true,"uniqueKey":"quality_toggle","typeLabel":"boolean"},"sampler":{"type":"string","description":"Sampler","default":"Euler Ancestral","enum":["Euler Ancestral","Euler","DPM++ 2S Ancestral","DPM++ 2M SDE","DPM++ 2M","DPM++ SDE"],"uniqueKey":"sampler","typeLabel":"enum\u003cstring>"},"noise_schedule":{"type":"string","description":"Noise schedule","default":"karras","enum":["karras","exponential","polyexponential"],"uniqueKey":"noise_schedule","typeLabel":"enum\u003cstring>"},"character_prompts":{"type":"array","description":"Character list","items":{"type":"object","properties":{"prompt":{"type":"string","description":"Character information","isRequired":true,"uniqueKey":"character_prompts.items.[INDEX].prompt","typeLabel":"string"},"center":{"type":"object","description":"Character center coordinates in the frame","properties":{"x":{"type":"number","description":"X-axis coordinate (between 0-1)","default":0.5,"isRequired":true,"uniqueKey":"character_prompts.items.[INDEX].center.x","typeLabel":"number"},"y":{"type":"number","description":"Y-axis coordinate (between 0-1)","default":0.5,"isRequired":true,"uniqueKey":"character_prompts.items.[INDEX].center.y","typeLabel":"number"}},"required":["x","y"],"isRequired":true,"uniqueKey":"character_prompts.items.[INDEX].center","typeLabel":"object"},"uc":{"type":"string","description":"Unwanted character content","example":"blurred, extra accessories","uniqueKey":"character_prompts.items.[INDEX].uc","typeLabel":"string"}},"required":["prompt","center"],"uniqueKey":"character_prompts.items.[INDEX]","typeLabel":"object"},"uniqueKey":"character_prompts","typeLabel":"object[]"},"vibe_transfer":{"type":"array","description":"Atmosphere transfer reference","items":{"type":"object","properties":{"image":{"type":"string","description":"Image, URL or base64","example":"https://example.com/ref1.jpg","isRequired":true,"uniqueKey":"vibe_transfer.items.[INDEX].image","typeLabel":"string"},"strength":{"type":"number","description":"Reference strength >= 0 \u003c= 1","default":0.6,"uniqueKey":"vibe_transfer.items.[INDEX].strength","typeLabel":"number"}},"required":["image"],"uniqueKey":"vibe_transfer.items.[INDEX]","typeLabel":"object"},"uniqueKey":"vibe_transfer","typeLabel":"object[]"},"character_reference":{"type":"array","description":"Precise reference","items":{"type":"object","properties":{"image":{"type":"string","description":"Image, URL or base64","example":"https://example.com/ref2.jpg","isRequired":true,"uniqueKey":"character_reference.items.[INDEX].image","typeLabel":"string"},"type":{"type":"string","description":"Reference type","enum":["character\u0026style","character","style"],"default":"character\u0026style","uniqueKey":"character_reference.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"strength":{"type":"number","description":"Reference strength >= 0 \u003c= 1. A lower value gives the AI more creative freedom, a higher value makes AI follow the reference more closely, possibly replicating facial expressions, angles, and poses.","default":1,"uniqueKey":"character_reference.items.[INDEX].strength","typeLabel":"number"},"fidelity":{"type":"number","description":"Fidelity >= 0 \u003c= 1","default":0,"uniqueKey":"character_reference.items.[INDEX].fidelity","typeLabel":"number"}},"required":["image"],"uniqueKey":"character_reference.items.[INDEX]","typeLabel":"object"},"uniqueKey":"character_reference","typeLabel":"object[]"},"hook_url":{"type":"string","description":"Callback URL. The task completion or failure will be sent to this URL. The data structure is consistent with the \u003ca href=\"fetch\" target=\"_self\">fetch structure\u003c/a>. If not set, you need to call the \u003ca href=\"fetch\" target=\"_self\">fetch API\u003c/a> to query.","uniqueKey":"hook_url","typeLabel":"string"}},"required":["prompt","model"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"prompt":"\u003cstring>","model":"nai-diffusion-5-curated","n":1,"width":1024,"height":1024,"seed":"\u003cstring>","steps":23,"scale":5,"negative_prompt":"\u003cstring>","quality_toggle":true,"sampler":"Euler Ancestral","noise_schedule":"karras","character_prompts":[{"prompt":"\u003cstring>","center":{"x":0.5,"y":0.5},"uc":"blurred, extra accessories"}],"vibe_transfer":[{"image":"https://example.com/ref1.jpg","strength":0.6}],"character_reference":[{"image":"https://example.com/ref2.jpg","type":"character\u0026style","strength":1,"fidelity":0}],"hook_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"7ca539f6-cbb8-444e-b972-122dcead72eb":{"description":"Request successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"SUCCESS","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"success","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","example":{"jobId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["status","message","data"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"SUCCESS","message":"success","data":{"jobId":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fc2eb81d-0a69-4123-8c83-4e1f943ed15b":{"description":"Parameter error","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"FAILED","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"\"prompt\" cannot be empty.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"data":{"type":"object","uniqueKey":"data","typeLabel":"object"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"FAILED","message":"\"prompt\" cannot be empty.","data":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"d5dd2845-c5a2-460a-be6f-d1e12ed09ca5":{"description":"Authorization failed","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"FAILED","isRequired":true,"uniqueKey":"status","typeLabel":"string"},"message":{"type":"string","example":"Wrong TT-API-KEY or email is not activated.","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["status","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"status":"FAILED","message":"Wrong TT-API-KEY or email is not activated."}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"b74fc034-829b-4444-9623-4baa237051df":{"CustomApiKey":{"type":"apiKey","in":"header","name":"TT-API-KEY","description":"You can obtain your API key from the \u003ca href='https://dashboard.ttapi.io' target='_blank'>TTAPI Dashboard\u003c/a>.","scopes":[]}}},"servers":{"b78b96fd-9637-4403-a6f2-36e7235cb6b3":{"url":"https://api.ttapi.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"TT-API-KEY","description":"You can obtain your API key from the \u003ca href='https://dashboard.ttapi.io' target='_blank'>TTAPI Dashboard\u003c/a>.","scopes":[]},"schema":{"title":"TT-API-KEY","type":"string","description":"You can obtain your API key from the \u003ca href='https://dashboard.ttapi.io' target='_blank'>TTAPI Dashboard\u003c/a>.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"CustomApiKey","name":"TT-API-KEY"}],"title":"CustomApiKey"}]},"originalFileLocation":"openapi/en/novel.json"},"subdomain":"acme-ce820e56","siteName":"TTAPI Docs","title":"NovelAI Text to Image API Documentation - TTAPI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/en/novel/text-to-image","matchLevel":0},"cn":{"href":"/api/cn/novel/text-to-image","matchLevel":1},"ru":{"href":"/api/ru/novel/text-to-image","matchLevel":1}}},"lastModified":"2026-03-21T06:51:10.808Z","gitLastModified":"2026-03-21T05:54:23.000Z","originalFileLocation":"api/en/novel/text-to-image.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=\"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.\">\u003cmeta data-mint-head name=\"keywords\" content=\"AI API aggregation, Suno API, Midjourney API, Midjourney API documentation, Midjourney imagine API, Midjourney fetch API image generation API, video generation API, music generation API\">\u003cmeta data-mint-head name=\"application-name\" content=\"TTAPI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"NovelAI Text to Image API Documentation - TTAPI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TTAPI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ttapi.io/api/en/novel/text-to-image\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.ttapi.io/og.png\">\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=\"NovelAI Text to Image API Documentation - TTAPI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.ttapi.io/og.png\">\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/acme-ce820e56/7zfqBF-tQ3OTWOFw/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TTAPI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F7BDE\">\u003cmeta data-mint-head name=\"author\" content=\"TTAPI\">\u003cmeta data-mint-head name=\"application-name\" content=\"TTAPI\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"s1XjZs9Wp2uv51os_g7d7_pJcUVLb0QVbV0d-HI077A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ttapi.io/api/en/novel/text-to-image\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/en/novel/text-to-image.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.ttapi.io/api/en/novel/text-to-image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.ttapi.io/api/cn/novel/text-to-image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.ttapi.io/api/ru/novel/text-to-image\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.ttapi.io/api/en/novel/text-to-image\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ttapi.io/#organization\",\"name\":\"TTAPI Docs\",\"url\":\"https://docs.ttapi.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/acme-ce820e56/fUNMlVTRb_WNonix/favicon.ico?fit=max\u0026auto=format\u0026n=fUNMlVTRb_WNonix\u0026q=85\u0026s=e18fef3148d7082fb4075aad93474247\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ttapi.io#website\",\"name\":\"TTAPI Docs\",\"url\":\"https://docs.ttapi.io\",\"publisher\":{\"@id\":\"https://docs.ttapi.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ttapi.io/api/en/novel/text-to-image#webpage\",\"url\":\"https://docs.ttapi.io/api/en/novel/text-to-image\",\"name\":\"NovelAI Text to Image API Documentation\",\"description\":\"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.\",\"dateModified\":\"2026-03-21T05:54:23.000Z\",\"isPartOf\":{\"@id\":\"https://docs.ttapi.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ttapi.io/api/en/novel/text-to-image#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ttapi.io/api/en/novel/text-to-image#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Image Generation\",\"item\":\"https://docs.ttapi.io/api/en/midjourney/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"NovelAI Text to Image API Documentation\",\"item\":\"https://docs.ttapi.io/api/en/novel/text-to-image\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ttapi.io/api/en/novel/text-to-image#apireference\",\"headline\":\"NovelAI Text to Image API Documentation\",\"name\":\"NovelAI Text to Image API Documentation\",\"description\":\"Use the NovelAI text-to-image API to generate anime-style images from prompts for characters, illustrations, concept art, and creative ideation.\",\"url\":\"https://docs.ttapi.io/api/en/novel/text-to-image\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ttapi.io/api/en/novel/text-to-image#webpage\"},\"image\":\"https://docs.ttapi.io/og.png\",\"dateModified\":\"2026-03-21T05:54:23.000Z\",\"keywords\":\"NovelAI API, anime image generation API, text to image, AI illustration API\",\"publisher\":{\"@id\":\"https://docs.ttapi.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ttapi.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TTAPI Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"TTAPI Docs","nav":{"global":{"anchors":[{"anchor":"Home","icon":"house","href":"https://ttapi.io"}]},"languages":[{"language":"en","default":true,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API Reference","pages":[{"group":"Image Generation","pages":[{"group":"Midjourney","icon":"/images/Midjourney.png","pages":[{"sidebarTitle":"Midjourney API Overview","title":"Midjourney API Documentation","href":"/api/en/midjourney"},{"sidebarTitle":"Generate Image","title":"Midjourney Imagine API Documentation","openapi":"openapi/en/midjourney.json POST /midjourney/v1/imagine","href":"/api/en/midjourney/imagine"},{"sidebarTitle":"Image Actions","title":"Midjourney Image Actions API Documentation","openapi":"openapi/en/midjourney.json POST /midjourney/v1/action","href":"/api/en/midjourney/action"},{"sidebarTitle":"Blend Images","title":"Midjourney Blend API Documentation","openapi":"openapi/en/midjourney.json POST /midjourney/v1/blend","href":"/api/en/midjourney/blend"},{"sidebarTitle":"Describe Image","title":"Midjourney Describe API Documentation","openapi":"openapi/en/midjourney.json POST /midjourney/v1/describe","href":"/api/en/midjourney/describe"},{"sidebarTitle":"Get Seed","title":"Midjourney Seed Lookup API Documentation","openapi":"openapi/en/midjourney.json POST /midjourney/v1/seed","href":"/api/en/midjourney/seed"},{"sidebarTitle":"Inpaint Image","title":"Midjourney Inpaint API Documentation","openapi":"openapi/en/midjourney.json POST /midjourney/v1/inpaint","href":"/api/en/midjourney/inpaint"},{"sidebarTitle":"Fetch Result","title":"Midjourney Task Result API Documentation","openapi":"openapi/en/midjourney.json GET /midjourney/v1/fetch","href":"/api/en/midjourney/fetch"}]},{"group":"Midjourney Edit","icon":"/images/Midjourney.png","pages":[{"title":"Midjourney Image Edit","openapi":"openapi/en/midjourneyedit.json POST /midjourney/image-edits/submit","href":"/api/en/midjourneyedit/submit"},{"title":"Midjourney Edit Result","openapi":"openapi/en/midjourneyedit.json get /midjourney/image-edits/fetch","href":"/api/en/midjourneyedit/fetch"}]},{"group":"Nano Banana","icon":"/images/Gemini.png","pages":[{"sidebarTitle":"Nano Banana Overview","title":"Nano Banana API Documentation | Nano Banana, Nano Banana 2, Nano Banana Pro","href":"/api/en/gemini/index"},{"sidebarTitle":"Generate","title":"Nano Banana Image Generation API | Nano Banana, Nano Banana 2, Nano Banana Pro","openapi":"openapi/en/gemini.json POST /gemini/image/generate","href":"/api/en/gemini/generate"},{"title":"Fetch Result","openapi":"openapi/en/gemini.json get /gemini/image/fetch","href":"/api/en/gemini/fetch"}]},{"group":"OpenAI Image","icon":"/images/open-ai.png","pages":[{"sidebarTitle":"📖 OpenAI Image API Overview","title":"OpenAI Image API Documentation","href":"/api/en/openai/index"},{"sidebarTitle":"Generations [Official]","title":"OpenAI Images Generations","openapi":"openapi/en/openai.json POST /v1/images/generations","href":"/api/en/openai/images-generations"},{"sidebarTitle":"Edits [Official]","title":"OpenAI Images Edits","openapi":"openapi/en/openai.json POST /v1/images/edits","href":"/api/en/openai/images-edits"},{"title":"GPT-Image Generation [Unofficial]","openapi":"openapi/en/openai.json POST /openai/gpt/generations","href":"/api/en/openai/gpt-generations"},{"title":"GPT-Image Result [Unofficial]","openapi":"openapi/en/openai.json get /openai/gpt/fetch","description":"Query image generation result","href":"/api/en/openai/gpt-fetch"}]},{"group":"Novel AI","icon":"/images/novel.png","pages":[{"sidebarTitle":"Text to Image","title":"NovelAI Text to Image API Documentation","openapi":"openapi/en/novel.json POST /novelai/text-to-image","href":"/api/en/novel/text-to-image"},{"sidebarTitle":"Image to Image","title":"NovelAI Image to Image API Documentation","description":"Use the NovelAI image-to-image API to transform reference images with style transfer, redraw workflows, and anime-focused visual generation.","openapi":"openapi/en/novel.json POST /novelai/image-to-image","href":"/api/en/novel/image-to-image"},{"sidebarTitle":"NovelAI Result","title":"NovelAI Result Fetch API Documentation","openapi":"openapi/en/novel.json get /novelai/fetch","href":"/api/en/novel/fetch"}]},{"group":"Flux AI","icon":"/images/flux.png","pages":[{"sidebarTitle":"📖 Flux API Overview","title":"Flux API","href":"/api/en/flux/index"},{"group":"Flux 3","pages":[{"sidebarTitle":"FLUX 3 Image","title":"Generate an image with FLUX 3","openapi":"openapi/en/flux.json POST /bfl/v1/flux-3-image","href":"/api/en/flux/flux-3-image"},{"sidebarTitle":"FLUX 3 Image Klein","title":"Generate an image with FLUX 3 Image Klein","openapi":"openapi/en/flux.json POST /bfl/v1/flux-3-image-klein","href":"/api/en/flux/flux-3-image-klein"}]},{"group":"Flux 2","pages":[{"sidebarTitle":"Flux.2[klein] 4B","title":"Flux.2[klein] 4B API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-2-klein-4b","href":"/api/en/flux/flux-2-klein-4b"},{"sidebarTitle":"Flux.2[klein] 9B","title":"Flux.2[klein] 9B API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-2-klein-9b","href":"/api/en/flux/flux-2-klein-9b"},{"sidebarTitle":"Flux.2[max]","title":"Flux.2[max] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-2-max","href":"/api/en/flux/flux-2-max"},{"sidebarTitle":"Flux.2[flex]","title":"Flux.2[flex] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-2-flex","href":"/api/en/flux/flux-2-flex"},{"sidebarTitle":"Flux.2[pro]","title":"Flux.2[pro] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-2-pro","href":"/api/en/flux/flux-2-pro"}]},{"group":"Flux 1","pages":[{"sidebarTitle":"Flux.1 Kontext[max]","title":"Flux Kontext Max API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-kontext-max","href":"/api/en/flux/flux-kontext-max"},{"sidebarTitle":"Flux.1 Kontext[pro]","title":"Flux.1 Kontext[pro] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-kontext-pro","href":"/api/en/flux/flux-kontext-pro"},{"sidebarTitle":"Flux.1.1[pro] Ultra","title":"Flux.1.1[pro] Ultra API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-pro-1.1-ultra","href":"/api/en/flux/flux-pro-1.1-ultra"},{"sidebarTitle":"Flux.1.1[pro]","title":"Flux.1.1[pro] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-pro-1.1","href":"/api/en/flux/flux-pro-1.1"},{"sidebarTitle":"Flux.1[pro]","title":"Flux.1[pro] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-pro","href":"/api/en/flux/flux-pro"},{"sidebarTitle":"Flux.1[dev]","title":"Flux.1[dev] API Documentation","openapi":"openapi/en/flux.json POST /bfl/v1/flux-dev","href":"/api/en/flux/flux-dev"}]},{"sidebarTitle":"Fetch Result","title":"Flux Result Fetch API Documentation","openapi":"openapi/en/flux.json GET /flux/fetch","href":"/api/en/flux/fetch"}]},{"group":"Grok Image","icon":"/images/grok.svg","pages":[{"title":"Text to Image","openapi":"openapi/en/grokimage.json POST /grok/image","href":"/api/en/grokimage/image"},{"title":"Edit Image","openapi":"openapi/en/grokimage.json POST /grok/image/edits","href":"/api/en/grokimage/editimage"},{"title":"Grok Result","openapi":"openapi/en/grokimage.json post /grok/image/fetch","href":"/api/en/grokimage/fetch"}]},{"group":"SwapFace","icon":"/images/face.png","pages":[{"title":"Swap","openapi":"openapi/en/swapface.json POST /insightFace/v1/swap","href":"/api/en/swapface/swap"},{"title":"SwapFace Result Fetch","openapi":"openapi/en/swapface.json get /insightFace/v1/fetch","href":"/api/en/swapface/fetch"}]},{"group":"Seedream","icon":"/images/huoshan.jpg","pages":[{"sidebarTitle":"Seedream Image Generation API Overview","title":"Seedream Image Generation API Documentation","href":"/api/en/seedream/index"},{"title":"Text-to-Image","openapi":"openapi/en/seedream-text-to-image.json POST /sd/api/v3/images/generations/tasks","href":"/api/en/seedream/text-to-image"},{"title":"Image-to-Image","openapi":"openapi/en/seedream-image-to-image.json POST /sd/api/v3/images/generations/tasks","href":"/api/en/seedream/image-to-image"},{"title":"Multi-Image Fusion","openapi":"openapi/en/seedream-multi-image.json POST /sd/api/v3/images/generations/tasks","href":"/api/en/seedream/multi-image"},{"title":"Layer Decomposition","openapi":"openapi/en/seedream-layer-decomposition.json POST /sd/api/v3/images/generations/tasks","href":"/api/en/seedream/layer-decomposition"},{"title":"Interactive Edit","openapi":"openapi/en/seedream-interactive-edit.json POST /sd/api/v3/images/generations/tasks","href":"/api/en/seedream/interactive-edit"},{"title":"Fetch Result","openapi":"openapi/en/seedream.json GET /sd/api/v3/images/generations/tasks/{id}","href":"/api/en/seedream/fetch"},{"title":"Text-to-Image (Sync)","openapi":"openapi/en/seedream-text-to-image-sync.json POST /sd/api/v3/images/generations","href":"/api/en/seedream/text-to-image-sync"}]}]},{"group":"Video Generation","pages":[{"group":"Midjourney","icon":"/images/Midjourney.png","pages":[{"title":"Midjourney Video Generation","openapi":"openapi/en/sora.json POST /midjourney/video/submit","href":"/api/en/videoapi/submit"},{"title":"Midjourney Video Extend","openapi":"openapi/en/sora.json POST /midjourney/video/extend","href":"/api/en/videoapi/extend"},{"title":"Midjourney Video Result","openapi":"openapi/en/sora.json get /midjourney/video/fetch","href":"/api/en/videoapi/fetch"}]},{"group":"Grok","icon":"/images/grok.svg","pages":[{"sidebarTitle":"Grok Video Overview","title":"Grok Video API Documentation","href":"/api/en/grok/index"},{"title":"Text to Video","openapi":"openapi/en/grok-text-to-video.json POST /grok/generations","href":"/api/en/grok/text-to-video"},{"title":"First Frame to Video","openapi":"openapi/en/grok-first-frame-to-video.json POST /grok/generations","href":"/api/en/grok/first-frame-to-video"},{"title":"Last Frame to Video","openapi":"openapi/en/grok-last-frame-to-video.json POST /grok/generations","href":"/api/en/grok/last-frame-to-video"},{"title":"First \u0026 Last Frame to Video","openapi":"openapi/en/grok-first-last-frame-to-video.json POST /grok/generations","href":"/api/en/grok/first-last-frame-to-video"},{"title":"Keyframe to Video","openapi":"openapi/en/grok-keyframe-to-video.json POST /grok/generations","href":"/api/en/grok/keyframe-to-video"},{"title":"Reference to Video","openapi":"openapi/en/grok-reference-to-video.json POST /grok/generations","href":"/api/en/grok/reference-to-video"},{"title":"Video Extension","sidebarTitle":"Video Extension (Non-Official)","openapi":"openapi/en/grok.json POST /grok/extensions","href":"/api/en/grok/extensions"},{"title":"Grok Video Result","sidebarTitle":"Grok Video Result (UnOfficial)","openapi":"openapi/en/grok.json get /grok/fetch","href":"/api/en/grok/fetch"},{"title":"Generate Video-Official","openapi":"openapi/en/grok_video.json POST /grok/v1/videos/generations","href":"/api/en/grok/video-generations"},{"title":"Video Extension-Official","openapi":"openapi/en/grok_video.json POST /grok/v1/videos/extensions","href":"/api/en/grok/video-extensions"},{"title":"Query Video Results-Official","openapi":"openapi/en/grok_video.json GET /grok/v1/videos/{request_id}","href":"/api/en/grok/video-fetch"}]},{"group":"HappyHorse","icon":"/images/happyhorse.png","pages":[{"sidebarTitle":" HappyHorse Video API Overview","title":"HappyHorse Video API Documentation","href":"/api/en/happyhorse/index"},{"title":"Text-to-Video","openapi":"openapi/en/happyhorse.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/happyhorse/generations"},{"title":"Image-to-Video - First Frame","openapi":"openapi/en/happyhorse-image-to-video.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/happyhorse/image-to-video"},{"title":"Reference-to-Video","openapi":"openapi/en/happyhorse-reference-to-video.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/happyhorse/reference-to-video"},{"title":"Video Editing","openapi":"openapi/en/happyhorse-video-edit.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/happyhorse/video-edit"},{"title":"Query Task Result","openapi":"openapi/en/happyhorse.json GET /happyhorse/api/v1/tasks/{task_id}","href":"/api/en/happyhorse/fetch"}]},{"group":"Gemini","icon":"/images/Gemini.png","pages":[{"sidebarTitle":"Video Generation","title":"Gemini Video Generation API","openapi":"openapi/en/gemini.json POST /gemini/video/generations","href":"/api/en/gemini/video-generations"},{"sidebarTitle":"Video Extend","title":"Gemini Video Extend API","openapi":"openapi/en/gemini.json POST /gemini/video/extend","href":"/api/en/gemini/video-extend"},{"sidebarTitle":"Video Fetch","title":"Gemini Video Fetch API","openapi":"openapi/en/gemini.json get /gemini/video/fetch","href":"/api/en/gemini/video-fetch"}]},{"group":"FLUX 3","icon":"/images/flux.png","pages":[{"sidebarTitle":"FLUX 3 Video","title":"Generate a video with FLUX 3","openapi":"openapi/en/flux.json POST /bfl/v1/flux-3-video","href":"/api/en/flux/flux-3-video"},{"sidebarTitle":"Get Result","title":"Get flux 3 video result","openapi":"openapi/en/flux.json GET /bfl/v1/fetch","href":"/api/en/flux/video-result"}]},{"group":"Wan 3.0","icon":"/images/wan.ico","pages":[{"title":"File to Video","openapi":"openapi/en/wan-file-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/wan/file-to-video"},{"title":"Reference to Video","openapi":"openapi/en/wan-reference-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/wan/reference-to-video"},{"title":"Text to Video","openapi":"openapi/en/wan-text-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/wan/text-to-video"},{"title":"First Frame to Video","openapi":"openapi/en/wan-first-frame-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/wan/first-frame-to-video"},{"title":"First Last Frame to Video","openapi":"openapi/en/wan-first-last-frame-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/en/wan/first-last-frame-to-video"},{"title":"Query Task Result","openapi":"openapi/en/wan-task-result.json GET /wan/api/v1/tasks/{task_id}","href":"/api/en/wan/task-result"}]}]},{"group":"Music Generation","pages":[{"group":"Suno","icon":"/images/Suno.png","pages":[{"sidebarTitle":"Suno API Docs","title":"Suno API Documentation — AI Music Generation, Lyrics \u0026 Audio","href":"/api/en/suno/index"},{"sidebarTitle":"Generate Music","title":"Suno Music Generation API Reference","openapi":"openapi/en/suno.json POST /suno/v1/music","href":"/api/en/suno/suno_music"},{"sidebarTitle":"Generate Lyrics","title":"Suno Lyrics Generation API Reference","openapi":"openapi/en/suno.json POST /suno/v1/lyrics","href":"/api/en/suno/suno_lyrics"},{"sidebarTitle":"Extend Song","title":"Suno Song Extension API Reference","openapi":"openapi/en/suno.json POST /suno/v1/extend","href":"/api/en/suno/suno_extend"},{"sidebarTitle":"Cover Style","title":"Suno Cover Style API Reference","openapi":"openapi/en/suno.json POST /suno/v1/cover","href":"/api/en/suno/suno_cover"},{"sidebarTitle":"Upload Cover","title":"Suno Upload Cover API Reference","openapi":"openapi/en/suno.json POST /suno/v1/upload-cover","href":"/api/en/suno/suno_upload_cover"},{"sidebarTitle":"Upload Extend","title":"Suno Upload Extend API Reference","openapi":"openapi/en/suno.json POST /suno/v1/upload-extend","href":"/api/en/suno/suno_upload_extend"},{"sidebarTitle":"Stem Extraction","title":"Suno Stem Extraction API Reference","openapi":"openapi/en/suno.json POST /suno/v1/stems","href":"/api/en/suno/suno_stems"},{"sidebarTitle":"Split All Stems","title":"Suno Full Stem Separation API Reference","openapi":"openapi/en/suno.json POST /suno/v1/stems-all","href":"/api/en/suno/suno_stems_all"},{"sidebarTitle":"Add Vocals","title":"Suno Add Vocals API Reference","openapi":"openapi/en/suno.json POST /suno/v1/add-vocals","href":"/api/en/suno/suno_add_vocals"},{"sidebarTitle":"Add Instrumental","title":"Suno Add Instrumental API Reference","openapi":"openapi/en/suno.json POST /suno/v1/add-instrumental","href":"/api/en/suno/suno_add_instrumental"},{"sidebarTitle":"Add Stem","title":"Suno Add Stem API Reference","openapi":"openapi/en/suno.json POST /suno/v1/add-stem","href":"/api/en/suno/suno_add_stem"},{"sidebarTitle":"Remaster","title":"Suno Remaster API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/remaster","href":"/api/en/suno/suno_remaster"},{"sidebarTitle":"Replace Section","title":"Suno Section Replacement API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/replace-section","href":"/api/en/suno/suno_replace_section"},{"sidebarTitle":"Mashup","title":"Suno Mashup API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/mashup","href":"/api/en/suno/suno_mashup"},{"sidebarTitle":"Inspo","title":"Suno Inspo API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/inspo","href":"/api/en/suno/suno_inspo"},{"sidebarTitle":"Sample to Song","title":"Suno Sample-to-Song API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/sample","href":"/api/en/suno/suno_sample"},{"sidebarTitle":"Generate Sounds","title":"Suno Sound Effects API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/sounds","href":"/api/en/suno/suno_sounds"},{"sidebarTitle":"Speech","title":"Suno Speech API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/speech","href":"/api/en/suno/suno_speech"},{"sidebarTitle":"Crop Track","title":"Suno Crop API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/crop","href":"/api/en/suno/suno_crop"},{"sidebarTitle":"Remove Section","title":"Suno Remove Section API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/remove-section","href":"/api/en/suno/suno_remove_section"},{"sidebarTitle":"Fade In","title":"Suno Fade In API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/fade-in","href":"/api/en/suno/suno_fade_in"},{"sidebarTitle":"Fade Out","title":"Suno Fade Out API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/fade-out","href":"/api/en/suno/suno_fade_out"},{"sidebarTitle":"Adjust Speed","title":"Suno Adjust Speed API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/adjust-speed","href":"/api/en/suno/suno_adjust_speed"},{"sidebarTitle":"Concatenate Track","title":"Suno Track Concatenation API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/concat","href":"/api/en/suno/suno_concat"},{"sidebarTitle":"Upload Audio","title":"Suno Audio Upload API Reference","openapi":"openapi/en/suno.json POST /suno/v1/upload","href":"/api/en/suno/suno_upload"},{"sidebarTitle":"Generate MIDI","title":"Suno MIDI Export API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/gen-midi","href":"/api/en/suno/suno_midi"},{"sidebarTitle":"Aligned Lyrics","title":"Suno Aligned Lyrics API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/alignedLyrics","href":"/api/en/suno/suno_aligned_lyrics"},{"sidebarTitle":"Generate Video","title":"Suno Music Video Generation API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/generateVideo","href":"/api/en/suno/suno_generate_video"},{"sidebarTitle":"File Download","title":"Suno File Download API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/download","href":"/api/en/suno/suno_download"},{"sidebarTitle":"Create Voice","title":"Suno Create Voice API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/create-voice","href":"/api/en/suno/suno_create_voice"},{"sidebarTitle":"Create Model","title":"Suno Create Model API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/create-model","href":"/api/en/suno/suno_create_model"},{"sidebarTitle":"Persona","title":"Suno Persona API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/persona","href":"/api/en/suno/suno_persona"},{"sidebarTitle":"Upsample Tags","title":"Suno Tag Enhancement API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/upsample-tags","href":"/api/en/suno/suno_upsample_tags"},{"sidebarTitle":"BPM Analysis","title":"Suno BPM Analysis API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/gen-bpm","href":"/api/en/suno/suno_bpm"},{"sidebarTitle":"Fetch Result V2","title":"Suno Task Result V2 API Reference","openapi":"openapi/en/suno.json GET /suno/v2/fetch","href":"/api/en/suno/suno_fetch_v2"},{"sidebarTitle":"Export WAV","title":"Suno WAV Export API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/wav","deprecated":true,"href":"/api/en/suno/suno_wav"},{"sidebarTitle":"Extract Vox","title":"Suno Vox Extraction API Documentation","openapi":"openapi/en/suno.json POST /suno/v1/vox","deprecated":true,"href":"/api/en/suno/suno_vox"},{"sidebarTitle":"Fetch Result","title":"Suno Task Result API Documentation","openapi":"openapi/en/suno.json GET /suno/v1/fetch","deprecated":true,"href":"/api/en/suno/suno_fetch"}]},{"group":"Producer","icon":"/images/producer.ico","pages":[{"sidebarTitle":"Producer Overview","title":"Google Lyria 3 API Documentation | Producer API Overview","href":"/api/en/producer/index"},{"sidebarTitle":"Generate Music","title":"Google Lyria 3 Music Generation API | Producer Music API","openapi":"openapi/en/producer.json POST /producer/v1/music","deprecated":true,"href":"/api/en/producer/producer_music"},{"sidebarTitle":"Lyrics","title":"Producer Lyrics API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/lyrics","deprecated":true,"href":"/api/en/producer/producer_lyrics"},{"sidebarTitle":"Extend","title":"Producer Extend API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/extend","deprecated":true,"href":"/api/en/producer/producer_extend"},{"sidebarTitle":"Cover","title":"Producer Cover API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/cover","deprecated":true,"href":"/api/en/producer/producer_cover"},{"sidebarTitle":"Variation","title":"Producer Variation API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/variation","deprecated":true,"href":"/api/en/producer/producer_variation"},{"sidebarTitle":"Replace","title":"Producer Replace API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/replace","deprecated":true,"href":"/api/en/producer/producer_replace"},{"sidebarTitle":"Vocals Swap","title":"Producer Vocals Swap API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/vocals-swap","deprecated":true,"href":"/api/en/producer/producer_vocals-swap"},{"sidebarTitle":"Instrumentals Swap","title":"Producer Instrumentals Swap API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/instrumentals-swap","deprecated":true,"href":"/api/en/producer/producer_instrumentals-swap"},{"sidebarTitle":"Stems","title":"Producer Stems API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/stems","deprecated":true,"href":"/api/en/producer/producer_stems"},{"sidebarTitle":"Download","title":"Producer Download API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/download","deprecated":true,"href":"/api/en/producer/producer_download"},{"sidebarTitle":"Upload","title":"Producer Upload API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/upload","deprecated":true,"href":"/api/en/producer/producer_upload"},{"sidebarTitle":"Generate Video","title":"Producer Video API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json POST /producer/v1/generate-video","deprecated":true,"href":"/api/en/producer/producer_generate-video"},{"sidebarTitle":"Fetch","title":"Producer Fetch API | Google Lyria 3 Documentation","openapi":"openapi/en/producer.json get /producer/v1/fetch","deprecated":true,"href":"/api/en/producer/producer_fetch"}]},{"group":"Flowmusic","icon":"/images/flowmuisc.ico","pages":[{"sidebarTitle":"📖 FlowMusic API Overview","title":"FlowMusic API Documentation","href":"/api/en/flowmuisc/index"},{"title":"Generate Music","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/generations","href":"/api/en/flowmuisc/flowmuisc_generate"},{"title":"Generate Lyrics","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/lyrics-create","href":"/api/en/flowmuisc/flowmuisc_lyricscreate"},{"title":"Segment Replacement","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/replace","href":"/api/en/flowmuisc/flowmuisc_replace"},{"title":"Music Extension","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/extend","href":"/api/en/flowmuisc/flowmuisc_extend"},{"title":"Music Cover","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/cover","href":"/api/en/flowmuisc/flowmuisc_cover"},{"title":"Stems Separation","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/stems","href":"/api/en/flowmuisc/flowmuisc_stems"},{"title":"Upload Audio","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/upload-audio","href":"/api/en/flowmuisc/flowmuisc_uploadaudio"},{"title":"Download Audio","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/download-audio","href":"/api/en/flowmuisc/flowmuisc_download"},{"title":"Download Video","openapi":"openapi/en/flowmuisc.json POST /flowmusic/v1/video-clip","href":"/api/en/flowmuisc/flowmuisc_videoclip"},{"title":"Get Task Status - fetch","openapi":"openapi/en/flowmuisc.json get /flowmusic/v1/fetch","href":"/api/en/flowmuisc/flowmuisc_fetch"}]}]},{"group":"Text / LLM","pages":[{"group":"OpenAI","icon":"/images/open-ai.png","pages":[{"title":"Completions","openapi":"openapi/en/llm.json POST /v1/chat/completions","href":"/api/en/llm/completions"},{"title":"Responses","openapi":"openapi/en/llm.json POST /v1/responses","href":"/api/en/llm/responses"}]},{"group":"Claude","icon":"/images/claude.png","pages":[{"sidebarTitle":"Messages","title":"Claude Messages API","openapi":"openapi/en/llm.json POST /v1/messages","href":"/api/en/llm/messages"}]},{"group":"Google","icon":"/images/Gemini.png","pages":[{"sidebarTitle":"GenerateContent","title":"Gemini Generate Content","openapi":"openapi/en/llm.json POST /v1beta/models/{model}:generateContent","href":"/api/en/llm/gemini-generate-content"},{"sidebarTitle":"Completions","title":"Gemini Completions","openapi":"openapi/en/llm.json POST /gemini/chat/completions","href":"/api/en/llm/gemini-completions"}]},{"group":"Grok","icon":"/images/grok.svg","pages":[{"sidebarTitle":"Completions","title":"Grok Completions","openapi":"openapi/en/llm.json POST /v1/chat/completions","href":"/api/en/llm/grok_chat"}]}]},{"group":"Account","pages":[{"title":"Get User Info","openapi":"openapi/en/user.json get /user-info","href":"/api/en/user/user-info"}]}]}]},{"language":"cn","pages":[{"title":"cn","href":"/api/cn/novel/text-to-image"}]},{"language":"ru","pages":[{"title":"ru","href":"/api/ru/novel/text-to-image"}]}]},"title":"NovelAI Text to Image API Documentation - TTAPI Docs","buildId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","deploymentId":"dpl_HcHmUS6i3UwswnTHJUEdcTtwfdTQ","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BRm_l__d.js","utils-f1l1Oc-G.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BlhqDhJO.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-DHCB7rsC.js","snippetPresets-CYXLx6Hv.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-B78P2dEq.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C4YLPVAh.js","shallow-vlLnTDkQ.js","getApiPlaygroundDisplay-D_98hhvf.js","CodeSnippet-DtnZHGqq.js","CodeSnippets-CLFb8KJt.js","Page-kQh739Uz.js","getPastedJson-Cq-zlbnU.js","icon-sN3t983t.js","MethodPill-P_YQ2s09.js","DuplicateIcon-BVzyNsGJ.js","createIcon-B3jqgqC6.js","DynamicMarkdown-Crwq6WG_.js","SectionHeading-C7pGS2Bb.js","axios-vUo_bRtp.js","Markdown-BuPH8yuW.js","clsx-CCOYKgaU.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-BnkC_6oA.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BM4S31-f.js"]}