Replay must match both source and account set. X-Idempotency-Key is also accepted.
请求体
application/json
provider
enum<string>
必填
Required source identifier; currently only tiktok_direct is accepted.
可用选项:
tiktok_direct
account_ids
integer<int64>[]
必填
Owned OmniMux account IDs, all belonging to the requested source. Official publishing supports one account.
Minimum array length: 1
media_items
object[]
必填
Required TikTok media. Both Draft upload (video.upload) and Direct Post (video.publish) accept either one video or a JPEG/WebP photo carousel (no mixed photo+video). Hosted OmniMux supports 1 to 35 images per photo post (TikTok Photo API maximum); self-hosted deployments default to 10 items and can be configured up to 35.
Minimum array length: 1
Show child attributes
content
string
Optional caption for Direct Post, or fallback description for photo drafts when tiktok_options.description is omitted. Ignored for video drafts.
tiktok_options
object
TikTok metadata and publishing options. Photo draft uploads (video.upload, MEDIA_UPLOAD) accept title, description, photo_cover_index, and is_aigc and never forward Direct Post privacy, interaction, or disclosure fields. Video draft uploads ignore this object. Direct Post (video.publish) uses the privacy, interaction, disclosure, and photo fields.
Show child attributes
title
string
Optional compatibility alias for tiktok_options.title on photo posts.
description
string
Optional compatibility alias for tiktok_options.description on photo posts.
photo_cover_index
integer
Optional compatibility alias for tiktok_options.photo_cover_index on photo posts.
必填范围: x >= 0
is_aigc
boolean
Optional compatibility alias for tiktok_options.is_aigc on photo posts.
响应
Check success before reading data. Generic upstream errors may use HTTP 200 with success:false.
Option 1
Option 2
success
enum<boolean>
必填
可用选项:
true
data
object
必填
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OmniMux","description":"OmniMux helps you create AI characters, build multi-view reference sheets, and generate character videos from reference clips.","colors":{"primary":"#6757e7","light":"#6757e7","dark":"#ffffff"},"logo":{"light":"https://mintcdn.com/omni-mux/LjtqAl2BNXsmL6xa/logo/light.svg?fit=max\u0026auto=format\u0026n=LjtqAl2BNXsmL6xa\u0026q=85\u0026s=b6353506931cdf6de6f89dbd1bf6a688","dark":"https://mintcdn.com/omni-mux/LjtqAl2BNXsmL6xa/logo/dark.svg?fit=max\u0026auto=format\u0026n=LjtqAl2BNXsmL6xa\u0026q=85\u0026s=edcdfdde50bb183f066f484a21688789","href":"https://omnimux.ai/"},"favicon":"https://mintcdn.com/omni-mux/LjtqAl2BNXsmL6xa/favicon.svg?fit=max\u0026auto=format\u0026n=LjtqAl2BNXsmL6xa\u0026q=85\u0026s=25d60978972f113d6ad0e82bf32a1ad1","api":{"openapi":["openapi/relay.json"],"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["curl","python","javascript","go"],"autogenerate":true},"mdx":{"auth":{"method":"bearer"},"server":"https://api.omnimux.ai"}},"navbar":{"links":[{"icon":"twitter","href":"https://x.com/OmniMuxai","label":"X"},{"href":"https://discord.gg/uNPBDz3WNC","type":"discord"},{"icon":"send","href":"https://t.me/+ITiQvBOpCe8wZTc1","label":"Telegram"}],"primary":{"type":"button","label":"Dashboard","href":"https://omnimux.ai/dashboard"}},"footer":{"socials":{"x":"https://x.com/OmniMuxai","discord":"https://discord.gg/uNPBDz3WNC","telegram":"https://t.me/+ITiQvBOpCe8wZTc1","github":"https://github.com/omnimux-ai/omnimux-client","website":"https://omnimux.ai"},"links":[{"header":"For agents","items":[{"label":"llms.txt","href":"https://docs.omnimux.ai/llms.txt"},{"label":"llms-full.txt","href":"https://docs.omnimux.ai/llms-full.txt"},{"label":"skill.md","href":"https://docs.omnimux.ai/skill.md"},{"label":"Docs MCP","href":"https://docs.omnimux.ai/mcp"}]}]},"seo":{"metatags":{"og:site_name":"OmniMux Docs"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","grok","mcp","add-mcp","cursor","vscode","download-spec"],"display":"header"},"markdown":{"instructions":["Public hosts only: console https://omnimux.ai/dashboard · API https://api.omnimux.ai · docs https://docs.omnimux.ai.","Gateway auth is Authorization: Bearer sk-… on https://api.omnimux.ai/v1 (OpenAI-compatible Chat Completions and related paths).","Discover pages from /llms.txt; full site dump /llms-full.txt; product skill /skill.md; docs search MCP /mcp. Prefer .md page URLs for Markdown.","Default docs locale is en; zh mirrors the same relative paths. Do not invent model ids not present on live pricing or the complete API pages."]},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","default":true,"href":"en/api-reference/text-series/claude/complete"},{"language":"zh","href":"zh/api-reference/text-series/claude/complete"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"omni-mux","hasAudioNarration":false,"actualSubdomain":"omni-mux","customDomains":["docs.omnimux.ai"],"gitSource":{"type":"github","owner":"laozhong86","repo":"omnimux-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0a56d027b53c1b0d9ee73c","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"en","tag":"API manual","count":108},{"language":"zh","tag":"API 手册","count":108},{"language":"en","tag":"Video series","count":30},{"language":"zh","tag":"视频系列","count":30},{"language":"en","tag":"Integration guide","count":24},{"language":"zh","tag":"集成指南","count":24},{"language":"en","tag":"Social data","count":16},{"language":"zh","tag":"社交数据","count":16},{"language":"en","tag":"Account management","count":15},{"language":"en","tag":"Image series","count":15},{"language":"zh","tag":"账户管理","count":15},{"language":"zh","tag":"图像系列","count":15},{"language":"en","tag":"Dev tools","count":13},{"language":"zh","tag":"开发工具","count":13},{"language":"en","tag":"Language series","count":12},{"language":"zh","tag":"语言系列","count":12},{"language":"en","tag":"Character and video creation","count":11},{"language":"zh","tag":"角色与视频创作","count":11},{"language":"en","tag":"FAQs","count":10},{"language":"zh","tag":"常见问题","count":10}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#assistant-entry,#assistant-entry-mobile,button#assistant-entry,button#assistant-entry-mobile,[aria-label=\"Toggle assistant panel\"],[aria-label=\"切换助手面板\"],[aria-label=\"Toggle Assistant\"],[aria-label=\"询问助手\"]{display:none!important;visibility:hidden!important;pointer-events:none!important;width:0!important;min-width:0!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important}[data-assistant-state=\"open\"] [data-component-name=\"assistant\"],aside[data-assistant],[data-testid=\"assistant-panel\"]{display:none!important}img[src*=\"/icons/social/\"],img[src*=\"icons/social/\"],image[href*=\"/icons/social/\"],[style*=\"icons/social/\"]{opacity:0.8}html.dark img[src*=\"/icons/social/\"],html.dark img[src*=\"icons/social/\"],.dark img[src*=\"/icons/social/\"],.dark img[src*=\"icons/social/\"],html[data-theme=\"dark\"] img[src*=\"/icons/social/\"],html[data-theme=\"dark\"] img[src*=\"icons/social/\"],[data-theme=\"dark\"] img[src*=\"/icons/social/\"],html.dark [style*=\"icons/social/\"],.dark [style*=\"icons/social/\"]{filter:invert(1) brightness(1.05);opacity:0.9}html.dark svg[data-icon-path*=\"icons/social\"] path,.dark svg[data-icon-path*=\"icons/social\"] path{fill:currentColor;stroke:currentColor}"}]}
{"page":{"pagePath":"zh/api-reference/publishing/create-post","slug":"/zh/api-reference/publishing/create-post","pageMetadata":{"title":"创建帖子","sidebarTitle":"创建帖子","description":"创建帖子 — 按官方来源发布","openapi":"openapi/ops/publishing/create-post.json POST /api/social/v1/posts","href":"/zh/api-reference/publishing/create-post"},"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={a:`a`,code:`code`,li:`li`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`所有目标账号必须属于请求来源。幂等命中也校验已存来源与账号集合;不符返回 409。`}),`\n`,_jsxs(_components.p,{children:[`调用`,_jsx(_components.a,{href:`/zh/api-reference/publishing/presign`,children:`媒体预签名`}),`并上传文件,将返回的 `,_jsx(_components.code,{children:`public_url`}),` 填入 `,_jsx(_components.code,{children:`media_items[].url`}),`。确认上传成功且对象可读后再提交帖子。`]}),`\n`,_jsx(_components.p,{children:`请求通过校验后,网关立即向 TikTok 提交,并根据账号的发布权限选择模式。`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`账号能力`}),_jsx(_components.th,{children:`行为`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`仅有 `,_jsx(_components.code,{children:`video.upload`}),`(当前已批准)`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`草稿上传`}),`同时支持`,_jsx(_components.strong,{children:`单条视频`}),`(`,_jsx(_components.code,{children:`/v2/post/publish/inbox/video/init/`}),`)与`,_jsx(_components.strong,{children:`图文轮播`}),`(`,_jsx(_components.code,{children:`/v2/post/publish/content/init/`}),`,`,_jsx(_components.code,{children:`post_mode: \"MEDIA_UPLOAD\"`}),`),送入创作者的 TikTok 收件箱由用户在 TikTok 内编辑和发布。视频草稿忽略 `,_jsx(_components.code,{children:`content`}),` 与 `,_jsx(_components.code,{children:`tiktok_options`}),`;图文草稿支持可选的 `,_jsx(_components.code,{children:`tiktok_options.title`}),`、`,_jsx(_components.code,{children:`tiktok_options.description`}),`(缺省回退 `,_jsx(_components.code,{children:`content`}),`)、`,_jsx(_components.code,{children:`tiktok_options.photo_cover_index`}),`(从 `,_jsx(_components.code,{children:`0`}),` 计数的整数,显式 `,_jsx(_components.code,{children:`0`}),` 保留)与 `,_jsx(_components.code,{children:`tiktok_options.is_aigc`}),`(布尔值,显式 `,_jsx(_components.code,{children:`false`}),` 保留),且不传递仅公开直发生效的隐私、互动与商业披露字段`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[`拥有 `,_jsx(_components.code,{children:`video.publish`}),`(需另行审核)`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`直接发布`}),`支持单条视频或图文轮播,按 `,_jsx(_components.code,{children:`tiktok_options`}),` 设置隐私、互动与披露权限。两个 scope 都具备时优先走此模式`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`tiktok_direct`}),` 图文轮播约束:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`图片格式`}),`:仅支持 JPEG / WebP(拒绝 PNG、GIF 及未声明格式的图片)。`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`禁止图文混排`}),`:同一条 `,_jsx(_components.code,{children:`media_items`}),` 不可同时包含图片和视频。`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`张数上限`}),`:OmniMux 托管环境支持单帖 1–35 张图片(与 TikTok Photo API 协议上限一致;自部署环境默认单次最多 10 张,可按需配置最高至 35 张)。`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`已验证域代理拉取`}),`:所有图片 URL 在提交至 TikTok 前均由网关经签名已验证域媒体代理包装。`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`图文元数据`}),`:推荐在 `,_jsx(_components.code,{children:`tiktok_options`}),` 中传入 `,_jsx(_components.code,{children:`title`}),`、`,_jsx(_components.code,{children:`description`}),`、`,_jsx(_components.code,{children:`photo_cover_index`}),`(0 基索引,不可越界)与 `,_jsx(_components.code,{children:`is_aigc`}),`;兼容顶层同名字段,两者同时提供时以 `,_jsx(_components.code,{children:`tiktok_options`}),` 为准。`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`发布能力严格按该账号实际获得的 OAuth `,_jsx(_components.code,{children:`scope`}),` 计算(fail-closed):未授予 `,_jsx(_components.code,{children:`video.upload`}),` 或 `,_jsx(_components.code,{children:`video.publish`}),` 的账号返回 409 `,_jsx(_components.code,{children:`SOCIAL_TIKTOK_SCOPE_MISSING`}),`。新建帖子的初始状态为 `,_jsx(_components.code,{children:`submitted`}),`。`,_jsx(_components.a,{href:`/zh/api-reference/publishing/get-post`,children:`查询帖子`}),`刷新状态时,网关将 TikTok 的 `,_jsx(_components.code,{children:`SEND_TO_USER_INBOX`}),` 映射为非终态 `,_jsx(_components.code,{children:`sent_to_inbox`}),`(与传输处理态 `,_jsx(_components.code,{children:`processing`}),` 区分),将 `,_jsx(_components.code,{children:`PUBLISH_COMPLETE`}),` 映射为 `,_jsx(_components.code,{children:`published`}),`。`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`provider`}),` 必填,当前唯一取值 `,_jsx(_components.code,{children:`tiktok_direct`}),`。已退役的来源标识返回 410 `,_jsx(_components.code,{children:`provider-retired`}),`,缺失或未知值返回 400 `,_jsx(_components.code,{children:`invalid-provider`}),`。`]}),`\n`,_jsx(Heading,{level:`3`,id:`tiktok-上游结构化错误`,children:`TikTok 上游结构化错误`}),`\n`,_jsxs(_components.p,{children:[`当 TikTok 上游返回业务错误或限流时,网关统一按标准 HTTP 状态返回结构化错误体(`,_jsx(_components.code,{children:`success: false`}),`、`,_jsx(_components.code,{children:`code`}),`、`,_jsx(_components.code,{children:`message`}),`,上游提供时附带脱敏后的 `,_jsx(_components.code,{children:`upstream_code`}),` 与 `,_jsx(_components.code,{children:`upstream_log_id`}),`),不会将 TikTok 授权失效映射为 OmniMux 登录失效(401/403):`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`HTTP`}),_jsx(_components.th,{children:_jsx(_components.code,{children:`code`})}),_jsxs(_components.th,{children:[`典型 `,_jsx(_components.code,{children:`upstream_code`})]}),_jsx(_components.th,{children:`建议处理`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`429`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SOCIAL_TIKTOK_RATE_LIMITED`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`rate_limit_exceeded`})}),_jsx(_components.td,{children:`退避后重试,不立即重连`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SOCIAL_TIKTOK_POSTING_BANNED`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`spam_risk_user_banned_from_posting`})}),_jsx(_components.td,{children:`账号受 TikTok 发帖封禁限制,勿自动重试`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SOCIAL_TIKTOK_PUBLISH_RESTRICTED`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`spam_risk_too_many_posts`}),`、`,_jsx(_components.code,{children:`reached_active_user_cap`}),`、`,_jsx(_components.code,{children:`spam_risk_too_many_pending_share`}),`、`,_jsx(_components.code,{children:`unaudited_client_can_only_post_to_private_accounts`}),`、`,_jsx(_components.code,{children:`url_ownership_unverified`})]}),_jsx(_components.td,{children:`命中账号配额、待审草稿上限或应用可见性/域名限制`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SOCIAL_TIKTOK_SCOPE_MISSING`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`scope_not_authorized`})}),_jsx(_components.td,{children:`缺少发布所需 OAuth 权限,引导重新授权`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`409`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SOCIAL_TIKTOK_TOKEN_INVALID`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`access_token_invalid`}),`、`,_jsx(_components.code,{children:`token_expired`}),`、`,_jsx(_components.code,{children:`token_revoked`}),`、`,_jsx(_components.code,{children:`invalid_grant`}),`、`,_jsx(_components.code,{children:`refresh_token_invalid`})]}),_jsx(_components.td,{children:`TikTok 授权已失效,引导重新连接账号`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`502`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`SOCIAL_TIKTOK_UPSTREAM_ERROR`})}),_jsx(_components.td,{children:`其他 TikTok 上游错误码`}),_jsxs(_components.td,{children:[`记录 `,_jsx(_components.code,{children:`upstream_log_id`}),` 后稍后重试或排查`]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`CLI 使用 `,_jsx(_components.code,{children:`omnimux social post --provider tiktok_direct --accounts \u003caccount-id> --media \u003curl> --title \"Draft title\" --photo-cover-index 0 --is-aigc=false`}),`(同时支持 `,_jsx(_components.code,{children:`--description`}),`、`,_jsx(_components.code,{children:`--tiktok-options '\u003cjson>'`}),` 与合规选项)。若传入已退役的 `,_jsx(_components.code,{children:`--provider`}),` 取值,CLI 会在发起网络请求前直接在本地报错并给出迁移指引。`]}),`\n`,_jsxs(_components.p,{children:[`使用 OmniMux 用户 access token 和 `,_jsx(_components.code,{children:`New-Api-User`}),`,不是 `,_jsx(_components.code,{children:`sk-`}),` 密钥。请同时检查 HTTP 状态与 `,_jsx(_components.code,{children:`success`}),`(已知 TikTok 上游错误返回 409/429/502,其余通用错误仍可能返回 HTTP 200、`,_jsx(_components.code,{children:`success: false`}),`)。`]})]})}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":"创建帖子","sidebarTitle":"创建帖子","description":"创建帖子 — 按官方来源发布","openapi":"openapi/ops/publishing/create-post.json POST /api/social/v1/posts","href":"/zh/api-reference/publishing/create-post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"TikTok 上游结构化错误","slug":"tiktok-上游结构化错误","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createPost","summary":"Create Post","parameters":["4cb75bd2-e086-499e-8b2e-1274b270c840"],"responses":{"200":"ade205cc-36bc-4d52-8ac1-681c26b93b1e","400":"d591ef54-5399-462b-bf97-cda7c634f92e","401":"dfdbb89e-5102-45da-97c9-749057826b6b","402":"c0863a76-62b7-4044-852b-bf79710cb9bd","403":"1c2d6f75-bbe6-4524-aef2-f63bc62ddb2d","404":"0ad342d1-226d-4b61-ac89-58c115050740","409":"854755a8-dd34-492c-98d0-e17b11162071","410":"cb490644-de5e-4208-b7a3-f2310ace8fec","429":"d59aefe7-ef7e-4086-a869-69bb93aff312","502":"516a66c3-26dc-46d9-9ae1-e19b4e9602f5","503":"2eac4748-bc92-4a73-8697-0893e9af1c19"},"requestBody":"4f68b71a-2e3f-4265-a7df-0fe461779dfe","x-codeSamples":[{"lang":"curl","label":"cURL","source":"curl --request POST \\\n --url \"https://omnimux.ai/api/social/v1/posts\" \\\n --header 'Authorization: Bearer \u003cuser-access-token>' \\\n --header 'New-Api-User: \u003cuser-id>' \\\n --header 'Content-Type: application/json' \\\n --data '{\"provider\":\"tiktok_direct\",\"account_ids\":[123],\"media_items\":[{\"url\":\"https://example.invalid/clip.mp4\",\"type\":\"video\"}]}'"}],"description":"创建帖子 — 按官方来源发布","method":"post","type":"path","servers":["e8a141e9-1db2-4226-944f-77e37869e1d8"],"security":["e247b5d4-304f-4715-9c14-17ebc57437cd"],"path":"/api/social/v1/posts","baseUrlOptions":["https://omnimux.ai"],"title":"Create Post","codeSamples":[{"label":"cURL","lang":"curl","source":"curl --request POST \\\n --url \"https://omnimux.ai/api/social/v1/posts\" \\\n --header 'Authorization: Bearer \u003cuser-access-token>' \\\n --header 'New-Api-User: \u003cuser-id>' \\\n --header 'Content-Type: application/json' \\\n --data '{\"provider\":\"tiktok_direct\",\"account_ids\":[123],\"media_items\":[{\"url\":\"https://example.invalid/clip.mp4\",\"type\":\"video\"}]}'"}],"requestExampleLanguages":["bash","python","javascript","go"],"requiredOnlyExamples":true,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"4cb75bd2-e086-499e-8b2e-1274b270c840":{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"Replay must match both source and account set. X-Idempotency-Key is also accepted.","uniqueKey":"","typeLabel":"string"},"description":"Replay must match both source and account set. X-Idempotency-Key is also accepted."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["tiktok_direct"],"description":"Required source identifier; currently only tiktok_direct is accepted.","isRequired":true,"uniqueKey":"provider","typeLabel":"enum\u003cstring>"},"account_ids":{"type":"array","minItems":1,"items":{"type":"integer","format":"int64","uniqueKey":"account_ids.items.[INDEX]","typeLabel":"integer\u003cint64>"},"description":"Owned OmniMux account IDs, all belonging to the requested source. Official publishing supports one account.","isRequired":true,"uniqueKey":"account_ids","typeLabel":"integer\u003cint64>[]"},"media_items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The public_url returned by Media Presign. Upload the file successfully before submitting the post. Image URLs are wrapped through the gateway's signed verified-domain proxy before calling TikTok.","isRequired":true,"uniqueKey":"media_items.items.[INDEX].url","typeLabel":"string\u003curi>"},"type":{"type":"string","description":"Optional media type, such as video or image.","uniqueKey":"media_items.items.[INDEX].type","typeLabel":"string"},"content_type":{"type":"string","description":"Optional MIME type (for example image/jpeg, image/webp, or video/mp4). Useful when the image URL has no file extension.","uniqueKey":"media_items.items.[INDEX].content_type","typeLabel":"string"}},"required":["url"],"uniqueKey":"media_items.items.[INDEX]","typeLabel":"object"},"description":"Required TikTok media. Both Draft upload (video.upload) and Direct Post (video.publish) accept either one video or a JPEG/WebP photo carousel (no mixed photo+video). Hosted OmniMux supports 1 to 35 images per photo post (TikTok Photo API maximum); self-hosted deployments default to 10 items and can be configured up to 35.","minItems":1,"isRequired":true,"uniqueKey":"media_items","typeLabel":"object[]"},"content":{"type":"string","description":"Optional caption for Direct Post, or fallback description for photo drafts when tiktok_options.description is omitted. Ignored for video drafts.","uniqueKey":"content","typeLabel":"string"},"tiktok_options":{"type":"object","description":"TikTok metadata and publishing options. Photo draft uploads (video.upload, MEDIA_UPLOAD) accept title, description, photo_cover_index, and is_aigc and never forward Direct Post privacy, interaction, or disclosure fields. Video draft uploads ignore this object. Direct Post (video.publish) uses the privacy, interaction, disclosure, and photo fields.","properties":{"title":{"type":"string","description":"Optional photo carousel title (used for photo drafts and photo Direct Posts).","uniqueKey":"tiktok_options.title","typeLabel":"string"},"description":{"type":"string","description":"Optional photo carousel description (falls back to top-level description or content when omitted).","uniqueKey":"tiktok_options.description","typeLabel":"string"},"photo_cover_index":{"type":"integer","minimum":0,"description":"Optional 0-based index of the cover image in media_items (explicit 0 is preserved; must be less than the number of photos).","uniqueKey":"tiktok_options.photo_cover_index","typeLabel":"integer"},"is_aigc":{"type":"boolean","description":"Optional AI-generated content disclosure flag for photo drafts and photo Direct Posts (explicit false is preserved).","uniqueKey":"tiktok_options.is_aigc","typeLabel":"boolean"},"privacy_level":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"],"default":"SELF_ONLY","description":"Direct Post (video.publish) only. Select a visibility level available to the TikTok account; not sent in draft mode.","uniqueKey":"tiktok_options.privacy_level","typeLabel":"enum\u003cstring>"},"allow_comment":{"type":"boolean","description":"Direct Post (video.publish) only. Allow comments; not sent in draft mode.","uniqueKey":"tiktok_options.allow_comment","typeLabel":"boolean"},"allow_duet":{"type":"boolean","description":"Direct Post (video.publish) only. Allow Duet on video posts; not sent in draft mode.","uniqueKey":"tiktok_options.allow_duet","typeLabel":"boolean"},"allow_stitch":{"type":"boolean","description":"Direct Post (video.publish) only. Allow Stitch on video posts; not sent in draft mode.","uniqueKey":"tiktok_options.allow_stitch","typeLabel":"boolean"},"commercial_content":{"type":"boolean","description":"Direct Post (video.publish) only. Enable commercial disclosure. When true, also set your_brand or branded_content to true; not sent in draft mode.","uniqueKey":"tiktok_options.commercial_content","typeLabel":"boolean"},"your_brand":{"type":"boolean","description":"Direct Post (video.publish) only. Disclose promotion of your own brand; not sent in draft mode.","uniqueKey":"tiktok_options.your_brand","typeLabel":"boolean"},"branded_content":{"type":"boolean","description":"Direct Post (video.publish) only. Disclose promotion of a third-party brand. When true, choose a privacy level other than SELF_ONLY; not sent in draft mode.","uniqueKey":"tiktok_options.branded_content","typeLabel":"boolean"},"music_usage_confirmed":{"type":"boolean","description":"Direct Post (video.publish) only. Indicates confirmation of music usage. The gateway rejects an explicit false in Direct Post mode; not sent in draft mode.","uniqueKey":"tiktok_options.music_usage_confirmed","typeLabel":"boolean"}},"uniqueKey":"tiktok_options","typeLabel":"object"},"title":{"type":"string","description":"Optional compatibility alias for tiktok_options.title on photo posts.","uniqueKey":"title","typeLabel":"string"},"description":{"type":"string","description":"Optional compatibility alias for tiktok_options.description on photo posts.","uniqueKey":"description","typeLabel":"string"},"photo_cover_index":{"type":"integer","minimum":0,"description":"Optional compatibility alias for tiktok_options.photo_cover_index on photo posts.","uniqueKey":"photo_cover_index","typeLabel":"integer"},"is_aigc":{"type":"boolean","description":"Optional compatibility alias for tiktok_options.is_aigc on photo posts.","uniqueKey":"is_aigc","typeLabel":"boolean"}},"required":["provider","account_ids","media_items"],"uniqueKey":"","typeLabel":"object"},"example":{"provider":"tiktok_direct","account_ids":[123],"media_items":[{"url":"https://example.invalid/clip.mp4","type":"video"}]},"examples":{"Example":{"title":"Example","value":{"provider":"tiktok_direct","account_ids":[123],"media_items":[{"url":"https://example.invalid/clip.mp4","type":"video"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ade205cc-36bc-4d52-8ac1-681c26b93b1e":{"description":"Check success before reading data. Generic upstream errors may use HTTP 200 with success:false.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"oneOf.0.success","typeLabel":"enum\u003cboolean>"},"data":{"type":"object","properties":{"id":{"type":"integer","format":"int64","isRequired":true,"uniqueKey":"oneOf.0.data.id","typeLabel":"integer\u003cint64>"},"provider":{"type":"string","enum":["tiktok_direct"],"description":"Required source identifier; currently only tiktok_direct is accepted.","example":"tiktok_direct","isRequired":true,"uniqueKey":"oneOf.0.data.provider","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"A newly created post starts as submitted. An idempotent replay can return a later stored status.","isRequired":true,"uniqueKey":"oneOf.0.data.status","typeLabel":"string"},"provider_post_id":{"type":"string","uniqueKey":"oneOf.0.data.provider_post_id","typeLabel":"string"},"content_preview":{"type":"string","uniqueKey":"oneOf.0.data.content_preview","typeLabel":"string"},"created_at":{"type":"integer","format":"int64","uniqueKey":"oneOf.0.data.created_at","typeLabel":"integer\u003cint64>"},"idempotency_key":{"type":"string","uniqueKey":"oneOf.0.data.idempotency_key","typeLabel":"string"}},"required":["id","provider","status"],"isRequired":true,"uniqueKey":"oneOf.0.data","typeLabel":"object"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["success","message"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"oneOf.1.success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"oneOf.1.code","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":123,"provider":"tiktok_direct","status":"\u003cstring>","provider_post_id":"\u003cstring>","content_preview":"\u003cstring>","created_at":123,"idempotency_key":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"d591ef54-5399-462b-bf97-cda7c634f92e":{"description":"Missing/unknown provider or invalid request. invalid-provider identifies a missing or unknown source.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"dfdbb89e-5102-45da-97c9-749057826b6b":{"description":"Authentication required.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"c0863a76-62b7-4044-852b-bf79710cb9bd":{"description":"Billing-related rejection where applicable; upstream failures may instead be wrapped as success:false.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"1c2d6f75-bbe6-4524-aef2-f63bc62ddb2d":{"description":"Account ownership or access denied.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0ad342d1-226d-4b61-ac89-58c115050740":{"description":"Account or post not found.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"854755a8-dd34-492c-98d0-e17b11162071":{"description":"Source or account-set conflict, or a structured TikTok account/policy rejection (scope missing, token invalid, posting banned, or publish restricted).","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"upstream_code":{"type":"string","description":"Sanitized TikTok upstream error code when available.","uniqueKey":"upstream_code","typeLabel":"string"},"upstream_log_id":{"type":"string","description":"TikTok upstream log_id for support and debugging when available.","uniqueKey":"upstream_log_id","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"accountProviderMismatch":{"title":"accountProviderMismatch","summary":"The account belongs to a different source","value":{"success":false,"code":"account-provider-mismatch","message":"account-provider-mismatch"}},"tiktokPublishScopeMissing":{"title":"tiktokPublishScopeMissing","summary":"TikTok account lacks a publishing scope","value":{"success":false,"code":"SOCIAL_TIKTOK_SCOPE_MISSING","message":"tiktok account has no publishing scope; reconnect after video.upload or video.publish is granted"}},"tiktokPublishRestricted":{"title":"tiktokPublishRestricted","summary":"TikTok rejected posting due to account or app limit","value":{"success":false,"code":"SOCIAL_TIKTOK_PUBLISH_RESTRICTED","message":"TikTok posting limit reached","upstream_code":"spam_risk_too_many_posts","upstream_log_id":"20261124090000ABCDEF"}},"tiktokPostingBanned":{"title":"tiktokPostingBanned","summary":"TikTok account is restricted from posting","value":{"success":false,"code":"SOCIAL_TIKTOK_POSTING_BANNED","message":"TikTok account is restricted from posting","upstream_code":"spam_risk_user_banned_from_posting","upstream_log_id":"20261124090001ABCDEF"}},"tiktokTokenInvalid":{"title":"tiktokTokenInvalid","summary":"TikTok OAuth token expired or revoked","value":{"success":false,"code":"SOCIAL_TIKTOK_TOKEN_INVALID","message":"TikTok authorization expired or invalid; please reconnect account","upstream_code":"access_token_invalid","upstream_log_id":"20261124090002ABCDEF"}}},"exampleType":"examples"}},"exampleType":"examples"},"cb490644-de5e-4208-b7a3-f2310ace8fec":{"description":"Retired source identifier. provider-retired means the removed source can no longer be used; move the account to an official platform.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d59aefe7-ef7e-4086-a869-69bb93aff312":{"description":"TikTok upstream rate limit exceeded; retry with backoff.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"upstream_code":{"type":"string","uniqueKey":"upstream_code","typeLabel":"string"},"upstream_log_id":{"type":"string","uniqueKey":"upstream_log_id","typeLabel":"string"}},"required":["success","message","code"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"code":"SOCIAL_TIKTOK_RATE_LIMITED","message":"TikTok rate limit reached; please retry later","upstream_code":"rate_limit_exceeded","upstream_log_id":"20261124090003ABCDEF"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"SOCIAL_TIKTOK_RATE_LIMITED","message":"TikTok rate limit reached; please retry later","upstream_code":"rate_limit_exceeded","upstream_log_id":"20261124090003ABCDEF"}}},"exampleType":"examples"}},"exampleType":"examples"},"516a66c3-26dc-46d9-9ae1-e19b4e9602f5":{"description":"Other TikTok upstream error; structured code and upstream_log_id are passed through when available.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","isRequired":true,"uniqueKey":"code","typeLabel":"string"},"upstream_code":{"type":"string","uniqueKey":"upstream_code","typeLabel":"string"},"upstream_log_id":{"type":"string","uniqueKey":"upstream_log_id","typeLabel":"string"}},"required":["success","message","code"],"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"code":"SOCIAL_TIKTOK_UPSTREAM_ERROR","message":"TikTok upstream request failed","upstream_code":"internal_error","upstream_log_id":"20261124090004ABCDEF"},"examples":{"Example":{"title":"Example","value":{"success":false,"code":"SOCIAL_TIKTOK_UPSTREAM_ERROR","message":"TikTok upstream request failed","upstream_code":"internal_error","upstream_log_id":"20261124090004ABCDEF"}}},"exampleType":"examples"}},"exampleType":"examples"},"2eac4748-bc92-4a73-8697-0893e9af1c19":{"description":"Requested provider is disabled or not configured.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","uniqueKey":"code","typeLabel":"string"}},"required":["success","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"\u003cstring>","code":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e247b5d4-304f-4715-9c14-17ebc57437cd":{"accessToken":{"type":"http","scheme":"bearer","description":"OmniMux user access token, not an sk- API key.","scopes":[],"schemeName":"accessToken"},"userId":{"type":"apiKey","in":"header","name":"New-Api-User","description":"Current authenticated user ID.","scopes":[],"schemeName":"userId"}}},"servers":{"e8a141e9-1db2-4226-944f-77e37869e1d8":{"url":"https://omnimux.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"OmniMux user access token, not an sk- API key.","scopes":[],"schemeName":"accessToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"OmniMux user access token, not an sk- API key.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"accessToken","name":"Authorization"},{"scheme":{"type":"apiKey","in":"header","name":"New-Api-User","description":"Current authenticated user ID.","scopes":[],"schemeName":"userId"},"schema":{"title":"New-Api-User","type":"string","description":"Current authenticated user ID.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"userId","name":"New-Api-User"}],"title":"accessToken \u0026 userId"}]},"originalFileLocation":"openapi/ops/publishing/create-post.json"},"subdomain":"omni-mux","siteName":"OmniMux","title":"创建帖子 - OmniMux","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/publishing/create-post","matchLevel":1},"zh":{"href":"/zh/api-reference/publishing/create-post","matchLevel":0}}},"lastModified":"2026-11-26T03:57:33.824Z","originalFileLocation":"zh/api-reference/publishing/create-post.mdx","locale":"zh"},"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=\"application-name\" content=\"OmniMux\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_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/omni-mux/iMCtxfHrUV3yBz3o/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"创建帖子 - OmniMux\">\u003cmeta data-mint-head property=\"og:description\" content=\"创建帖子 — 按官方来源发布\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OmniMux Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://omni-mux.mintlify.site/_mintlify/api/og/v2?division=%E5%B8%96%E5%AD%90\u0026amp;title=%E5%88%9B%E5%BB%BA%E5%B8%96%E5%AD%90\u0026amp;description=%E5%88%9B%E5%BB%BA%E5%B8%96%E5%AD%90+%E2%80%94+%E6%8C%89%E5%AE%98%E6%96%B9%E6%9D%A5%E6%BA%90%E5%8F%91%E5%B8%83\u0026amp;theme=4485f207ce1abae027f8bb7c\u0026amp;signature=c48557ba1d1989d55f9539875569c4ace95df8c54f71d9683023a345ece60b38\">\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=\"创建帖子 - OmniMux\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"创建帖子 — 按官方来源发布\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omni-mux.mintlify.site/_mintlify/api/og/v2?division=%E5%B8%96%E5%AD%90\u0026amp;title=%E5%88%9B%E5%BB%BA%E5%B8%96%E5%AD%90\u0026amp;description=%E5%88%9B%E5%BB%BA%E5%B8%96%E5%AD%90+%E2%80%94+%E6%8C%89%E5%AE%98%E6%96%B9%E6%9D%A5%E6%BA%90%E5%8F%91%E5%B8%83\u0026amp;theme=4485f207ce1abae027f8bb7c\u0026amp;signature=c48557ba1d1989d55f9539875569c4ace95df8c54f71d9683023a345ece60b38\">\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/omni-mux/iMCtxfHrUV3yBz3o/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OmniMux\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6757e7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/zh/api-reference/publishing/create-post.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.omnimux.ai/en/api-reference/publishing/create-post\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.omnimux.ai/en/api-reference/publishing/create-post\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.omnimux.ai/#organization\",\"name\":\"OmniMux\",\"url\":\"https://docs.omnimux.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/omni-mux/LjtqAl2BNXsmL6xa/logo/light.svg?fit=max\u0026auto=format\u0026n=LjtqAl2BNXsmL6xa\u0026q=85\u0026s=b6353506931cdf6de6f89dbd1bf6a688\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.omnimux.ai#website\",\"name\":\"OmniMux\",\"url\":\"https://docs.omnimux.ai\",\"publisher\":{\"@id\":\"https://docs.omnimux.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post#webpage\",\"url\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post\",\"name\":\"创建帖子\",\"description\":\"创建帖子 — 按官方来源发布\",\"dateModified\":\"2026-11-26T03:57:33.824Z\",\"isPartOf\":{\"@id\":\"https://docs.omnimux.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"社媒发布\",\"item\":\"https://docs.omnimux.ai/zh/api-reference/publishing/start-connect\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"创建帖子\",\"item\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post#apireference\",\"headline\":\"创建帖子\",\"name\":\"创建帖子\",\"description\":\"创建帖子 — 按官方来源发布\",\"url\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omnimux.ai/zh/api-reference/publishing/create-post#webpage\"},\"dateModified\":\"2026-11-26T03:57:33.824Z\",\"publisher\":{\"@id\":\"https://docs.omnimux.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.omnimux.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OmniMux\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OmniMux\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/zh/api-reference/publishing/create-post.md","siteName":"OmniMux","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/en/api-reference/publishing/create-post"}]},{"language":"zh","tabs":[{"tab":"API 手册","icon":"square-terminal","groups":[{"group":"语言系列","icon":"message-square","pages":[{"group":"Claude","pages":[{"title":"Claude · 完整参数","sidebarTitle":"Claude · 完整参数","openapi":"openapi/ops/chat/claude.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/claude/complete"}]},{"group":"Gemini","pages":[{"title":"Gemini · 完整参数","sidebarTitle":"Gemini · 完整参数","openapi":"openapi/ops/chat/gemini.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/gemini/complete"},{"title":"Gemini · 原生多模态理解","sidebarTitle":"Gemini · 原生多模态理解","openapi":"openapi/ops/gemini/native.json POST /v1beta/models/{model}:generateContent","href":"/zh/api-reference/text-series/gemini/native-generate"},{"title":"Gemini · 原生流式理解","sidebarTitle":"Gemini · 原生流式理解","openapi":"openapi/ops/gemini/native.json POST /v1beta/models/{model}:streamGenerateContent","href":"/zh/api-reference/text-series/gemini/native-stream"}]},{"group":"GPT","pages":[{"title":"GPT · 完整参数","sidebarTitle":"GPT · 完整参数","openapi":"openapi/ops/chat/gpt.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/gpt/complete"}]},{"group":"Grok","pages":[{"title":"Grok · 完整参数","sidebarTitle":"Grok · 完整参数","openapi":"openapi/ops/chat/grok.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/grok/complete"}]},{"group":"Kimi","pages":[{"title":"Kimi · 完整参数","sidebarTitle":"Kimi · 完整参数","openapi":"openapi/ops/chat/kimi.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/kimi/complete"}]},{"group":"DeepSeek","pages":[{"title":"DeepSeek · 完整参数","sidebarTitle":"DeepSeek · 完整参数","openapi":"openapi/ops/chat/deepseek.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/deepseek/complete"}]},{"group":"MiniMax","pages":[{"title":"MiniMax · 完整参数","sidebarTitle":"MiniMax · 完整参数","openapi":"openapi/ops/chat/minimax.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/minimax/complete"}]},{"group":"GLM","pages":[{"title":"GLM · 完整参数","sidebarTitle":"GLM · 完整参数","openapi":"openapi/ops/chat/glm.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/glm/complete"}]},{"group":"Doubao","pages":[{"title":"Doubao · 完整参数","sidebarTitle":"Doubao · 完整参数","openapi":"openapi/ops/chat/doubao.json POST /v1/chat/completions","href":"/zh/api-reference/text-series/doubao/complete"}]},{"group":"TypeSafe","pages":[{"title":"TypeSafe System One","sidebarTitle":"TypeSafe System One","openapi":"openapi/ops/typesafe/systemone.json POST /v1/systemone","href":"/zh/api-reference/text-series/typesafe/systemone"}]}]},{"group":"图像系列","icon":"image","pages":[{"group":"Nano Banana","icon":"image","pages":[{"title":"Nano Banana 2 生图","sidebarTitle":"Nano Banana 2 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/nano-banana-2"},{"title":"Nano Banana 2 生图","sidebarTitle":"Nano Banana 2 (gemini-3.1-flash-image)","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/gemini-3.1-flash-image"},{"title":"Nano Banana 2 Lite 生图","sidebarTitle":"Nano Banana 2 Lite (nano-banana-2-lite)","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/nano-banana-2-lite"},{"title":"Nano Banana Pro 生图","sidebarTitle":"Nano Banana Pro 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/nano-banana-pro"},{"title":"Nano Banana 2.1 生图","sidebarTitle":"Nano Banana 2.1 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/nano-banana-2-1"}]},{"group":"GPT Image","icon":"image","pages":[{"title":"GPT Image · 图像生成","sidebarTitle":"GPT Image · 图像生成","openapi":"openapi/ops/image/zh/gpt-image.json POST /v1/images/generations","href":"/zh/api-reference/image-series/gpt-image/generate"}]},{"group":"Z Image","icon":"image","pages":[{"title":"Z Image 生图","sidebarTitle":"Z Image 生图","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/image-series/models/zimage-makeup"}]},{"group":"Seedream","icon":"image","pages":[{"title":"Seedream 5.0 Pro 生图","sidebarTitle":"Seedream 5.0 Pro 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/seedream-5-0-pro"},{"title":"Seedream 5.5 生图","sidebarTitle":"Seedream 5.5 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/seedream-5-5"}]},{"group":"火山引擎","icon":"image","pages":[{"title":"火山引擎 图片超分","sidebarTitle":"火山引擎 图片超分","openapi":"openapi/ops/image/zh/volc-image-upscale.json POST /v1/images/edits","href":"/zh/api-reference/image-series/models/volc-image-upscale"}]},{"group":"Qwen Image","icon":"image","pages":[{"title":"Qwen Image 3.0 生图","sidebarTitle":"Qwen Image 3.0 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/qwen-image-3-0"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine 生图","sidebarTitle":"Grok Imagine 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/grok-imagine-image"},{"title":"Grok Imagine Image 2.0 生图","sidebarTitle":"Grok Imagine Image 2.0 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/grok-imagine-image-2-0"},{"title":"Grok Imagine Image Quality 生图","sidebarTitle":"Grok Imagine Image Quality 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/grok-imagine-image-quality"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"Midjourney 生图","sidebarTitle":"Midjourney 生图","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/zh/api-reference/image-series/models/midjourney"}]}]},{"group":"视频系列","icon":"video","pages":[{"group":"MiniMax","icon":"video","pages":[{"title":"MiniMax H3 视频生成","sidebarTitle":"MiniMax H3 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3"},{"title":"MiniMax H3 视频专线","sidebarTitle":"MiniMax H3 视频专线","api":"POST https://api.omnimux.ai/v1/videos","href":"/zh/api-reference/video-series/models/minimax-h3-video"},{"title":"MiniMax H3 Max","sidebarTitle":"MiniMax H3 Max","openapi":"openapi/ops/video/minimax-h3-max.json POST /v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3-max"},{"title":"MiniMax H3 Max Turbo","sidebarTitle":"MiniMax H3 Max Turbo","openapi":"openapi/ops/video/minimax-h3-max-turbo.json POST /v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3-max-turbo"},{"title":"MiniMax 文生视频","sidebarTitle":"MiniMax 文生视频","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3-t2v"},{"title":"MiniMax 图生视频","sidebarTitle":"MiniMax 图生视频","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3-fl2va"},{"title":"MiniMax 首尾帧","sidebarTitle":"MiniMax 首尾帧","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3-flf"},{"title":"MiniMax 尾帧","sidebarTitle":"MiniMax 尾帧","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/minimax-h3-endframe"}]},{"group":"Veo 3.1","icon":"video","pages":[{"title":"Veo 3.1 视频生成","sidebarTitle":"Veo 3.1 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/veo-3.1"},{"title":"Veo 3.1 Fast 视频生成","sidebarTitle":"Veo 3.1 Fast 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/veo-3.1-fast"}]},{"group":"Omni Flash","icon":"video","pages":[{"title":"Omni Flash 视频生成","sidebarTitle":"Omni Flash 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/gemini-omni-flash"},{"title":"Omni 1.1 视频生成","sidebarTitle":"Omni 1.1 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/gemini-omni-1.1"}]},{"group":"LTX","icon":"video","pages":[{"title":"LTX 数字人对口型","sidebarTitle":"LTX 数字人对口型","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/ltx-2-3-kj"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Grok Imagine 视频生成","sidebarTitle":"Grok Imagine 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/grok-imagine-video"},{"title":"Grok Imagine Video 1.5 视频生成","sidebarTitle":"Grok Imagine Video 1.5 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/grok-imagine-video-1-5"}]},{"group":"Kling","icon":"video","pages":[{"title":"Kling V3 视频生成","sidebarTitle":"Kling V3 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/kling-v3"},{"title":"Kling V2.6 视频生成","sidebarTitle":"Kling V2.6 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/kling-v2-6"},{"title":"Kling Avatar 视频生成","sidebarTitle":"Kling Avatar 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/kling-avatar"},{"title":"Kling O3 视频生成","sidebarTitle":"Kling O3 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/kling-o3"},{"title":"Kling V3 运镜控制视频生成","sidebarTitle":"Kling V3 运镜控制视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/kling-v3-motion-control"}]},{"group":"PixVerse","icon":"video","pages":[{"title":"PixVerse v6 视频生成","sidebarTitle":"PixVerse v6 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/pixverse-v6"}]},{"group":"Vidu","icon":"video","pages":[{"title":"Vidu Q3 视频生成","sidebarTitle":"Vidu Q3 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/vidu-q3"}]},{"group":"Seedance","icon":"video","pages":[{"title":"Seedance 2.0 视频生成","sidebarTitle":"Seedance 2.0 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/seedance-2-0"},{"title":"Seedance 2.0 Fast 视频生成","sidebarTitle":"Seedance 2.0 Fast 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/seedance-2-0-fast"},{"title":"Seedance 2.0 Mini 视频生成","sidebarTitle":"Seedance 2.0 Mini 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/seedance-2-0-mini"},{"title":"Seedance 2.5 视频生成","sidebarTitle":"Seedance 2.5 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/seedance-2-5"},{"title":"Seedance 2.5 Flash 视频生成","sidebarTitle":"Seedance 2.5 Flash 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/seedance-2-5-flash"}]},{"group":"Sand AI","icon":"video","pages":[{"title":"MAGI-2 视频生成","sidebarTitle":"MAGI-2 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/magi-2"}]},{"group":"Wan","icon":"video","pages":[{"title":"Wan 3.0 视频生成","sidebarTitle":"Wan 3.0 视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/wan-3.0"}]},{"group":"Depth Video","icon":"video","pages":[{"title":"深度图视频生成","sidebarTitle":"深度图视频生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/video-series/models/depth-video"}]}]},{"group":"音频系列","icon":"audio-lines","pages":[{"group":"GPT 语音","icon":"audio-lines","pages":[{"title":"GPT-4o mini 语音合成","sidebarTitle":"GPT-4o mini 语音合成","api":"POST https://api.omnimux.ai/v1/audio/speech","href":"/zh/api-reference/audio-series/models/gpt-4o-mini-tts"}]},{"group":"Whisper","icon":"audio-lines","pages":[{"title":"Whisper 语音转录","sidebarTitle":"Whisper 语音转录","api":"POST https://api.omnimux.ai/v1/audio/transcriptions","href":"/zh/api-reference/audio-series/models/whisper-1"}]},{"group":"Suno","icon":"audio-lines","pages":[{"title":"Suno 音乐生成","sidebarTitle":"Suno 音乐生成","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/zh/api-reference/audio-series/models/suno"}]},{"group":"Index TTS","icon":"audio-lines","pages":[{"title":"Index TTS 声音克隆","sidebarTitle":"Index TTS 声音克隆","api":"POST https://api.omnimux.ai/v1/tasks/autodl","href":"/zh/api-reference/audio-series/models/index-tts"}]},{"group":"豆包语音合成 3.0","icon":"audio-lines","pages":[{"title":"Doubao TTS 3.0 语音合成","sidebarTitle":"Doubao TTS 3.0 语音合成","api":"POST https://api.omnimux.ai/v1/audio/speech","href":"/zh/api-reference/audio-series/models/seed-tts-3"}]},{"group":"豆包语音识别","icon":"audio-lines","pages":[{"title":"豆包语音识别(Doubao ASR)API","sidebarTitle":"豆包语音识别","api":"POST https://api.omnimux.ai/v1/audio/transcriptions","href":"/zh/api-reference/audio-series/models/doubao-asr"}]}]},{"group":"阅读提取","icon":"book-open","pages":[{"group":"Jina Reader","icon":"book-open","pages":[{"title":"Jina Reader 网页提取","sidebarTitle":"Jina Reader 网页提取","api":"POST https://api.omnimux.ai/v1/reader","href":"/zh/api-reference/reader-series/models/jina-reader-v1"}]}]},{"group":"社交数据","icon":"share-2","pages":[{"group":"TikTok","icon":"/icons/social/tiktok.svg","pages":[{"title":"作品详情","sidebarTitle":"作品详情","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/tiktok/post-detail"},{"title":"用户资料","sidebarTitle":"用户资料","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/tiktok/user-profile"},{"title":"用户作品列表","sidebarTitle":"用户作品列表","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/tiktok/user-posts"},{"title":"视频搜索","sidebarTitle":"视频搜索","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/tiktok/video-search"}]},{"group":"Instagram","icon":"/icons/social/instagram.svg","pages":[{"title":"作品详情","sidebarTitle":"作品详情","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/instagram/post-detail"},{"title":"用户资料","sidebarTitle":"用户资料","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/instagram/user-profile"},{"title":"用户作品列表","sidebarTitle":"用户作品列表","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/instagram/user-posts"},{"title":"综合搜索","sidebarTitle":"综合搜索","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/instagram/search"}]},{"group":"YouTube","icon":"/icons/social/youtube.svg","pages":[{"title":"视频详情","sidebarTitle":"视频详情","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/youtube/video-detail"},{"title":"频道信息","sidebarTitle":"频道信息","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/youtube/channel-info"},{"title":"频道视频列表","sidebarTitle":"频道视频列表","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/youtube/channel-videos"},{"title":"视频搜索","sidebarTitle":"视频搜索","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/youtube/video-search"}]},{"group":"X","icon":"/icons/social/x.svg","pages":[{"title":"推文详情","sidebarTitle":"推文详情","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/x/tweet-detail"},{"title":"用户资料","sidebarTitle":"用户资料","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/x/user-profile"},{"title":"用户推文列表","sidebarTitle":"用户推文列表","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/x/user-tweets"},{"title":"时间线搜索","sidebarTitle":"时间线搜索","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/zh/api-reference/social-data/x/timeline-search"}]}]},{"group":"社媒发布","icon":"send","pages":[{"group":"连接账户","icon":"send","pages":[{"title":"发起连接","sidebarTitle":"发起连接","openapi":"openapi/ops/publishing/start-connect.json POST /api/social/v1/connect","href":"/zh/api-reference/publishing/start-connect"},{"title":"列出账户","sidebarTitle":"列出账户","openapi":"openapi/ops/publishing/list-accounts.json GET /api/social/v1/accounts","href":"/zh/api-reference/publishing/list-accounts"},{"title":"断开账户","sidebarTitle":"断开账户","openapi":"openapi/ops/publishing/disconnect.json DELETE /api/social/v1/accounts/{id}","href":"/zh/api-reference/publishing/disconnect"},{"title":"查询席位","sidebarTitle":"查询席位","description":"查询社媒绑定席位配额与使用情况","api":"GET https://omnimux.ai/api/social/v1/seats","href":"/zh/api-reference/publishing/seats"}]},{"group":"帖子","icon":"send","pages":[{"title":"创建帖子","sidebarTitle":"创建帖子","openapi":"openapi/ops/publishing/create-post.json POST /api/social/v1/posts","href":"/zh/api-reference/publishing/create-post"},{"title":"查询帖子","sidebarTitle":"查询帖子","description":"查询帖子 — 按官方来源读取","openapi":"openapi/ops/publishing/get-post.json GET /api/social/v1/posts/{id}","href":"/zh/api-reference/publishing/get-post"}]},{"group":"媒体","icon":"send","pages":[{"title":"媒体预签名","sidebarTitle":"媒体预签名","api":"POST https://omnimux.ai/api/social/v1/media/presign","href":"/zh/api-reference/publishing/presign"}]}]},{"group":"账户管理","icon":"user","pages":[{"group":"登录鉴权","icon":"user","pages":[{"title":"设备码登录","sidebarTitle":"设备码登录","api":"POST https://omnimux.ai/api/user/device/code","href":"/zh/api-reference/account/device-login"}]},{"group":"账户信息","icon":"user","pages":[{"title":"查询余额","sidebarTitle":"查询余额","api":"GET https://omnimux.ai/api/user/self","href":"/zh/api-reference/account/balance"},{"title":"查询定价","sidebarTitle":"查询定价","api":"GET https://omnimux.ai/api/pricing","href":"/zh/api-reference/account/pricing"},{"title":"导出本人用量日志","sidebarTitle":"导出本人用量日志","openapi":"openapi/ops/account/zh/usage-log-export.json GET /api/log/self/export","href":"/zh/api-reference/account/usage-log-export"}]},{"group":"角色与视频创作","icon":"user","pages":[{"title":"查询创作选项","sidebarTitle":"查询创作选项","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/options","href":"/zh/api-reference/account/influencer/options"},{"title":"创建角色","sidebarTitle":"创建角色","openapi":"openapi/ops/influencer/zh/creation.json POST /api/influencer/v1/characters","href":"/zh/api-reference/account/influencer/create-character"},{"title":"列出角色","sidebarTitle":"列出角色","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/characters","href":"/zh/api-reference/account/influencer/list-characters"},{"title":"查询角色","sidebarTitle":"查询角色","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/characters/{task_id}","href":"/zh/api-reference/account/influencer/get-character"},{"title":"创建多角度设定图","sidebarTitle":"创建多角度设定图","openapi":"openapi/ops/influencer/zh/creation.json POST /api/influencer/v1/characters/{task_id}/multiview","href":"/zh/api-reference/account/influencer/create-multiview"},{"title":"创建角色视频","sidebarTitle":"创建角色视频","openapi":"openapi/ops/influencer/zh/creation.json POST /api/influencer/v1/videos","href":"/zh/api-reference/account/influencer/create-video"},{"title":"拆解复刻参考视频","sidebarTitle":"拆解复刻参考视频","openapi":"openapi/ops/influencer/zh/creation.json POST /api/influencer/v1/recreations/analyze","href":"/zh/api-reference/account/influencer/recreate-analyze"},{"title":"列出创作任务","sidebarTitle":"列出创作任务","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/tasks","href":"/zh/api-reference/account/influencer/list-tasks"},{"title":"查询创作任务","sidebarTitle":"查询创作任务","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/tasks/{task_id}","href":"/zh/api-reference/account/influencer/get-task"},{"title":"查询创作成品","sidebarTitle":"查询创作成品","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/tasks/{task_id}/artifacts","href":"/zh/api-reference/account/influencer/get-artifacts"},{"title":"恢复创作请求","sidebarTitle":"恢复创作请求","openapi":"openapi/ops/influencer/zh/creation.json GET /api/influencer/v1/requests/{request_id}","href":"/zh/api-reference/account/influencer/get-request"}]}]},{"group":"任务管理","icon":"list-checks","pages":[{"title":"查询视频任务","sidebarTitle":"查询视频任务","api":"GET https://api.omnimux.ai/v1/video/generations/{task_id}","href":"/zh/api-reference/tasks/video-task"}]},{"group":"文件管理","icon":"folder-up","pages":[{"title":"Base64 文件上传","sidebarTitle":"Base64 文件上传","api":"POST https://api.omnimux.ai/api/v1/files/upload/base64","href":"/zh/api-reference/file-series/upload-base64"},{"title":"文件流上传","sidebarTitle":"文件流上传","api":"POST https://api.omnimux.ai/api/v1/files/upload/stream","href":"/zh/api-reference/file-series/upload-stream"},{"title":"URL 文件上传","sidebarTitle":"URL 文件上传","api":"POST https://api.omnimux.ai/api/v1/files/upload/url","href":"/zh/api-reference/file-series/upload-url"},{"title":"查询文件配额","sidebarTitle":"查询配额","api":"GET https://api.omnimux.ai/api/v1/files/quota","href":"/zh/api-reference/file-series/quota"},{"title":"文件下载与访问","sidebarTitle":"文件下载","api":"GET https://api.omnimux.ai/api/v1/files/download/{file_id}","href":"/zh/api-reference/file-series/download"}]}]},{"tab":"集成指南","icon":"plug","pages":[{"title":"集成指南","href":"/zh/integration-guide/chatbox"}]},{"tab":"用户指南","icon":"book-user","pages":[{"title":"用户指南","href":"/zh"}]},{"tab":"常见问题","icon":"circle-help","pages":[{"title":"常见问题","href":"/zh/faqs/cost-optimization"}]}]}]},"basePath":"","title":"创建帖子 - OmniMux","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C6Z1vAfX.js","snippetPresets-Bjd6OXRM.js","utils-QL6OhUyF.js","style-to-object-BY3JEAdk.js","utils-Dsq-HLeF.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CEYfmkoV.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CHgPjMM8.js","_Uint8Array-IXRJ_ueo.js","isObject-FP1Yky1u.js","ApiExamples-pq4ns9YA.js","usePlaygroundInputsStore-D-gnigmo.js","shallow-DIfWGPrf.js","isEqual-DDFuixlH.js","CodeSnippets-8g5rilZj.js","CodeSnippet-C_J7pouP.js","use-playground-group-access-bkOyfPao.js","Page-B_smDgrp.js","api-description-markdown-DtcP2u3s.js","DynamicMarkdown-DOefW1_8.js","SectionHeading-Cg4lfWZw.js","MethodPill-BnqygvYm.js","getPastedJson-BGXYEZ3P.js","Check2Icon-BBeO3TOS.js","axios-CsQoIw0U.js","Markdown-D5IqLG6A.js","AssistantPageLink-_S2h4i6W.js","dist-DzZqOeCq.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}