{"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":"6ae074afd03bec028f09c519","collectionId":"41cb44d5-ba03-4476-9a77-b0a27e12f431","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae074afd03bec028f09c519"},"entitlements":{},"buildId":"6ae074afd03bec028f09c519","clientVersion":"0.0.3990","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},"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":"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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","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/cn/llm/responses","slug":"/api/cn/llm/responses","pageMetadata":{"title":"Responses","openapi":"openapi/cn/llm.json POST /v1/responses","description":"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。","href":"/api/cn/llm/responses"},"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: \"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。\"\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={p:`p`,..._provideComponents(),...props.components},{Note}=_components;if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`请求参数和响应字段与官方 Responses API 格式保持一致。完整规范请参考\n`,_jsx(`a`,{href:`https://developers.openai.com/api/reference/resources/responses/methods/create`,target:`_blank`,children:`OpenAI 官方文档`}),`。`]})}),`\n`,_jsx(_components.p,{children:`此接口支持文本、图像和文件输入,以及结构化输出、工具调用、多轮对话、后台处理和流式响应。`})]})}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":"Responses","openapi":"openapi/cn/llm.json POST /v1/responses","description":"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。","href":"/api/cn/llm/responses"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/acme-ce820e56/6de44831c3c57b37/public/language-route-switcher.js"],"openApiReferenceData":{"operation":{"summary":"创建模型响应","description":"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。","operationId":"createResponse","security":["8c5479b3-f074-4668-8edc-54c5681c2f97"],"requestBody":"05faa342-13c2-4eee-a98c-eb68e5f5ebcc","responses":{"200":"3f63da86-b35b-4061-b4c5-2ea29adf93ea","400":"79710850-e2bb-462e-a8de-ff94dba238fb","401":"9c430e2e-ab17-450c-8b0b-8613f5285682"},"method":"post","type":"path","servers":["86c45fa2-f62e-4391-afe8-a25d607a4ec6"],"path":"/v1/responses","baseUrlOptions":["https://api.ttapi.io"],"title":"创建模型响应","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"OpenAI 兼容 Responses API 的请求体。","properties":{"model":{"type":"string","example":"gpt-5.4-mini","description":"用于生成响应的模型 ID,详见[支持模型](/grids/cn/start/pricing/llm)。","uniqueKey":"model","typeLabel":"string"},"input":{"oneOf":[{"type":"string","description":"发送给模型的文本、图像或文件输入;字符串会被视为用户消息。","example":"请用通俗语言解释量子计算。","uniqueKey":"input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","description":"输入消息、工具输出或引用项。","properties":{"type":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].type","typeLabel":"string"},"role":{"type":"string","enum":["user","assistant","system","developer"],"uniqueKey":"input.oneOf.1.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["input_text","input_image","input_file"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].text","typeLabel":"string"},"image_url":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].image_url","typeLabel":"string"},"file_id":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].file_id","typeLabel":"string"},"file_url":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].file_url","typeLabel":"string"},"file_data":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].file_data","typeLabel":"string"},"filename":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].filename","typeLabel":"string"},"detail":{"type":"string","enum":["low","high","auto"],"uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX].detail","typeLabel":"enum\u003cstring>"}},"required":["type"],"uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input.oneOf.1.items.[INDEX].content.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"input.oneOf.1.items.[INDEX].content","typeLabel":"string | object[]"},"id":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].id","typeLabel":"string"},"call_id":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].call_id","typeLabel":"string"},"output":{"description":"工具调用返回的输出。","uniqueKey":"input.oneOf.1.items.[INDEX].output","typeLabel":"any"}},"additionalProperties":true,"uniqueKey":"input.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"发送给模型的文本、图像或文件输入;字符串会被视为用户消息。","uniqueKey":"input.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"input","typeLabel":"string | object[]"},"instructions":{"type":"string","description":"插入模型上下文的 system 或 developer 指令。使用 previous_response_id 时不会继承上一响应的指令。","uniqueKey":"instructions","typeLabel":"string"},"previous_response_id":{"type":"string","description":"上一条响应的 ID,用于多轮对话;不能与 conversation 同时使用。","uniqueKey":"previous_response_id","typeLabel":"string"},"conversation":{"oneOf":[{"type":"string","description":"此响应所属的对话。","uniqueKey":"conversation.oneOf.0","typeLabel":"string"},{"type":"object","description":"此响应所属的对话。","required":["id"],"properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"conversation.oneOf.1.id","typeLabel":"string"}},"uniqueKey":"conversation.oneOf.1","typeLabel":"object"}],"uniqueKey":"conversation","typeLabel":"string | object"},"background":{"type":"boolean","default":false,"description":"是否在后台运行响应。","uniqueKey":"background","typeLabel":"boolean"},"include":{"type":"array","description":"指定响应中需要额外包含的输出数据。","items":{"type":"string","enum":["file_search_call.results","web_search_call.results","web_search_call.action.sources","message.input_image.image_url","computer_call_output.output.image_url","code_interpreter_call.outputs","reasoning.encrypted_content","message.output_text.logprobs"],"uniqueKey":"include.items.[INDEX]","typeLabel":"enum\u003cstring>"},"uniqueKey":"include","typeLabel":"enum\u003cstring>[]"},"max_output_tokens":{"type":"integer","minimum":1,"description":"可生成的最大 token 数,包括可见输出和推理 token。","uniqueKey":"max_output_tokens","typeLabel":"integer"},"max_tool_calls":{"type":"integer","minimum":1,"description":"本次响应可处理的内置工具调用总数上限。","uniqueKey":"max_tool_calls","typeLabel":"integer"},"metadata":{"type":"object","maxProperties":16,"additionalProperties":{"type":"string","maxLength":512,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"description":"附加到响应的最多 16 个字符串键值对。","uniqueKey":"metadata","typeLabel":"object"},"parallel_tool_calls":{"type":"boolean","default":true,"description":"是否允许模型并行调用工具。","uniqueKey":"parallel_tool_calls","typeLabel":"boolean"},"prompt":{"type":"object","description":"可复用提示词模板及变量。","properties":{"id":{"type":"string","isRequired":true,"uniqueKey":"prompt.id","typeLabel":"string"},"version":{"type":"string","uniqueKey":"prompt.version","typeLabel":"string"},"variables":{"type":"object","additionalProperties":true,"uniqueKey":"prompt.variables","typeLabel":"object"}},"required":["id"],"uniqueKey":"prompt","typeLabel":"object"},"prompt_cache_key":{"type":"string","description":"用于提高提示词缓存命中率的稳定键。","uniqueKey":"prompt_cache_key","typeLabel":"string"},"prompt_cache_retention":{"type":"string","enum":["in-memory","24h"],"description":"提示词缓存保留策略。","uniqueKey":"prompt_cache_retention","typeLabel":"enum\u003cstring>"},"reasoning":{"type":"object","description":"受支持模型的推理配置。","properties":{"effort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh"],"uniqueKey":"reasoning.effort","typeLabel":"enum\u003cstring>"},"summary":{"type":"string","enum":["auto","concise","detailed"],"uniqueKey":"reasoning.summary","typeLabel":"enum\u003cstring>"}},"uniqueKey":"reasoning","typeLabel":"object"},"safety_identifier":{"type":"string","description":"用于滥用检测的稳定终端用户标识。","uniqueKey":"safety_identifier","typeLabel":"string"},"service_tier":{"type":"string","enum":["auto","default","flex","scale","priority"],"uniqueKey":"service_tier","typeLabel":"enum\u003cstring>"},"store":{"type":"boolean","description":"是否存储生成的响应,以便后续通过 API 获取。","uniqueKey":"store","typeLabel":"boolean"},"stream":{"type":"boolean","default":false,"description":"是否通过服务器发送事件(SSE)流式返回响应。","uniqueKey":"stream","typeLabel":"boolean"},"stream_options":{"type":"object","description":"流式响应选项,仅在 stream 为 true 时设置。","properties":{"include_obfuscation":{"type":"boolean","default":true,"uniqueKey":"stream_options.include_obfuscation","typeLabel":"boolean"}},"uniqueKey":"stream_options","typeLabel":"object"},"temperature":{"type":"number","minimum":0,"maximum":2,"description":"采样温度。通常只调整 temperature 或 top_p 其中之一。","uniqueKey":"temperature","typeLabel":"number"},"text":{"type":"object","properties":{"format":{"type":"object","description":"纯文本、JSON 对象或 JSON Schema 输出格式。","additionalProperties":true,"uniqueKey":"text.format","typeLabel":"object"},"verbosity":{"type":"string","enum":["low","medium","high"],"uniqueKey":"text.verbosity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"text","typeLabel":"object"},"tool_choice":{"oneOf":[{"type":"string","description":"控制模型可调用哪些工具。","enum":["none","auto","required"],"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","description":"控制模型可调用哪些工具。","additionalProperties":true,"uniqueKey":"tool_choice.oneOf.1","typeLabel":"object"}],"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | object"},"tools":{"type":"array","description":"提供给模型的函数工具或受支持的内置工具。","items":{"type":"object","additionalProperties":true,"uniqueKey":"tools.items.[INDEX]","typeLabel":"object"},"uniqueKey":"tools","typeLabel":"object[]"},"top_logprobs":{"type":"integer","minimum":0,"maximum":20,"uniqueKey":"top_logprobs","typeLabel":"integer"},"top_p":{"type":"number","minimum":0,"maximum":1,"uniqueKey":"top_p","typeLabel":"number"},"truncation":{"type":"string","enum":["auto","disabled"],"default":"disabled","uniqueKey":"truncation","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"model":"gpt-5.4-mini","input":"请用通俗语言解释量子计算。","instructions":"\u003cstring>","previous_response_id":"\u003cstring>","conversation":"\u003cstring>","background":false,"include":[],"max_output_tokens":2,"max_tool_calls":2,"metadata":{},"parallel_tool_calls":true,"prompt_cache_key":"\u003cstring>","reasoning":{},"safety_identifier":"\u003cstring>","store":true,"stream":false,"stream_options":{"include_obfuscation":true},"temperature":1,"text":{"format":{}},"tools":[{}],"top_logprobs":10,"top_p":0.5,"truncation":"disabled"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3f63da86-b35b-4061-b4c5-2ea29adf93ea":{"description":"请求成功。stream 为 true 时返回服务器发送事件。","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","const":"response","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"created_at":{"type":"number","example":1741476542,"isRequired":true,"uniqueKey":"created_at","typeLabel":"number"},"status":{"type":"string","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"model":{"type":"string","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"output":{"type":"array","items":{"type":"object","description":"消息、推理项、工具调用或其他响应输出项。","properties":{"type":{"type":"string","uniqueKey":"output.items.[INDEX].type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"output.items.[INDEX].id","typeLabel":"string"},"status":{"type":"string","uniqueKey":"output.items.[INDEX].status","typeLabel":"string"},"role":{"type":"string","enum":["assistant"],"uniqueKey":"output.items.[INDEX].role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["output_text","refusal"],"isRequired":true,"uniqueKey":"output.items.[INDEX].content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","uniqueKey":"output.items.[INDEX].content.items.[INDEX].text","typeLabel":"string"},"refusal":{"type":"string","uniqueKey":"output.items.[INDEX].content.items.[INDEX].refusal","typeLabel":"string"},"annotations":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"output.items.[INDEX].content.items.[INDEX].annotations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"output.items.[INDEX].content.items.[INDEX].annotations","typeLabel":"object[]"},"logprobs":{"type":"array","items":{"type":"object","additionalProperties":true,"uniqueKey":"output.items.[INDEX].content.items.[INDEX].logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"output.items.[INDEX].content.items.[INDEX].logprobs","typeLabel":"object[]"}},"required":["type"],"uniqueKey":"output.items.[INDEX].content.items.[INDEX]","typeLabel":"object"},"uniqueKey":"output.items.[INDEX].content","typeLabel":"object[]"},"call_id":{"type":"string","uniqueKey":"output.items.[INDEX].call_id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"output.items.[INDEX].name","typeLabel":"string"},"arguments":{"type":"string","uniqueKey":"output.items.[INDEX].arguments","typeLabel":"string"}},"additionalProperties":true,"uniqueKey":"output.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"output","typeLabel":"object[]"},"error":{"oneOf":[{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"error.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"error.oneOf.1","typeLabel":"null"}],"uniqueKey":"error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","properties":{"reason":{"type":"string","enum":["max_output_tokens","content_filter"],"uniqueKey":"incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"uniqueKey":"incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"incomplete_details.oneOf.1","typeLabel":"null"}],"uniqueKey":"incomplete_details","typeLabel":"object | null"},"output_text":{"type":"string","readOnly":true,"description":"SDK 提供的聚合文本输出便捷字段。","uniqueKey":"output_text","typeLabel":"string"},"previous_response_id":{"oneOf":[{"type":"string","uniqueKey":"previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"previous_response_id","typeLabel":"string | null"},"store":{"type":"boolean","uniqueKey":"store","typeLabel":"boolean"},"usage":{"type":"object","properties":{"input_tokens":{"type":"integer","uniqueKey":"usage.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","properties":{"cached_tokens":{"type":"integer","uniqueKey":"usage.input_tokens_details.cached_tokens","typeLabel":"integer"}},"uniqueKey":"usage.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","uniqueKey":"usage.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","properties":{"reasoning_tokens":{"type":"integer","uniqueKey":"usage.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"uniqueKey":"usage.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","uniqueKey":"usage.total_tokens","typeLabel":"integer"}},"uniqueKey":"usage","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata","typeLabel":"object"}},"required":["id","object","created_at","status","model","output"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"resp_67ccd2bed1ec8190b14f964abc0542670bb6a6b452d3795b","object":"response","created_at":1741476542,"status":"completed","model":"\u003cstring>","output":[{"type":"\u003cstring>","id":"\u003cstring>","status":"\u003cstring>","role":"assistant","content":[{"type":"output_text","text":"\u003cstring>","refusal":"\u003cstring>","annotations":[{}],"logprobs":[{}]}],"call_id":"\u003cstring>","name":"\u003cstring>","arguments":"\u003cstring>"}],"error":{"code":"\u003cstring>","message":"\u003cstring>"},"incomplete_details":{"reason":"max_output_tokens"},"output_text":"\u003cstring>","previous_response_id":"\u003cstring>","store":true,"usage":{"input_tokens":123,"input_tokens_details":{"cached_tokens":123},"output_tokens":123,"output_tokens_details":{"reasoning_tokens":123},"total_tokens":123},"metadata":{}}}},"exampleType":"generated"},"text/event-stream":{"schema":{"type":"string","description":"Responses API 的服务器发送事件流。","uniqueKey":"","typeLabel":"string"},"examples":{"Example":{"title":"Example","value":"\u003cstring>"}},"exampleType":"generated"}},"exampleType":"generated"},"79710850-e2bb-462e-a8de-ff94dba238fb":{"description":"参数错误","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"},"9c430e2e-ab17-450c-8b0b-8613f5285682":{"description":"授权失败","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":{"8c5479b3-f074-4668-8edc-54c5681c2f97":{"Authorization":{"type":"apiKey","in":"header","name":"Authorization","description":"请前往 \u003ca href='https://dashboard.ttapi.io' target='_blank'>TTAPI 控制台\u003c/a> 获取 API 密钥。","scopes":[]}}},"servers":{"86c45fa2-f62e-4391-afe8-a25d607a4ec6":{"url":"https://api.ttapi.io"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"请前往 \u003ca href='https://dashboard.ttapi.io' target='_blank'>TTAPI 控制台\u003c/a> 获取 API 密钥。","scopes":[]},"schema":{"title":"Authorization","type":"string","description":"请前往 \u003ca href='https://dashboard.ttapi.io' target='_blank'>TTAPI 控制台\u003c/a> 获取 API 密钥。","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"openapi/cn/llm.json"},"subdomain":"acme-ce820e56","siteName":"TTAPI Docs","title":"Responses - TTAPI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/en/llm/responses","matchLevel":1},"cn":{"href":"/api/cn/llm/responses","matchLevel":0},"ru":{"href":"/api/ru/llm/responses","matchLevel":1}}},"lastModified":"2026-07-15T03:40:50.161Z","gitLastModified":"2026-07-15T03:34:13.000Z","originalFileLocation":"api/cn/llm/responses.mdx","locale":"cn"},"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=\"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。\">\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=\"Responses - TTAPI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TTAPI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ttapi.io/api/cn/llm/responses\">\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=\"Responses - TTAPI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。\">\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/cn/llm/responses\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/cn/llm/responses.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.ttapi.io/api/cn/llm/responses\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.ttapi.io/api/en/llm/responses\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://docs.ttapi.io/api/ru/llm/responses\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.ttapi.io/api/en/llm/responses\">\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/cn/llm/responses#webpage\",\"url\":\"https://docs.ttapi.io/api/cn/llm/responses\",\"name\":\"Responses\",\"description\":\"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。\",\"dateModified\":\"2026-07-15T03:34:13.000Z\",\"isPartOf\":{\"@id\":\"https://docs.ttapi.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ttapi.io/api/cn/llm/responses#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ttapi.io/api/cn/llm/responses#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"语言对话\",\"item\":\"https://docs.ttapi.io/api/cn/llm/completions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenAI\",\"item\":\"https://docs.ttapi.io/api/cn/llm/completions\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Responses\",\"item\":\"https://docs.ttapi.io/api/cn/llm/responses\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ttapi.io/api/cn/llm/responses#apireference\",\"headline\":\"Responses\",\"name\":\"Responses\",\"description\":\"根据文本、图像或文件输入创建模型响应,支持结构化输出、工具调用、对话状态、后台处理和流式响应。\",\"url\":\"https://docs.ttapi.io/api/cn/llm/responses\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ttapi.io/api/cn/llm/responses#webpage\"},\"image\":\"https://docs.ttapi.io/og.png\",\"dateModified\":\"2026-07-15T03:34:13.000Z\",\"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,"pages":[{"title":"en","href":"/api/en/llm/responses"}]},{"language":"cn","tabs":[{"tab":"指南","pages":[{"title":"指南","href":"/grids/cn/start/introduction"}]},{"tab":"API参考","pages":[{"group":"图片生成","pages":[{"group":"Midjourney","icon":"/images/Midjourney.png","pages":[{"sidebarTitle":"📖 Midjourney API 总览","title":"Midjourney API 文档","href":"/api/cn/midjourney"},{"sidebarTitle":"图像生成","title":"Midjourney Imagine API 文档","openapi":"openapi/cn/midjourney.json POST /midjourney/v1/imagine","href":"/api/cn/midjourney/imagine"},{"sidebarTitle":"图像操作","title":"Midjourney 图像操作 API 文档","openapi":"openapi/cn/midjourney.json POST /midjourney/v1/action","href":"/api/cn/midjourney/action"},{"sidebarTitle":"图片混合","title":"Midjourney Blend API 文档","openapi":"openapi/cn/midjourney.json POST /midjourney/v1/blend","href":"/api/cn/midjourney/blend"},{"sidebarTitle":"图像描述","title":"Midjourney Describe API 文档","openapi":"openapi/cn/midjourney.json POST /midjourney/v1/describe","href":"/api/cn/midjourney/describe"},{"sidebarTitle":"获取 Seed","title":"Midjourney Seed 查询 API 文档","openapi":"openapi/cn/midjourney.json POST /midjourney/v1/seed","href":"/api/cn/midjourney/seed"},{"sidebarTitle":"局部重绘","title":"Midjourney 局部重绘 API 文档","openapi":"openapi/cn/midjourney.json POST /midjourney/v1/inpaint","href":"/api/cn/midjourney/inpaint"},{"sidebarTitle":"查询结果","title":"Midjourney 任务结果查询 API 文档","openapi":"openapi/cn/midjourney.json GET /midjourney/v1/fetch","href":"/api/cn/midjourney/fetch"}]},{"group":"Midjourney Edit","icon":"/images/Midjourney.png","pages":[{"title":"编辑图像","openapi":"openapi/cn/midjourneyedit.json POST /midjourney/image-edits/submit","href":"/api/cn/midjourneyedit/submit"},{"title":"获取任务状态","openapi":"openapi/cn/midjourneyedit.json get /midjourney/image-edits/fetch","href":"/api/cn/midjourneyedit/fetch"}]},{"group":"Nano Banana","icon":"/images/Gemini.png","pages":[{"sidebarTitle":"📖 Nano Banana API 总览","title":"Nano Banana API 文档","href":"/api/cn/gemini/index"},{"sidebarTitle":"图像生成","title":"Nano Banana 图像生成 API 文档","openapi":"openapi/cn/gemini.json POST /gemini/image/generate","href":"/api/cn/gemini/generate"},{"title":"结果查询","openapi":"openapi/cn/gemini.json get /gemini/image/fetch","href":"/api/cn/gemini/fetch"}]},{"group":"OpenAI Image","icon":"/images/open-ai.png","pages":[{"sidebarTitle":"📖 OpenAI 图片 API 总览","title":"OpenAI 图片 API 文档","href":"/api/cn/openai/index"},{"sidebarTitle":"GPT 图像生成 [官转]","title":"OpenAI Images Generations","openapi":"openapi/cn/openai.json POST /v1/images/generations","href":"/api/cn/openai/images-generations"},{"sidebarTitle":"GPT 图像编辑 [官转]","title":"OpenAI Images Edits","openapi":"openapi/cn/openai.json POST /v1/images/edits","href":"/api/cn/openai/images-edits"},{"title":"GPT-生成图像 [非官转]","openapi":"openapi/cn/openai.json POST /openai/gpt/generations","href":"/api/cn/openai/gpt-generations"},{"title":"GPT-生成结果查询 [非官转]","openapi":"openapi/cn/openai.json get /openai/gpt/fetch","href":"/api/cn/openai/gpt-fetch"}]},{"group":"Novel AI","icon":"/images/novel.png","pages":[{"sidebarTitle":"文生图","title":"NovelAI 文生图 API 文档","openapi":"openapi/cn/novel.json POST /novelai/text-to-image","href":"/api/cn/novel/text-to-image"},{"sidebarTitle":"图生图","title":"NovelAI 图生图 API 文档","openapi":"openapi/cn/novel.json POST /novelai/image-to-image","href":"/api/cn/novel/image-to-image"},{"sidebarTitle":"查询结果","title":"NovelAI 查询 API 文档","openapi":"openapi/cn/novel.json get /novelai/fetch","href":"/api/cn/novel/fetch"}]},{"group":"Flux AI","icon":"/images/flux.png","pages":[{"sidebarTitle":"📖 Flux API 总览","title":"Flux API","href":"/api/cn/flux/index"},{"group":"Flux 3","pages":[{"sidebarTitle":"FLUX 3 Image","title":"使用 FLUX 3 生成图像","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-3-image","href":"/api/cn/flux/flux-3-image"},{"sidebarTitle":"FLUX 3 Image Klein","title":"使用 FLUX 3 Image Klein 生成图像","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-3-image-klein","href":"/api/cn/flux/flux-3-image-klein"}]},{"group":"Flux 2","pages":[{"sidebarTitle":"Flux.2[klein] 4B","title":"Flux.2[klein] 4B API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-2-klein-4b","href":"/api/cn/flux/flux-2-klein-4b"},{"sidebarTitle":"Flux.2[klein] 9B","title":"Flux.2[klein] 9B API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-2-klein-9b","href":"/api/cn/flux/flux-2-klein-9b"},{"sidebarTitle":"Flux.2[max]","title":"Flux.2[max] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-2-max","href":"/api/cn/flux/flux-2-max"},{"sidebarTitle":"Flux.2[flex]","title":"Flux.2[flex] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-2-flex","href":"/api/cn/flux/flux-2-flex"},{"sidebarTitle":"Flux.2[pro]","title":"Flux.2[pro] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-2-pro","href":"/api/cn/flux/flux-2-pro"}]},{"group":"Flux 1","pages":[{"sidebarTitle":"Flux.1 Kontext[max]","title":"Flux.1 Kontext[max] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-kontext-max","href":"/api/cn/flux/flux-kontext-max"},{"sidebarTitle":"Flux.1 Kontext[pro]","title":"Flux.1 Kontext[pro] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-kontext-pro","href":"/api/cn/flux/flux-kontext-pro"},{"sidebarTitle":"Flux1.1[pro] Ultra","title":"Flux1.1[pro] Ultra API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-pro-1.1-ultra","href":"/api/cn/flux/flux-pro-1.1-ultra"},{"sidebarTitle":"Flux1.1[pro]","title":"Flux1.1[pro] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-pro-1.1","href":"/api/cn/flux/flux-pro-1.1"},{"sidebarTitle":"Flux.1[pro]","title":"Flux.1[pro] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-pro","href":"/api/cn/flux/flux-pro"},{"sidebarTitle":"Flux.1[dev]","title":"Flux.1[dev] API 文档","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-dev","href":"/api/cn/flux/flux-dev"}]},{"sidebarTitle":"查询结果","title":"Flux 查询 API 文档","openapi":"openapi/cn/flux.json GET /flux/fetch","href":"/api/cn/flux/fetch"}]},{"group":"Grok Image","icon":"/images/grok.svg","pages":[{"title":"生成图片","openapi":"openapi/cn/grokimage.json POST /grok/image","href":"/api/cn/grokimage/image"},{"title":"编辑图片","openapi":"openapi/cn/grokimage.json POST /grok/image/edits","href":"/api/cn/grokimage/editimage"},{"title":"查询任务结果","openapi":"openapi/cn/grokimage.json post /grok/image/fetch","href":"/api/cn/grokimage/fetch"}]},{"group":"SwapFace","icon":"/images/face.png","pages":[{"title":"SwapFace换脸","openapi":"openapi/cn/swapface.json POST /insightFace/v1/swap","href":"/api/cn/swapface/swap"},{"title":"获取换脸结果 Fetch SwapFace","openapi":"openapi/cn/swapface.json get /insightFace/v1/fetch","href":"/api/cn/swapface/fetch"}]},{"group":"Seedream","icon":"/images/huoshan.jpg","pages":[{"sidebarTitle":"Seedream 图片生成 API 总览","title":"Seedream 图片生成 API 文档","href":"/api/cn/seedream/index"},{"title":"文生图","openapi":"openapi/cn/seedream-text-to-image.json POST /sd/api/v3/images/generations/tasks","href":"/api/cn/seedream/text-to-image"},{"title":"图生图","openapi":"openapi/cn/seedream-image-to-image.json POST /sd/api/v3/images/generations/tasks","href":"/api/cn/seedream/image-to-image"},{"title":"多图融合","openapi":"openapi/cn/seedream-multi-image.json POST /sd/api/v3/images/generations/tasks","href":"/api/cn/seedream/multi-image"},{"title":"图层拆分","openapi":"openapi/cn/seedream-layer-decomposition.json POST /sd/api/v3/images/generations/tasks","href":"/api/cn/seedream/layer-decomposition"},{"title":"交互编辑","openapi":"openapi/cn/seedream-interactive-edit.json POST /sd/api/v3/images/generations/tasks","href":"/api/cn/seedream/interactive-edit"},{"title":"查询结果","openapi":"openapi/cn/seedream.json GET /sd/api/v3/images/generations/tasks/{id}","href":"/api/cn/seedream/fetch"},{"title":"文生图(同步)","openapi":"openapi/cn/seedream-text-to-image-sync.json POST /sd/api/v3/images/generations","href":"/api/cn/seedream/text-to-image-sync"}]}]},{"group":"视频生成","pages":[{"group":"Midjourney","icon":"/images/Midjourney.png","pages":[{"title":"生成视频","openapi":"openapi/cn/sora.json POST /midjourney/video/submit","href":"/api/cn/videoapi/submit"},{"title":"视频延伸","openapi":"openapi/cn/sora.json POST /midjourney/video/extend","href":"/api/cn/videoapi/extend"},{"title":"获取任务状态 - fetch","openapi":"openapi/cn/sora.json get /midjourney/video/fetch","href":"/api/cn/videoapi/fetch"}]},{"group":"Grok","icon":"/images/grok.svg","pages":[{"sidebarTitle":"📖 Grok 视频 API 总览","title":"Grok 视频 API 中文文档","href":"/api/cn/grok/index"},{"title":"文生视频","openapi":"openapi/cn/grok-text-to-video.json POST /grok/generations","href":"/api/cn/grok/text-to-video"},{"title":"首帧生视频","openapi":"openapi/cn/grok-first-frame-to-video.json POST /grok/generations","href":"/api/cn/grok/first-frame-to-video"},{"title":"尾帧生视频","openapi":"openapi/cn/grok-last-frame-to-video.json POST /grok/generations","href":"/api/cn/grok/last-frame-to-video"},{"title":"首尾帧生视频","openapi":"openapi/cn/grok-first-last-frame-to-video.json POST /grok/generations","href":"/api/cn/grok/first-last-frame-to-video"},{"title":"关键帧生视频","openapi":"openapi/cn/grok-keyframe-to-video.json POST /grok/generations","href":"/api/cn/grok/keyframe-to-video"},{"title":"参考生视频","openapi":"openapi/cn/grok-reference-to-video.json POST /grok/generations","href":"/api/cn/grok/reference-to-video"},{"title":"视频扩展","sidebarTitle":"视频扩展(非官转)","openapi":"openapi/cn/grok.json POST /grok/extensions","href":"/api/cn/grok/extensions"},{"title":"查询任务结果","sidebarTitle":"查询任务结果(非官转)","openapi":"openapi/cn/grok.json get /grok/fetch","href":"/api/cn/grok/fetch"},{"title":"生成视频-官转","openapi":"openapi/cn/grok_video.json POST /grok/v1/videos/generations","href":"/api/cn/grok/video-generations"},{"title":"视频扩展-官转","openapi":"openapi/cn/grok_video.json POST /grok/v1/videos/extensions","href":"/api/cn/grok/video-extensions"},{"title":"查询视频结果-官转","openapi":"openapi/cn/grok_video.json GET /grok/v1/videos/{request_id}","href":"/api/cn/grok/video-fetch"}]},{"group":"HappyHorse","icon":"/images/happyhorse.png","pages":[{"sidebarTitle":" HappyHorse 视频 API 总览","title":"HappyHorse 视频 API 文档","href":"/api/cn/happyhorse/index"},{"title":"文生视频","openapi":"openapi/cn/happyhorse.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/happyhorse/generations"},{"title":"图生视频 - 基于首帧","openapi":"openapi/cn/happyhorse-image-to-video.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/happyhorse/image-to-video"},{"title":"参考生视频","openapi":"openapi/cn/happyhorse-reference-to-video.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/happyhorse/reference-to-video"},{"title":"视频编辑","openapi":"openapi/cn/happyhorse-video-edit.json POST /happyhorse/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/happyhorse/video-edit"},{"title":"查询任务结果","openapi":"openapi/cn/happyhorse.json GET /happyhorse/api/v1/tasks/{task_id}","href":"/api/cn/happyhorse/fetch"}]},{"group":"Gemini","icon":"/images/Gemini.png","pages":[{"sidebarTitle":"视频生成","title":"Gemini 视频生成 API 文档","openapi":"openapi/cn/gemini.json POST /gemini/video/generations","href":"/api/cn/gemini/video-generations"},{"sidebarTitle":"视频延长","title":"Gemini 视频延长 API 文档","openapi":"openapi/cn/gemini.json POST /gemini/video/extend","href":"/api/cn/gemini/video-extend"},{"sidebarTitle":"视频结果查询","title":"Gemini 视频结果查询 API 文档","openapi":"openapi/cn/gemini.json get /gemini/video/fetch","href":"/api/cn/gemini/video-fetch"}]},{"group":"FLUX 3","icon":"/images/flux.png","pages":[{"sidebarTitle":"FLUX 3 Video","title":"使用 FLUX 3 生成视频","openapi":"openapi/cn/flux.json POST /bfl/v1/flux-3-video","href":"/api/cn/flux/flux-3-video"},{"sidebarTitle":"获取结果","title":"获取 Flux 视频结果","openapi":"openapi/cn/flux.json GET /bfl/v1/fetch","href":"/api/cn/flux/video-result"}]},{"group":"Wan 3.0","icon":"/images/wan.ico","pages":[{"title":"参考文件生视频","openapi":"openapi/cn/wan-file-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/wan/file-to-video"},{"title":"参考生视频","openapi":"openapi/cn/wan-reference-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/wan/reference-to-video"},{"title":"文生视频","openapi":"openapi/cn/wan-text-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/wan/text-to-video"},{"title":"首帧生视频","openapi":"openapi/cn/wan-first-frame-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/wan/first-frame-to-video"},{"title":"首尾帧生视频","openapi":"openapi/cn/wan-first-last-frame-to-video.json POST /wan/api/v1/services/aigc/video-generation/video-synthesis","href":"/api/cn/wan/first-last-frame-to-video"},{"title":"查询任务结果","openapi":"openapi/cn/wan-task-result.json GET /wan/api/v1/tasks/{task_id}","href":"/api/cn/wan/task-result"}]}]},{"group":"音乐生成","pages":[{"group":"Suno","icon":"/images/Suno.png","pages":[{"sidebarTitle":"📖 Suno API 中文文档","title":"Suno API 中文文档 — AI 音乐生成、歌词与音频","href":"/api/cn/suno/index"},{"sidebarTitle":"生成音乐","title":"Suno 音乐生成 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/music","href":"/api/cn/suno/suno_music"},{"sidebarTitle":"生成歌词","title":"Suno 歌词生成 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/lyrics","href":"/api/cn/suno/suno_lyrics"},{"sidebarTitle":"续写扩展","title":"Suno Extend API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/extend","href":"/api/cn/suno/suno_extend"},{"sidebarTitle":"风格翻唱","title":"Suno Cover API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/cover","href":"/api/cn/suno/suno_cover"},{"sidebarTitle":"上传并翻唱","title":"Suno Upload Cover API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/upload-cover","href":"/api/cn/suno/suno_upload_cover"},{"sidebarTitle":"上传并延伸","title":"Suno Upload Extend API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/upload-extend","href":"/api/cn/suno/suno_upload_extend"},{"sidebarTitle":"分轨提取","title":"Suno Stems API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/stems","href":"/api/cn/suno/suno_stems"},{"sidebarTitle":"全量分轨","title":"Suno Stems All API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/stems-all","href":"/api/cn/suno/suno_stems_all"},{"sidebarTitle":"添加人声","title":"Suno Add Vocals API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/add-vocals","href":"/api/cn/suno/suno_add_vocals"},{"sidebarTitle":"添加伴奏","title":"Suno Add Instrumental API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/add-instrumental","href":"/api/cn/suno/suno_add_instrumental"},{"sidebarTitle":"添加音轨","title":"Suno Add Stem API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/add-stem","href":"/api/cn/suno/suno_add_stem"},{"sidebarTitle":"母带优化","title":"Suno Remaster API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/remaster","href":"/api/cn/suno/suno_remaster"},{"sidebarTitle":"段落替换","title":"Suno Replace Section API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/replace-section","href":"/api/cn/suno/suno_replace_section"},{"sidebarTitle":"生成混搭","title":"Suno Mashup API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/mashup","href":"/api/cn/suno/suno_mashup"},{"sidebarTitle":"灵感生成","title":"Suno Inspo API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/inspo","href":"/api/cn/suno/suno_inspo"},{"sidebarTitle":"样本生成","title":"Suno Sample API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/sample","href":"/api/cn/suno/suno_sample"},{"sidebarTitle":"生成音效","title":"Suno Sounds API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/sounds","href":"/api/cn/suno/suno_sounds"},{"sidebarTitle":"语音朗读","title":"Suno Speech API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/speech","href":"/api/cn/suno/suno_speech"},{"sidebarTitle":"裁剪音频","title":"Suno Crop API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/crop","href":"/api/cn/suno/suno_crop"},{"sidebarTitle":"删除片段","title":"Suno Remove Section API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/remove-section","href":"/api/cn/suno/suno_remove_section"},{"sidebarTitle":"淡入","title":"Suno Fade In API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/fade-in","href":"/api/cn/suno/suno_fade_in"},{"sidebarTitle":"淡出","title":"Suno Fade Out API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/fade-out","href":"/api/cn/suno/suno_fade_out"},{"sidebarTitle":"调整速度","title":"Suno Adjust Speed API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/adjust-speed","href":"/api/cn/suno/suno_adjust_speed"},{"sidebarTitle":"完整歌曲合成","title":"Suno 完整歌曲合成 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/concat","href":"/api/cn/suno/suno_concat"},{"sidebarTitle":"上传音频","title":"Suno Upload API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/upload","href":"/api/cn/suno/suno_upload"},{"sidebarTitle":"生成 MIDI","title":"Suno MIDI 生成 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/gen-midi","href":"/api/cn/suno/suno_midi"},{"sidebarTitle":"歌词时间轴","title":"Suno 歌词时间轴 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/alignedLyrics","href":"/api/cn/suno/suno_aligned_lyrics"},{"sidebarTitle":"生成音乐视频","title":"Suno 音乐视频生成 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/generateVideo","href":"/api/cn/suno/suno_generate_video"},{"sidebarTitle":"文件下载","title":"Suno 文件下载 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/download","href":"/api/cn/suno/suno_download"},{"sidebarTitle":"创建语音","title":"Suno Create Voice API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/create-voice","href":"/api/cn/suno/suno_create_voice"},{"sidebarTitle":"创建自定义模型","title":"Suno Create Model API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/create-model","href":"/api/cn/suno/suno_create_model"},{"sidebarTitle":"Persona","title":"Suno Persona API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/persona","href":"/api/cn/suno/suno_persona"},{"sidebarTitle":"标签增强","title":"Suno 标签增强 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/upsample-tags","href":"/api/cn/suno/suno_upsample_tags"},{"sidebarTitle":"BPM 获取","title":"Suno BPM 获取 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/gen-bpm","href":"/api/cn/suno/suno_bpm"},{"sidebarTitle":"任务结果 V2","title":"Suno 任务结果查询 V2 API 文档","openapi":"openapi/cn/suno.json GET /suno/v2/fetch","href":"/api/cn/suno/suno_fetch_v2"},{"sidebarTitle":"导出 WAV","title":"Suno WAV 导出 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/wav","deprecated":true,"href":"/api/cn/suno/suno_wav"},{"sidebarTitle":"提取 Vox","title":"Suno Vox 提取 API 文档","openapi":"openapi/cn/suno.json POST /suno/v1/vox","deprecated":true,"href":"/api/cn/suno/suno_vox"},{"sidebarTitle":"任务结果","title":"Suno 任务结果查询 API 文档","openapi":"openapi/cn/suno.json GET /suno/v1/fetch","deprecated":true,"href":"/api/cn/suno/suno_fetch"}]},{"group":"Producer","icon":"/images/producer.ico","pages":[{"sidebarTitle":"📖 Producer API 总览","title":"Producer API 文档","href":"/api/cn/producer/index"},{"title":"生成音乐","openapi":"openapi/cn/producer.json POST /producer/v1/music","deprecated":true,"href":"/api/cn/producer/producer_music"},{"title":"生成歌词","openapi":"openapi/cn/producer.json POST /producer/v1/lyrics","deprecated":true,"href":"/api/cn/producer/producer_lyrics"},{"title":"音乐延伸","openapi":"openapi/cn/producer.json POST /producer/v1/extend","deprecated":true,"href":"/api/cn/producer/producer_extend"},{"title":"音乐翻版","openapi":"openapi/cn/producer.json POST /producer/v1/cover","deprecated":true,"href":"/api/cn/producer/producer_cover"},{"title":"音乐变换","openapi":"openapi/cn/producer.json POST /producer/v1/variation","deprecated":true,"href":"/api/cn/producer/producer_variation"},{"title":"音乐片段替换","openapi":"openapi/cn/producer.json POST /producer/v1/replace","deprecated":true,"href":"/api/cn/producer/producer_replace"},{"title":"人声翻版","openapi":"openapi/cn/producer.json POST /producer/v1/vocals-swap","deprecated":true,"href":"/api/cn/producer/producer_vocals-swap"},{"title":"伴奏翻版","openapi":"openapi/cn/producer.json POST /producer/v1/instrumentals-swap","deprecated":true,"href":"/api/cn/producer/producer_instrumentals-swap"},{"title":"词曲分离","openapi":"openapi/cn/producer.json POST /producer/v1/stems","deprecated":true,"href":"/api/cn/producer/producer_stems"},{"title":"下载音频","openapi":"openapi/cn/producer.json POST /producer/v1/download","deprecated":true,"href":"/api/cn/producer/producer_download"},{"title":"上传音频 【免费接口】","openapi":"openapi/cn/producer.json POST /producer/v1/upload","deprecated":true,"href":"/api/cn/producer/producer_upload"},{"title":"生成视频 【免费接口】","openapi":"openapi/cn/producer.json POST /producer/v1/generate-video","deprecated":true,"href":"/api/cn/producer/producer_generate-video"},{"title":"获取任务状态 - fetch","openapi":"openapi/cn/producer.json get /producer/v1/fetch","deprecated":true,"href":"/api/cn/producer/producer_fetch"}]},{"group":"Flowmusic","icon":"/images/flowmuisc.ico","pages":[{"sidebarTitle":"📖 FlowMusic API 总览","title":"FlowMusic API 文档","href":"/api/cn/flowmuisc/index"},{"title":"生成音乐","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/generations","href":"/api/cn/flowmuisc/flowmuisc_generate"},{"title":"生成歌词","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/lyrics-create","href":"/api/cn/flowmuisc/flowmuisc_lyricscreate"},{"title":"音乐片段替换","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/replace","href":"/api/cn/flowmuisc/flowmuisc_replace"},{"title":"音乐延伸","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/extend","href":"/api/cn/flowmuisc/flowmuisc_extend"},{"title":"音乐翻唱","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/cover","href":"/api/cn/flowmuisc/flowmuisc_cover"},{"title":"词曲分离","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/stems","href":"/api/cn/flowmuisc/flowmuisc_stems"},{"title":"上传音频","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/upload-audio","href":"/api/cn/flowmuisc/flowmuisc_uploadaudio"},{"title":"下载音频","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/download-audio","href":"/api/cn/flowmuisc/flowmuisc_download"},{"title":"下载视频","openapi":"openapi/cn/flowmuisc.json POST /flowmusic/v1/video-clip","href":"/api/cn/flowmuisc/flowmuisc_videoclip"},{"title":"获取任务状态 - fetch","openapi":"openapi/cn/flowmuisc.json get /flowmusic/v1/fetch","href":"/api/cn/flowmuisc/flowmuisc_fetch"}]}]},{"group":"语言对话","pages":[{"group":"OpenAI","icon":"/images/open-ai.png","pages":[{"title":"Completions","openapi":"openapi/cn/llm.json POST /v1/chat/completions","description":null,"href":"/api/cn/llm/completions"},{"title":"Responses","openapi":"openapi/cn/llm.json POST /v1/responses","href":"/api/cn/llm/responses"}]},{"group":"Claude","icon":"/images/claude.png","pages":[{"sidebarTitle":"Messages","title":"Claude Messages 接口","openapi":"openapi/cn/llm.json POST /v1/messages","description":null,"href":"/api/cn/llm/messages"}]},{"group":"Google","icon":"/images/Gemini.png","pages":[{"sidebarTitle":"GenerateContent","title":"Gemini Generate Content","openapi":"openapi/cn/llm.json POST /v1beta/models/{model}:generateContent","href":"/api/cn/llm/gemini-generate-content"},{"title":"Completions","openapi":"openapi/cn/llm.json POST /gemini/chat/completions","href":"/api/cn/llm/gemini-completions"}]},{"group":"Grok","icon":"/images/grok.svg","pages":[{"sidebarTitle":"Completions","title":"Grok Completions","openapi":"openapi/cn/llm.json POST /v1/chat/completions","href":"/api/cn/llm/grok_chat"}]}]},{"group":"账户","pages":[{"title":"获取用户信息","openapi":"openapi/cn/user.json get /user-info","href":"/api/cn/user/user-info"}]}]}]},{"language":"ru","pages":[{"title":"ru","href":"/api/ru/llm/responses"}]}]},"title":"Responses - TTAPI Docs","buildId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","deploymentId":"dpl_2oYXwqkEXirXBPk8wV1FtM5USFWi","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-WRhTSUDL.js","utils-ChMov4Kr.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-_REmC2bI.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Bp6nVRCu.js","snippetPresets-DZadmXoU.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CY2WdoTl.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DwYG-Q4l.js","shallow-BXQIGwv4.js","getApiPlaygroundDisplay-CK5nK5B9.js","CodeSnippet-TH4a2aGW.js","CodeSnippets-DwsQiOFS.js","Page-R3M_BF4L.js","getPastedJson-DD7kUzi_.js","icon-holE3QoJ.js","MethodPill-DUW0T8us.js","DuplicateIcon-CI_p4be-.js","createIcon-BdbRvavb.js","DynamicMarkdown-DN96a4Ur.js","SectionHeading-SCu36A9d.js","axios-vUo_bRtp.js","Markdown-CCeGv-zI.js","clsx-BGBGWFTt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-Cv_O2fky.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-2C5OB2eV.js"]}