Every target account must belong to the requested source. An idempotent replay also verifies the stored source and account set; conflicts return 409.Call Media Presign and upload the file. Set media_items[].url to the returned public_url. Submit the post only after the upload succeeds and the object is readable.After validation, the gateway submits the request to TikTok immediately. It selects the mode from the account’s publishing capabilities.
Account capability
Behavior
video.upload only (currently approved)
Draft upload sends either one video (/v2/post/publish/inbox/video/init/) or a photo carousel (/v2/post/publish/content/init/, post_mode: "MEDIA_UPLOAD") to the creator’s TikTok inbox for editing and posting in TikTok. Video drafts ignore content and tiktok_options. Photo drafts accept optional tiktok_options.title, tiktok_options.description (falls back to content), tiktok_options.photo_cover_index (0-based integer, 0 preserved), and tiktok_options.is_aigc (boolean, false preserved), and never forward Direct Post privacy, interaction, or commercial disclosure fields
video.publish (separate review required)
Direct Post takes precedence when both scopes are present. It supports one video or a photo carousel with privacy, interaction, and disclosure settings in tiktok_options
Photo carousel rules for tiktok_direct:
Format: JPEG or WebP only (PNG, GIF, and undeclared image formats are rejected).
No mixed media: do not combine photos and videos in the same media_items array.
Count limit: 1 to 35 images per post on hosted OmniMux (matching the TikTok Photo API protocol maximum; self-hosted deployments default to 10 items per request and can be configured up to 35).
Verified-domain delivery: every image URL is wrapped through the gateway’s signed verified-domain media proxy before calling TikTok.
Metadata fields: pass title, description, photo_cover_index (0-based; must be less than the image count), and is_aigc inside tiktok_options (top-level fields of the same names are also accepted for compatibility, with tiktok_options taking precedence).
Capabilities are evaluated strictly from the OAuth scopes actually granted to the account (fail-closed): an account without video.upload or video.publish returns 409 SOCIAL_TIKTOK_SCOPE_MISSING. A newly created post starts as submitted. When Get Post refreshes the status, the gateway maps TikTok’s SEND_TO_USER_INBOX to non-terminal sent_to_inbox (keeping processing for transfer/encoding states) and PUBLISH_COMPLETE to published.provider is required and has one current value, tiktok_direct. A retired source identifier returns 410 provider-retired; missing or unknown values return 400 invalid-provider.
Structured TikTok upstream errors
When TikTok returns an upstream business error or rate limit, the gateway returns a structured JSON body (success: false, code, message, plus sanitized upstream_code and upstream_log_id when supplied by TikTok) with a non-401/403 HTTP status so TikTok token errors are never confused with OmniMux session failures:
HTTP
code
Typical upstream_code
Recommended action
429
SOCIAL_TIKTOK_RATE_LIMITED
rate_limit_exceeded
Retry with backoff; do not reconnect
409
SOCIAL_TIKTOK_POSTING_BANNED
spam_risk_user_banned_from_posting
Account is banned from posting on TikTok; stop retrying
TikTok OAuth token expired or revoked; reconnect the account
502
SOCIAL_TIKTOK_UPSTREAM_ERROR
Other TikTok upstream error codes
Log upstream_log_id and retry later
CLI: omnimux social post --provider tiktok_direct --accounts <account-id> --media <url> --title "Draft title" --photo-cover-index 0 --is-aigc=false (supports --description, --tiktok-options '<json>', and compliance flags). Passing a retired --provider value fails locally in the CLI before any network request.Use an OmniMux user access token and New-Api-User, not an sk- key. Inspect both HTTP status and success (structured TikTok upstream errors return 409/429/502, while generic failures may still return HTTP 200 with success: false).
Authorizations
Authorization
string
header
required
OmniMux user access token, not an sk- API key.
New-Api-User
string
header
required
Current authenticated user ID.
Headers
Idempotency-Key
string
Replay must match both source and account set. X-Idempotency-Key is also accepted.
Body
application/json
provider
enum<string>
required
Required source identifier; currently only tiktok_direct is accepted.
Available options:
tiktok_direct
account_ids
integer<int64>[]
required
Owned OmniMux account IDs, all belonging to the requested source. Official publishing supports one account.
Minimum array length: 1
media_items
object[]
required
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.
Required range: x >= 0
is_aigc
boolean
Optional compatibility alias for tiktok_options.is_aigc on photo posts.
Response
Check success before reading data. Generic upstream errors may use HTTP 200 with success:false.
Option 1
Option 2
success
enum<boolean>
required
Available options:
true
data
object
required
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":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"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":"en/api-reference/publishing/create-post","slug":"/en/api-reference/publishing/create-post","pageMetadata":{"title":"Create Post","sidebarTitle":"Create Post","description":"Create Post — publish by official source","openapi":"openapi/ops/publishing/create-post.json POST /api/social/v1/posts","href":"/en/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: \"Create Post — publish by official source\"\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:`Every target account must belong to the requested source. An idempotent replay also verifies the stored source and account set; conflicts return 409.`}),`\n`,_jsxs(_components.p,{children:[`Call `,_jsx(_components.a,{href:`/en/api-reference/publishing/presign`,children:`Media Presign`}),` and upload the file. Set `,_jsx(_components.code,{children:`media_items[].url`}),` to the returned `,_jsx(_components.code,{children:`public_url`}),`. Submit the post only after the upload succeeds and the object is readable.`]}),`\n`,_jsx(_components.p,{children:`After validation, the gateway submits the request to TikTok immediately. It selects the mode from the account’s publishing capabilities.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Account capability`}),_jsx(_components.th,{children:`Behavior`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`video.upload`}),` only (currently approved)`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Draft upload`}),` sends either `,_jsx(_components.strong,{children:`one video`}),` (`,_jsx(_components.code,{children:`/v2/post/publish/inbox/video/init/`}),`) or a `,_jsx(_components.strong,{children:`photo carousel`}),` (`,_jsx(_components.code,{children:`/v2/post/publish/content/init/`}),`, `,_jsx(_components.code,{children:`post_mode: \"MEDIA_UPLOAD\"`}),`) to the creator’s TikTok inbox for editing and posting in TikTok. Video drafts ignore `,_jsx(_components.code,{children:`content`}),` and `,_jsx(_components.code,{children:`tiktok_options`}),`. Photo drafts accept optional `,_jsx(_components.code,{children:`tiktok_options.title`}),`, `,_jsx(_components.code,{children:`tiktok_options.description`}),` (falls back to `,_jsx(_components.code,{children:`content`}),`), `,_jsx(_components.code,{children:`tiktok_options.photo_cover_index`}),` (0-based integer, `,_jsx(_components.code,{children:`0`}),` preserved), and `,_jsx(_components.code,{children:`tiktok_options.is_aigc`}),` (boolean, `,_jsx(_components.code,{children:`false`}),` preserved), and never forward Direct Post privacy, interaction, or commercial disclosure fields`]})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`video.publish`}),` (separate review required)`]}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Direct Post`}),` takes precedence when both scopes are present. It supports one video or a photo carousel with privacy, interaction, and disclosure settings in `,_jsx(_components.code,{children:`tiktok_options`})]})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Photo carousel rules for `,_jsx(_components.code,{children:`tiktok_direct`}),`:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Format:`}),` JPEG or WebP only (PNG, GIF, and undeclared image formats are rejected).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No mixed media:`}),` do not combine photos and videos in the same `,_jsx(_components.code,{children:`media_items`}),` array.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Count limit:`}),` 1 to 35 images per post on hosted OmniMux (matching the TikTok Photo API protocol maximum; self-hosted deployments default to 10 items per request and can be configured up to 35).`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Verified-domain delivery:`}),` every image URL is wrapped through the gateway’s signed verified-domain media proxy before calling TikTok.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Metadata fields:`}),` pass `,_jsx(_components.code,{children:`title`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`photo_cover_index`}),` (0-based; must be less than the image count), and `,_jsx(_components.code,{children:`is_aigc`}),` inside `,_jsx(_components.code,{children:`tiktok_options`}),` (top-level fields of the same names are also accepted for compatibility, with `,_jsx(_components.code,{children:`tiktok_options`}),` taking precedence).`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Capabilities are evaluated strictly from the OAuth scopes actually granted to the account (fail-closed): an account without `,_jsx(_components.code,{children:`video.upload`}),` or `,_jsx(_components.code,{children:`video.publish`}),` returns 409 `,_jsx(_components.code,{children:`SOCIAL_TIKTOK_SCOPE_MISSING`}),`. A newly created post starts as `,_jsx(_components.code,{children:`submitted`}),`. When `,_jsx(_components.a,{href:`/en/api-reference/publishing/get-post`,children:`Get Post`}),` refreshes the status, the gateway maps TikTok’s `,_jsx(_components.code,{children:`SEND_TO_USER_INBOX`}),` to non-terminal `,_jsx(_components.code,{children:`sent_to_inbox`}),` (keeping `,_jsx(_components.code,{children:`processing`}),` for transfer/encoding states) and `,_jsx(_components.code,{children:`PUBLISH_COMPLETE`}),` to `,_jsx(_components.code,{children:`published`}),`.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`provider`}),` is required and has one current value, `,_jsx(_components.code,{children:`tiktok_direct`}),`. A retired source identifier returns 410 `,_jsx(_components.code,{children:`provider-retired`}),`; missing or unknown values return 400 `,_jsx(_components.code,{children:`invalid-provider`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`structured-tiktok-upstream-errors`,children:`Structured TikTok upstream errors`}),`\n`,_jsxs(_components.p,{children:[`When TikTok returns an upstream business error or rate limit, the gateway returns a structured JSON body (`,_jsx(_components.code,{children:`success: false`}),`, `,_jsx(_components.code,{children:`code`}),`, `,_jsx(_components.code,{children:`message`}),`, plus sanitized `,_jsx(_components.code,{children:`upstream_code`}),` and `,_jsx(_components.code,{children:`upstream_log_id`}),` when supplied by TikTok) with a non-401/403 HTTP status so TikTok token errors are never confused with OmniMux session failures:`]}),`\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:[`Typical `,_jsx(_components.code,{children:`upstream_code`})]}),_jsx(_components.th,{children:`Recommended action`})]})}),_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:`Retry with backoff; do not reconnect`})]}),_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:`Account is banned from posting on TikTok; stop retrying`})]}),_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:`Account posting cap, pending inbox cap, or app visibility/domain restriction`})]}),_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:`Required publishing scope missing; reconnect the account`})]}),_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 OAuth token expired or revoked; reconnect the account`})]}),_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:`Other TikTok upstream error codes`}),_jsxs(_components.td,{children:[`Log `,_jsx(_components.code,{children:`upstream_log_id`}),` and retry later`]})]})]})]}),`\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`}),` (supports `,_jsx(_components.code,{children:`--description`}),`, `,_jsx(_components.code,{children:`--tiktok-options '\u003cjson>'`}),`, and compliance flags). Passing a retired `,_jsx(_components.code,{children:`--provider`}),` value fails locally in the CLI before any network request.`]}),`\n`,_jsxs(_components.p,{children:[`Use an OmniMux user access token and `,_jsx(_components.code,{children:`New-Api-User`}),`, not an `,_jsx(_components.code,{children:`sk-`}),` key. Inspect both HTTP status and `,_jsx(_components.code,{children:`success`}),` (structured TikTok upstream errors return 409/429/502, while generic failures may still return HTTP 200 with `,_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":"Create Post","sidebarTitle":"Create Post","description":"Create Post — publish by official source","openapi":"openapi/ops/publishing/create-post.json POST /api/social/v1/posts","href":"/en/api-reference/publishing/create-post"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Structured TikTok upstream errors","slug":"structured-tiktok-upstream-errors","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":"Create Post — publish by official source","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":"Create Post - OmniMux","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/en/api-reference/publishing/create-post","matchLevel":0},"zh":{"href":"/zh/api-reference/publishing/create-post","matchLevel":1}}},"lastModified":"2026-11-26T03:57:33.824Z","originalFileLocation":"en/api-reference/publishing/create-post.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Create Post — publish by official source\">\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=\"Create Post - OmniMux\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create Post — publish by official source\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OmniMux Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.omnimux.ai/en/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=Posts\u0026amp;title=Create+Post\u0026amp;description=Create+Post+%E2%80%94+publish+by+official+source\u0026amp;theme=4485f207ce1abae027f8bb7c\u0026amp;signature=08af1a0c98e7d9e6af17eb389f8762a1978368ff60635587b5923f9ba7879189\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create Post - OmniMux\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create Post — publish by official source\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://omni-mux.mintlify.site/_mintlify/api/og/v2?division=Posts\u0026amp;title=Create+Post\u0026amp;description=Create+Post+%E2%80%94+publish+by+official+source\u0026amp;theme=4485f207ce1abae027f8bb7c\u0026amp;signature=08af1a0c98e7d9e6af17eb389f8762a1978368ff60635587b5923f9ba7879189\">\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/en/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=\"/en/api-reference/publishing/create-post.md\">\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=\"zh\" href=\"https://docs.omnimux.ai/zh/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/en/api-reference/publishing/create-post#webpage\",\"url\":\"https://docs.omnimux.ai/en/api-reference/publishing/create-post\",\"name\":\"Create Post\",\"description\":\"Create Post — publish by official source\",\"dateModified\":\"2026-11-26T03:57:33.824Z\",\"isPartOf\":{\"@id\":\"https://docs.omnimux.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.omnimux.ai/en/api-reference/publishing/create-post#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.omnimux.ai/en/api-reference/publishing/create-post#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Publishing\",\"item\":\"https://docs.omnimux.ai/en/api-reference/publishing/start-connect\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Post\",\"item\":\"https://docs.omnimux.ai/en/api-reference/publishing/create-post\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.omnimux.ai/en/api-reference/publishing/create-post#apireference\",\"headline\":\"Create Post\",\"name\":\"Create Post\",\"description\":\"Create Post — publish by official source\",\"url\":\"https://docs.omnimux.ai/en/api-reference/publishing/create-post\",\"mainEntityOfPage\":{\"@id\":\"https://docs.omnimux.ai/en/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":"/en/api-reference/publishing/create-post.md","siteName":"OmniMux","nav":{"global":null,"languages":[{"language":"en","default":true,"tabs":[{"tab":"API manual","icon":"square-terminal","groups":[{"group":"Language series","icon":"message-square","pages":[{"group":"Claude","pages":[{"title":"Claude · Complete API Reference","sidebarTitle":"Claude · Complete API Reference","openapi":"openapi/ops/chat/claude.json POST /v1/chat/completions","href":"/en/api-reference/text-series/claude/complete"}]},{"group":"Gemini","pages":[{"title":"Gemini · Complete API Reference","sidebarTitle":"Gemini · Complete API Reference","openapi":"openapi/ops/chat/gemini.json POST /v1/chat/completions","href":"/en/api-reference/text-series/gemini/complete"},{"title":"Gemini · Native Multimodal Understanding","sidebarTitle":"Gemini · Native Multimodal Understanding","openapi":"openapi/ops/gemini/native.json POST /v1beta/models/{model}:generateContent","href":"/en/api-reference/text-series/gemini/native-generate"},{"title":"Gemini · Native Streaming Understanding","sidebarTitle":"Gemini · Native Streaming Understanding","openapi":"openapi/ops/gemini/native.json POST /v1beta/models/{model}:streamGenerateContent","href":"/en/api-reference/text-series/gemini/native-stream"}]},{"group":"GPT","pages":[{"title":"GPT · Complete API Reference","sidebarTitle":"GPT · Complete API Reference","openapi":"openapi/ops/chat/gpt.json POST /v1/chat/completions","href":"/en/api-reference/text-series/gpt/complete"}]},{"group":"Grok","pages":[{"title":"Grok · Complete API Reference","sidebarTitle":"Grok · Complete API Reference","openapi":"openapi/ops/chat/grok.json POST /v1/chat/completions","href":"/en/api-reference/text-series/grok/complete"}]},{"group":"Kimi","pages":[{"title":"Kimi · Complete API Reference","sidebarTitle":"Kimi · Complete API Reference","openapi":"openapi/ops/chat/kimi.json POST /v1/chat/completions","href":"/en/api-reference/text-series/kimi/complete"}]},{"group":"DeepSeek","pages":[{"title":"DeepSeek · Complete API Reference","sidebarTitle":"DeepSeek · Complete API Reference","openapi":"openapi/ops/chat/deepseek.json POST /v1/chat/completions","href":"/en/api-reference/text-series/deepseek/complete"}]},{"group":"MiniMax","pages":[{"title":"MiniMax · Complete API Reference","sidebarTitle":"MiniMax · Complete API Reference","openapi":"openapi/ops/chat/minimax.json POST /v1/chat/completions","href":"/en/api-reference/text-series/minimax/complete"}]},{"group":"GLM","pages":[{"title":"GLM · Complete API Reference","sidebarTitle":"GLM · Complete API Reference","openapi":"openapi/ops/chat/glm.json POST /v1/chat/completions","href":"/en/api-reference/text-series/glm/complete"}]},{"group":"Doubao","pages":[{"title":"Doubao · Complete API Reference","sidebarTitle":"Doubao · Complete API Reference","openapi":"openapi/ops/chat/doubao.json POST /v1/chat/completions","href":"/en/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":"/en/api-reference/text-series/typesafe/systemone"}]}]},{"group":"Image series","icon":"image","pages":[{"group":"Nano Banana","icon":"image","pages":[{"title":"Nano Banana 2 Image Generation","sidebarTitle":"Nano Banana 2 Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/nano-banana-2"},{"title":"Nano Banana 2 Image Generation","sidebarTitle":"Nano Banana 2 (gemini-3.1-flash-image)","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/gemini-3.1-flash-image"},{"title":"Nano Banana 2 Lite Image Generation","sidebarTitle":"Nano Banana 2 Lite (nano-banana-2-lite)","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/nano-banana-2-lite"},{"title":"Nano Banana Pro Image Generation","sidebarTitle":"Nano Banana Pro Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/nano-banana-pro"},{"title":"Nano Banana 2.1 Image Generation","sidebarTitle":"Nano Banana 2.1 Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/nano-banana-2-1"}]},{"group":"GPT Image","icon":"image","pages":[{"title":"GPT Image · Image generation","sidebarTitle":"GPT Image · Image generation","openapi":"openapi/ops/image/en/gpt-image.json POST /v1/images/generations","href":"/en/api-reference/image-series/gpt-image/generate"}]},{"group":"Z Image","icon":"image","pages":[{"title":"Z Image Generation","sidebarTitle":"Z Image Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/image-series/models/zimage-makeup"}]},{"group":"Seedream","icon":"image","pages":[{"title":"Seedream 5.0 Pro Image Generation","sidebarTitle":"Seedream 5.0 Pro Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/seedream-5-0-pro"},{"title":"Seedream 5.5 Image Generation","sidebarTitle":"Seedream 5.5 Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/seedream-5-5"}]},{"group":"VolcEngine","icon":"image","pages":[{"title":"VolcEngine Image Upscaling","sidebarTitle":"VolcEngine Image Upscaling","openapi":"openapi/ops/image/en/volc-image-upscale.json POST /v1/images/edits","href":"/en/api-reference/image-series/models/volc-image-upscale"}]},{"group":"Qwen Image","icon":"image","pages":[{"title":"Qwen Image 3.0 Image Generation","sidebarTitle":"Qwen Image 3.0 Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/qwen-image-3-0"}]},{"group":"Grok Imagine","icon":"image","pages":[{"title":"Grok Imagine Image Generation","sidebarTitle":"Grok Imagine Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/grok-imagine-image"},{"title":"Grok Imagine Image 2.0 Image Generation","sidebarTitle":"Grok Imagine Image 2.0 Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/grok-imagine-image-2-0"},{"title":"Grok Imagine Image Quality Generation","sidebarTitle":"Grok Imagine Image Quality Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/grok-imagine-image-quality"}]},{"group":"Midjourney","icon":"image","pages":[{"title":"Midjourney Image Generation","sidebarTitle":"Midjourney Image Generation","api":"POST https://api.omnimux.ai/v1/images/generations","href":"/en/api-reference/image-series/models/midjourney"}]}]},{"group":"Video series","icon":"video","pages":[{"group":"MiniMax","icon":"video","pages":[{"title":"MiniMax H3 Video Generation","sidebarTitle":"MiniMax H3 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/minimax-h3"},{"title":"MiniMax H3 Video Line","sidebarTitle":"MiniMax H3 Video Line","api":"POST https://api.omnimux.ai/v1/videos","href":"/en/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":"/en/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":"/en/api-reference/video-series/models/minimax-h3-max-turbo"},{"title":"MiniMax Text-to-Video","sidebarTitle":"MiniMax Text-to-Video","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/minimax-h3-t2v"},{"title":"MiniMax Image-to-Video","sidebarTitle":"MiniMax Image-to-Video","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/minimax-h3-fl2va"},{"title":"MiniMax First-Last Frame","sidebarTitle":"MiniMax First-Last Frame","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/minimax-h3-flf"},{"title":"MiniMax End Frame","sidebarTitle":"MiniMax End Frame","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/minimax-h3-endframe"}]},{"group":"Veo 3.1","icon":"video","pages":[{"title":"Veo 3.1 Video Generation","sidebarTitle":"Veo 3.1 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/veo-3.1"},{"title":"Veo 3.1 Fast Video Generation","sidebarTitle":"Veo 3.1 Fast Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/veo-3.1-fast"}]},{"group":"Omni Flash","icon":"video","pages":[{"title":"Omni Flash Video Generation","sidebarTitle":"Omni Flash Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/gemini-omni-flash"},{"title":"Omni 1.1 Video Generation","sidebarTitle":"Omni 1.1 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/gemini-omni-1.1"}]},{"group":"LTX","icon":"video","pages":[{"title":"LTX digital human","sidebarTitle":"LTX digital human","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/ltx-2-3-kj"}]},{"group":"Grok Imagine","icon":"video","pages":[{"title":"Grok Imagine Video Generation","sidebarTitle":"Grok Imagine Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/grok-imagine-video"},{"title":"Grok Imagine Video 1.5 Video Generation","sidebarTitle":"Grok Imagine Video 1.5 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/grok-imagine-video-1-5"}]},{"group":"Kling","icon":"video","pages":[{"title":"Kling V3 Video Generation","sidebarTitle":"Kling V3 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/kling-v3"},{"title":"Kling V2.6 Video Generation","sidebarTitle":"Kling V2.6 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/kling-v2-6"},{"title":"Kling Avatar Video Generation","sidebarTitle":"Kling Avatar Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/kling-avatar"},{"title":"Kling O3 Video Generation","sidebarTitle":"Kling O3 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/kling-o3"},{"title":"Kling V3 Motion Control Video Generation","sidebarTitle":"Kling V3 Motion Control Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/kling-v3-motion-control"}]},{"group":"PixVerse","icon":"video","pages":[{"title":"PixVerse v6 Video Generation","sidebarTitle":"PixVerse v6 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/pixverse-v6"}]},{"group":"Vidu","icon":"video","pages":[{"title":"Vidu Q3 Video Generation","sidebarTitle":"Vidu Q3 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/vidu-q3"}]},{"group":"Seedance","icon":"video","pages":[{"title":"Seedance 2.0 Video Generation","sidebarTitle":"Seedance 2.0 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/seedance-2-0"},{"title":"Seedance 2.0 Fast Video Generation","sidebarTitle":"Seedance 2.0 Fast Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/seedance-2-0-fast"},{"title":"Seedance 2.0 Mini Video Generation","sidebarTitle":"Seedance 2.0 Mini Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/seedance-2-0-mini"},{"title":"Seedance 2.5 Video Generation","sidebarTitle":"Seedance 2.5 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/seedance-2-5"},{"title":"Seedance 2.5 Flash Video Generation","sidebarTitle":"Seedance 2.5 Flash Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/seedance-2-5-flash"}]},{"group":"Sand AI","icon":"video","pages":[{"title":"MAGI-2 Video Generation","sidebarTitle":"MAGI-2 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/magi-2"}]},{"group":"Wan","icon":"video","pages":[{"title":"Wan 3.0 Video Generation","sidebarTitle":"Wan 3.0 Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/wan-3.0"}]},{"group":"Depth Video","icon":"video","pages":[{"title":"Depth Video Generation","sidebarTitle":"Depth Video Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/video-series/models/depth-video"}]}]},{"group":"Audio series","icon":"audio-lines","pages":[{"group":"GPT Audio","icon":"audio-lines","pages":[{"title":"GPT-4o mini TTS","sidebarTitle":"GPT-4o mini TTS","api":"POST https://api.omnimux.ai/v1/audio/speech","href":"/en/api-reference/audio-series/models/gpt-4o-mini-tts"}]},{"group":"Whisper","icon":"audio-lines","pages":[{"title":"Whisper Audio Transcription","sidebarTitle":"Whisper Audio Transcription","api":"POST https://api.omnimux.ai/v1/audio/transcriptions","href":"/en/api-reference/audio-series/models/whisper-1"}]},{"group":"Suno","icon":"audio-lines","pages":[{"title":"Suno Music Generation","sidebarTitle":"Suno Music Generation","api":"POST https://api.omnimux.ai/v1/video/generations","href":"/en/api-reference/audio-series/models/suno"}]},{"group":"Index TTS","icon":"audio-lines","pages":[{"title":"Index TTS voice clone","sidebarTitle":"Index TTS voice clone","api":"POST https://api.omnimux.ai/v1/tasks/autodl","href":"/en/api-reference/audio-series/models/index-tts"}]},{"group":"Doubao TTS 3.0","icon":"audio-lines","pages":[{"title":"Doubao TTS 3.0 Speech Synthesis","sidebarTitle":"Doubao TTS 3.0 Speech Synthesis","api":"POST https://api.omnimux.ai/v1/audio/speech","href":"/en/api-reference/audio-series/models/seed-tts-3"}]},{"group":"Doubao Speech Recognition","icon":"audio-lines","pages":[{"title":"Doubao ASR Speech-to-Text API","sidebarTitle":"Doubao ASR","api":"POST https://api.omnimux.ai/v1/audio/transcriptions","href":"/en/api-reference/audio-series/models/doubao-asr"}]}]},{"group":"Reader series","icon":"book-open","pages":[{"group":"Jina Reader","icon":"book-open","pages":[{"title":"Jina Reader Web Extractor","sidebarTitle":"Jina Reader Web Extractor","api":"POST https://api.omnimux.ai/v1/reader","href":"/en/api-reference/reader-series/models/jina-reader-v1"}]}]},{"group":"Social data","icon":"share-2","pages":[{"group":"TikTok","icon":"/icons/social/tiktok.svg","pages":[{"title":"Video Detail","sidebarTitle":"Video Detail","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/tiktok/post-detail"},{"title":"User Profile","sidebarTitle":"User Profile","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/tiktok/user-profile"},{"title":"User Posts","sidebarTitle":"User Posts","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/tiktok/user-posts"},{"title":"Video Search","sidebarTitle":"Video Search","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/tiktok/video-search"}]},{"group":"Instagram","icon":"/icons/social/instagram.svg","pages":[{"title":"Post Detail","sidebarTitle":"Post Detail","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/instagram/post-detail"},{"title":"User Profile","sidebarTitle":"User Profile","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/instagram/user-profile"},{"title":"User Posts","sidebarTitle":"User Posts","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/instagram/user-posts"},{"title":"Search","sidebarTitle":"Search","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/instagram/search"}]},{"group":"YouTube","icon":"/icons/social/youtube.svg","pages":[{"title":"Video Detail","sidebarTitle":"Video Detail","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/youtube/video-detail"},{"title":"Channel Info","sidebarTitle":"Channel Info","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/youtube/channel-info"},{"title":"Channel Videos","sidebarTitle":"Channel Videos","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/youtube/channel-videos"},{"title":"Video Search","sidebarTitle":"Video Search","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/youtube/video-search"}]},{"group":"X","icon":"/icons/social/x.svg","pages":[{"title":"Tweet Detail","sidebarTitle":"Tweet Detail","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/x/tweet-detail"},{"title":"User Profile","sidebarTitle":"User Profile","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/x/user-profile"},{"title":"User Posts","sidebarTitle":"User Posts","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/x/user-tweets"},{"title":"Timeline Search","sidebarTitle":"Timeline Search","api":"POST https://api.omnimux.ai/v1/chat/completions","href":"/en/api-reference/social-data/x/timeline-search"}]}]},{"group":"Publishing","icon":"send","pages":[{"group":"Connecting Accounts","icon":"send","pages":[{"title":"Start Connection","sidebarTitle":"Start Connection","openapi":"openapi/ops/publishing/start-connect.json POST /api/social/v1/connect","href":"/en/api-reference/publishing/start-connect"},{"title":"List Accounts","sidebarTitle":"List Accounts","openapi":"openapi/ops/publishing/list-accounts.json GET /api/social/v1/accounts","href":"/en/api-reference/publishing/list-accounts"},{"title":"Disconnect Account","sidebarTitle":"Disconnect Account","openapi":"openapi/ops/publishing/disconnect.json DELETE /api/social/v1/accounts/{id}","href":"/en/api-reference/publishing/disconnect"},{"title":"Query Seats","sidebarTitle":"Query Seats","description":"Query social account seats quota and utilization status","api":"GET https://omnimux.ai/api/social/v1/seats","href":"/en/api-reference/publishing/seats"}]},{"group":"Posts","icon":"send","pages":[{"title":"Create Post","sidebarTitle":"Create Post","openapi":"openapi/ops/publishing/create-post.json POST /api/social/v1/posts","href":"/en/api-reference/publishing/create-post"},{"title":"Get Post","sidebarTitle":"Get Post","description":"Get Post — read by official source","openapi":"openapi/ops/publishing/get-post.json GET /api/social/v1/posts/{id}","href":"/en/api-reference/publishing/get-post"}]},{"group":"Media","icon":"send","pages":[{"title":"Media Presign","sidebarTitle":"Media Presign","api":"POST https://omnimux.ai/api/social/v1/media/presign","href":"/en/api-reference/publishing/presign"}]}]},{"group":"Account management","icon":"user","pages":[{"group":"Authentication","icon":"user","pages":[{"title":"Device Code Login","sidebarTitle":"Device Code Login","api":"POST https://omnimux.ai/api/user/device/code","href":"/en/api-reference/account/device-login"}]},{"group":"Account info","icon":"user","pages":[{"title":"Get Balance","sidebarTitle":"Get Balance","api":"GET https://omnimux.ai/api/user/self","href":"/en/api-reference/account/balance"},{"title":"Get Pricing","sidebarTitle":"Get Pricing","api":"GET https://omnimux.ai/api/pricing","href":"/en/api-reference/account/pricing"},{"title":"Export My Usage Logs","sidebarTitle":"Export My Usage Logs","openapi":"openapi/ops/account/en/usage-log-export.json GET /api/log/self/export","href":"/en/api-reference/account/usage-log-export"}]},{"group":"Character and video creation","icon":"user","pages":[{"title":"Get Creation Options","sidebarTitle":"Get Creation Options","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/options","href":"/en/api-reference/account/influencer/options"},{"title":"Create Character","sidebarTitle":"Create Character","openapi":"openapi/ops/influencer/en/creation.json POST /api/influencer/v1/characters","href":"/en/api-reference/account/influencer/create-character"},{"title":"List Characters","sidebarTitle":"List Characters","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/characters","href":"/en/api-reference/account/influencer/list-characters"},{"title":"Get Character","sidebarTitle":"Get Character","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/characters/{task_id}","href":"/en/api-reference/account/influencer/get-character"},{"title":"Create Multiview Sheet","sidebarTitle":"Create Multiview Sheet","openapi":"openapi/ops/influencer/en/creation.json POST /api/influencer/v1/characters/{task_id}/multiview","href":"/en/api-reference/account/influencer/create-multiview"},{"title":"Create Character Video","sidebarTitle":"Create Character Video","openapi":"openapi/ops/influencer/en/creation.json POST /api/influencer/v1/videos","href":"/en/api-reference/account/influencer/create-video"},{"title":"Analyze Recreation Reference","sidebarTitle":"Analyze Recreation Reference","openapi":"openapi/ops/influencer/en/creation.json POST /api/influencer/v1/recreations/analyze","href":"/en/api-reference/account/influencer/recreate-analyze"},{"title":"List Creation Tasks","sidebarTitle":"List Creation Tasks","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/tasks","href":"/en/api-reference/account/influencer/list-tasks"},{"title":"Get Creation Task","sidebarTitle":"Get Creation Task","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/tasks/{task_id}","href":"/en/api-reference/account/influencer/get-task"},{"title":"Get Creation Artifacts","sidebarTitle":"Get Creation Artifacts","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/tasks/{task_id}/artifacts","href":"/en/api-reference/account/influencer/get-artifacts"},{"title":"Recover Creation Request","sidebarTitle":"Recover Creation Request","openapi":"openapi/ops/influencer/en/creation.json GET /api/influencer/v1/requests/{request_id}","href":"/en/api-reference/account/influencer/get-request"}]}]},{"group":"Task management","icon":"list-checks","pages":[{"title":"Query Video Task","sidebarTitle":"Query Video Task","api":"GET https://api.omnimux.ai/v1/video/generations/{task_id}","href":"/en/api-reference/tasks/video-task"}]},{"group":"File management","icon":"folder-up","pages":[{"title":"Upload Base64 File","sidebarTitle":"Base64 Upload","api":"POST https://api.omnimux.ai/api/v1/files/upload/base64","href":"/en/api-reference/file-series/upload-base64"},{"title":"Upload File Stream","sidebarTitle":"Stream Upload","api":"POST https://api.omnimux.ai/api/v1/files/upload/stream","href":"/en/api-reference/file-series/upload-stream"},{"title":"Upload File via URL","sidebarTitle":"URL Upload","api":"POST https://api.omnimux.ai/api/v1/files/upload/url","href":"/en/api-reference/file-series/upload-url"},{"title":"Get File Quota","sidebarTitle":"File Quota","api":"GET https://api.omnimux.ai/api/v1/files/quota","href":"/en/api-reference/file-series/quota"},{"title":"Download and Access File","sidebarTitle":"Download File","api":"GET https://api.omnimux.ai/api/v1/files/download/{file_id}","href":"/en/api-reference/file-series/download"}]}]},{"tab":"Integration guide","icon":"plug","pages":[{"title":"Integration guide","href":"/en/integration-guide/chatbox"}]},{"tab":"User guide","icon":"book-user","pages":[{"title":"User guide","href":"/en"}]},{"tab":"FAQs","icon":"circle-help","pages":[{"title":"FAQs","href":"/en/faqs/cost-optimization"}]}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/api-reference/publishing/create-post"}]}]},"basePath":"","title":"Create Post - 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"]}