Generate AI-powered video script based on product information and requirements.
The script generation is asynchronous - use the returned task_id to check status.
POST
/
v2
/
ai_scripts
Submit AI script generation request
curl --request POST \
--url https://api.jogg.ai/v2/ai_scripts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"language": "english",
"video_length_seconds": "30",
"script_style": "Storytime",
"product_info": {
"source_type": "id",
"data": {
"id": "NTQ0MTkzNjg",
"name": "Owala FreeSip Insulated Stainless Steel Water Bottle",
"description": "The Owala FreeSip bottle is perfect for active lifestyles..."
}
},
"target_audience": "Fitness enthusiasts and outdoor adventurers"
}
'
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"JoggAI API","colors":{"primary":"#2E5CFF","light":"#2E5CFF","dark":"#2E5CFF"},"logo":{"light":"https://mintcdn.com/joggai/2WfnmgQwwQkeXdv3/logo/Group%201312320557.png?fit=max\u0026auto=format\u0026n=2WfnmgQwwQkeXdv3\u0026q=85\u0026s=60564135d6f732afa55cb2402b5b822d","dark":"https://mintcdn.com/joggai/2WfnmgQwwQkeXdv3/logo/Dark-logo.png?fit=max\u0026auto=format\u0026n=2WfnmgQwwQkeXdv3\u0026q=85\u0026s=aa8916e58a85e73105f1d28ef6357d6f"},"favicon":"https://mintcdn.com/joggai/2WfnmgQwwQkeXdv3/logo/Group%201312319951.png?fit=max\u0026auto=format\u0026n=2WfnmgQwwQkeXdv3\u0026q=85\u0026s=7670acffaa09107ec308969f94fe1f17","navbar":{"links":[{"href":"mailto:support@jogg.ai","label":"Support"}],"primary":{"type":"button","label":"Get Started","href":"https://app.jogg.ai/"}},"footer":{"socials":{"x":"https://x.com/Jogg_ai","facebook":"https://www.facebook.com/profile.php?id=61560344774204","linkedin":"https://www.linkedin.com/company/jogg-ai","youtube":"https://www.youtube.com/@joggai","discord":"https://discord.gg/RwrwZcSRCq"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Roadmap","icon":"pencil","href":"https://updates.jogg.ai/roadmap"},{"anchor":"Changelog","icon":"code","href":"https://updates.jogg.ai/changelog"},{"anchor":"Share Your Ideas","icon":"envelope","href":"https://updates.jogg.ai/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"joggai","hasAudioNarration":false,"actualSubdomain":"joggai","customDomains":["docs.jogg.ai"],"gitSource":{"type":"github","owner":"joggai-tech","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af183882126ef8f812fc240","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"API Documentation","count":57},{"language":"default","tag":"Workflows Guides","count":13},{"language":"default","tag":"Video","count":13},{"language":"default","tag":"Avatar","count":7},{"language":"default","tag":"Asset","count":5},{"language":"default","tag":"Webhook","count":5},{"language":"default","tag":"Create Avatar Videos","count":4},{"language":"default","tag":"QuickStart","count":4},{"language":"default","tag":"Voice","count":4},{"language":"default","tag":"Product","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"assistant-v5","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":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"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":"sso-setup-deadline-banner","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}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/v2/Asset/CreateAIScript","slug":"/api-reference/v2/Asset/CreateAIScript","pageMetadata":{"title":"Create AI Script","openapi":"POST /v2/ai_scripts","description":"Generate AI-powered video script based on product information and requirements.\nThe script generation is asynchronous - use the returned task_id to check status.\n","href":"/api-reference/v2/Asset/CreateAIScript"},"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: \"Generate AI-powered video script based on product information and requirements.\\nThe script generation is asynchronous - use the returned task_id to check status.\"\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={code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Generate AI-powered video scripts based on product information. The AI will create multiple script variations optimized for your video duration.`}),`\n`,_jsx(Heading,{level:`2`,id:`example-usage`,children:`Example Usage`}),`\n`,_jsx(Heading,{level:`3`,id:`using-product-id`,children:`Using Product ID`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jogg.ai/v2/ai_scripts'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"english\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"video_length_seconds\": \"30\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"script_style\": \"Storytime\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_info\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"source_type\": \"id\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"id\": \"NTQ0MTkzNjg\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`using-product-details`,children:`Using Product Details`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jogg.ai/v2/ai_scripts'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: YOUR_API_KEY'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Content-Type: application/json'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"language\": \"english\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"video_length_seconds\": \"30\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"script_style\": \"Discovery\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"product_info\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"source_type\": \"details\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"Amazing Smart Watch\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"description\": \"A smartwatch with health tracking, fitness monitoring, and smart notifications\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"target_audience\": \"Fitness enthusiasts and tech-savvy consumers\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`related-guides`,children:`Related Guides`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`AI Scripts Guide`,href:`/api-reference/v2/API Documentation/AIScripts`,children:_jsx(_components.p,{children:`Learn the complete AI scripts workflow`})}),_jsx(Card,{title:`Get Script Results`,href:`/api-reference/v2/Asset/GetAIScriptResult`,children:_jsx(_components.p,{children:`Retrieve generated scripts`})})]})]})}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 AI Script","openapi":"POST /v2/ai_scripts","description":"Generate AI-powered video script based on product information and requirements.\nThe script generation is asynchronous - use the returned task_id to check status.\n","href":"/api-reference/v2/Asset/CreateAIScript"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Example Usage","slug":"example-usage","depth":2,"children":[{"title":"Using Product ID","slug":"using-product-id","depth":3,"children":[]},{"title":"Using Product Details","slug":"using-product-details","depth":3,"children":[]}]},{"title":"Related Guides","slug":"related-guides","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Asset"],"summary":"Submit AI script generation request","description":"Generate AI-powered video script based on product information and requirements.\nThe script generation is asynchronous - use the returned task_id to check status.\n","requestBody":"3ad601c8-014c-45cd-9867-4238863ffde3","responses":{"200":"5cf31c6a-7bed-4cf4-8225-6ad1d39964d5"},"method":"post","type":"path","servers":["96615429-67a8-4f47-8174-a31957b3c19f"],"security":["71ba0c86-b503-42ce-a9fe-0fa52c0002ef"],"path":"/v2/ai_scripts","baseUrlOptions":["https://api.jogg.ai"],"title":"Submit AI script generation request","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["language","video_length_seconds","script_style","product_info"],"properties":{"language":{"type":"string","description":"Script generation language","enum":["english","filipino","french","german","hindi","indonesian","italian","japanese","korean","malay","portuguese","russian","spanish","thai","vietnamese","arabic","greek","turkish","slovenian","croatian","romanian","chinese","bengali","urdu","hungarian","traditional-chinese","polish","cantonese","danish","malayalam","tamil","telugu","czech","hebrew","zulu","swedish","lithuanian","dutch","flemish","norwegian","finnish","bulgarian","latvian","ukrainian","mongolian","persian","odia","assamese","kannada","tagalog","amharic","serbian","slovak","swahili"],"example":"english","isRequired":true,"uniqueKey":"language","typeLabel":"enum\u003cstring>"},"video_length_seconds":{"type":"string","description":"Desired video length in seconds","enum":["15","30","60"],"example":"30","isRequired":true,"uniqueKey":"video_length_seconds","typeLabel":"enum\u003cstring>"},"script_style":{"type":"string","description":"Script writing style for video content:\n* Don't Worry - Casual and reassuring tone\n* Storytime - Narrative and engaging storytelling approach\n* Discovery - Exploratory and revealing style\n* Data - Fact-based and analytical presentation\n* Top 3 reasons - List-based persuasive format\n* Light marketing - Soft-sell marketing approach\n","enum":["Don't Worry","Storytime","Discovery","Data","Top 3 reasons","Light marketing"],"example":"Storytime","isRequired":true,"uniqueKey":"script_style","typeLabel":"enum\u003cstring>"},"product_info":{"type":"object","description":"Product information for script generation","required":["source_type","data"],"properties":{"source_type":{"type":"string","description":"Source type of product information:\n* id - Use product ID from product creation endpoint\n* details - Provide product details directly\n","enum":["id","details"],"example":"id","isRequired":true,"uniqueKey":"product_info.source_type","typeLabel":"enum\u003cstring>"},"data":{"type":"object","description":"Product data based on source_type","properties":{"id":{"type":"string","description":"Product ID (required when source_type is 'id')","example":"NTQ0MTkzNjg","uniqueKey":"product_info.data.id","typeLabel":"string"},"name":{"type":"string","description":"Product name (required when source_type is 'details')","example":"Owala FreeSip Insulated Stainless Steel Water Bottle","uniqueKey":"product_info.data.name","typeLabel":"string"},"description":{"type":"string","description":"Product description and selling points (required when source_type is 'details')","example":"The Owala FreeSip bottle is perfect for active lifestyles...","uniqueKey":"product_info.data.description","typeLabel":"string"}},"isRequired":true,"uniqueKey":"product_info.data","typeLabel":"object"}},"isRequired":true,"uniqueKey":"product_info","typeLabel":"object"},"target_audience":{"type":"string","description":"Target audience for the product (optional)","example":"Fitness enthusiasts and outdoor adventurers","uniqueKey":"target_audience","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"language":"english","video_length_seconds":"30","script_style":"Storytime","product_info":{"source_type":"id","data":{"id":"NTQ0MTkzNjg","name":"Owala FreeSip Insulated Stainless Steel Water Bottle","description":"The Owala FreeSip bottle is perfect for active lifestyles..."}},"target_audience":"Fitness enthusiasts and outdoor adventurers"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5cf31c6a-7bed-4cf4-8225-6ad1d39964d5":{"description":"Success","content":{"application/json":{"schema":{"type":"object","required":["code","msg"],"properties":{"code":{"type":"integer","description":"Business status code:\n* 0 - Success\n* 10104 - Record not found\n* 10105 - Invalid API key\n* 18020 - Insufficient credit\n* 18025 - No permission to call APIs\n* 40000 - Parameter error\n* 50000 - System error\n","example":0,"isRequired":true,"uniqueKey":"code","typeLabel":"integer"},"msg":{"type":"string","description":"Response message","example":"Success","isRequired":true,"uniqueKey":"msg","typeLabel":"string"},"data":{"type":"object","properties":{"task_id":{"type":"string","description":"Task ID to check script generation status","example":"task_123456789","uniqueKey":"data.task_id","typeLabel":"string"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":0,"msg":"Success","data":{"task_id":"task_123456789"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"71ba0c86-b503-42ce-a9fe-0fa52c0002ef":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Obtain your key from the JoggAI dashboard.","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"96615429-67a8-4f47-8174-a31957b3c19f":{"url":"https://api.jogg.ai","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for authentication. Obtain your key from the JoggAI dashboard.","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"x-api-key","type":"string","description":"API key for authentication. Obtain your key from the JoggAI dashboard.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"x-api-key"}],"title":"apiKeyAuth"}]},"originalFileLocation":"api-reference/v2/openapi-v2.yaml"},"subdomain":"joggai","siteName":"JoggAI API","title":"Create AI Script - JoggAI API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-12-17T10:08:21.094Z","originalFileLocation":"api-reference/v2/Asset/CreateAIScript.mdx"},"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=\"Generate AI-powered video script based on product information and requirements. The script generation is asynchronous - use the returned task_id to check status.\">\u003cmeta data-mint-head name=\"application-name\" content=\"JoggAI API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_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/joggai/MKGGnsZD94NcUa6d/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create AI Script - JoggAI API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Generate AI-powered video script based on product information and requirements. The script generation is asynchronous - use the returned task_id to check status.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"JoggAI API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://joggai.mintlify.site/_mintlify/api/og/v2?division=Asset\u0026amp;title=Create+AI+Script\u0026amp;description=Generate+AI-powered+video+script+based+on+product+information+and+requirements.%0AThe+script+generation+is+asynchronous+-+use+the+returned+task_id+to+check+status\u0026amp;theme=45f50e3d65156d794d2965b2\u0026amp;signature=4c30de16c7d18f2369908e6d60f9d5cf5f5ed399e2bdd2875ee5998e60823757\">\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 AI Script - JoggAI API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Generate AI-powered video script based on product information and requirements. The script generation is asynchronous - use the returned task_id to check status.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://joggai.mintlify.site/_mintlify/api/og/v2?division=Asset\u0026amp;title=Create+AI+Script\u0026amp;description=Generate+AI-powered+video+script+based+on+product+information+and+requirements.%0AThe+script+generation+is+asynchronous+-+use+the+returned+task_id+to+check+status\u0026amp;theme=45f50e3d65156d794d2965b2\u0026amp;signature=4c30de16c7d18f2369908e6d60f9d5cf5f5ed399e2bdd2875ee5998e60823757\">\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/joggai/MKGGnsZD94NcUa6d/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"JoggAI API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2E5CFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/v2/Asset/CreateAIScript.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jogg.ai/#organization\",\"name\":\"JoggAI API\",\"url\":\"https://docs.jogg.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/joggai/2WfnmgQwwQkeXdv3/logo/Group%201312320557.png?fit=max\u0026auto=format\u0026n=2WfnmgQwwQkeXdv3\u0026q=85\u0026s=60564135d6f732afa55cb2402b5b822d\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jogg.ai#website\",\"name\":\"JoggAI API\",\"url\":\"https://docs.jogg.ai\",\"publisher\":{\"@id\":\"https://docs.jogg.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript#webpage\",\"url\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript\",\"name\":\"Create AI Script\",\"description\":\"Generate AI-powered video script based on product information and requirements. The script generation is asynchronous - use the returned task_id to check status.\",\"dateModified\":\"2025-12-17T10:08:21.094Z\",\"isPartOf\":{\"@id\":\"https://docs.jogg.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"JoggAI API\",\"item\":\"https://docs.jogg.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create AI Script\",\"item\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript#apireference\",\"headline\":\"Create AI Script\",\"name\":\"Create AI Script\",\"description\":\"Generate AI-powered video script based on product information and requirements. The script generation is asynchronous - use the returned task_id to check status.\",\"url\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jogg.ai/api-reference/v2/Asset/CreateAIScript#webpage\"},\"dateModified\":\"2025-12-17T10:08:21.094Z\",\"publisher\":{\"@id\":\"https://docs.jogg.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jogg.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"JoggAI API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"JoggAI API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/v2/Asset/CreateAIScript.md","siteName":"JoggAI API","nav":{"global":{"anchors":[{"anchor":"Roadmap","icon":"pencil","href":"https://updates.jogg.ai/roadmap"},{"anchor":"Changelog","icon":"code","href":"https://updates.jogg.ai/changelog"},{"anchor":"Share Your Ideas","icon":"envelope","href":"https://updates.jogg.ai/"}]},"tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/home/WelcometoJoggAI"}]},{"tab":"API Documentation","groups":[{"group":"QuickStart","pages":[{"title":"Getting Started","href":"/api-reference/v2/QuickStart/GettingStarted"},{"title":"Pricing","href":"/api-reference/v2/QuickStart/Pricing"},{"title":"Error Handling","href":"/api-reference/v2/QuickStart/ErrorHandling"},{"title":"Rate Limits","href":"/api-reference/v2/QuickStart/RateLimits"}]},{"group":"Workflows Guides","pages":[{"group":"Create Avatar Videos","pages":[{"title":"Create Talking Avatar Videos","href":"/api-reference/v2/API Documentation/CreateAvatarVideos"},{"title":"Avatar Videos with Photo Avatars","href":"/api-reference/v2/API Documentation/AvatarVideosWithPhotoAvatar"},{"title":"Avatar Videos with Transparent Background","href":"/api-reference/v2/API Documentation/AvatarVideosTransparentBackground"},{"title":"Avatar Videos with Custom Audio","href":"/api-reference/v2/API Documentation/AvatarVideosWithAudioSource"}]},{"title":"Create Video from URL/Product","href":"/api-reference/v2/API Documentation/URLtoVideo"},{"title":"Create Video from Template","href":"/api-reference/v2/API Documentation/CreateVideoFromTemplate"},{"title":"Lip Sync Video","href":"/api-reference/v2/API Documentation/LipSyncVideo"},{"title":"Video Translation","href":"/api-reference/v2/API Documentation/VideoTranslation"},{"title":"Create Photo Avatar","href":"/api-reference/v2/API Documentation/CreatePhotoAvatar"},{"title":"Upload Media Assets","href":"/api-reference/v2/API Documentation/UploadMedia"},{"title":"AI Script Generation","href":"/api-reference/v2/API Documentation/AIScripts"},{"title":"Webhook Integration Guide","href":"/api-reference/v2/API Documentation/WebhookIntegration"},{"title":"Check Video Result \u0026 Status","href":"/api-reference/v2/API Documentation/GetResult"}]},{"group":"Video","pages":[{"title":"Create Video from Avatar","openapi":"POST /v2/create_video_from_avatar","href":"/api-reference/v2/Video/CreateVideoFromAvatar"},{"title":"Get Avatar Video Status","openapi":"GET /v2/avatar_video/{id}","href":"/api-reference/v2/Video/AvatarVideoGet"},{"title":"Create Video from Product","openapi":"POST /v2/create_video_from_product","href":"/api-reference/v2/Video/CreateVideoFromProduct"},{"title":"Submit Preview List","openapi":"POST /v2/create_video_from_product/preview_list","href":"/api-reference/v2/Video/SubmitPreviewList"},{"title":"Render Video from Preview","openapi":"POST /v2/create_video_from_product/render_single_preview","href":"/api-reference/v2/Video/RenderSinglePreview"},{"title":"Get Product Video Status","openapi":"GET /v2/product_video/{product_video_id}","href":"/api-reference/v2/Video/ProductVideoGet"},{"title":"Create Video with Template","openapi":"POST /v2/create_video_with_template","href":"/api-reference/v2/Video/CreateVideoWithTemplate"},{"title":"Get Template Video","openapi":"GET /v2/template_video/{video_id}","href":"/api-reference/v2/Video/TemplateVideoGet"},{"title":"Create Lip Sync Video Task","openapi":"POST /v2/create_lip_sync_video","href":"/api-reference/v2/Video/CreateLipSyncVideo"},{"title":"Get Lip Sync Video Task","openapi":"GET /v2/lip_sync_video/{task_id}","href":"/api-reference/v2/Video/GetLipSyncVideo"},{"title":"Translate Video","openapi":"POST /v2/video_translate/","href":"/api-reference/v2/Video/VideoTranslateCreate"},{"title":"Check Translation Status","openapi":"GET /v2/video_translate/{video_translate_id}","href":"/api-reference/v2/Video/VideoTranslateGet"},{"title":"Get Target Languages","openapi":"GET /v2/video_translate/target_languages","href":"/api-reference/v2/Video/VideoTranslateTargetLanguagesList"}]},{"group":"Avatar","pages":[{"title":"Get Public Avatars","openapi":"GET /v2/avatars/public","href":"/api-reference/v2/Avatar/PublicAvatarsGet"},{"title":"Get Custom Avatars","openapi":"GET /v2/avatars/custom","href":"/api-reference/v2/Avatar/CustomAvatarsGet"},{"title":"Get Photo Avatars","openapi":"GET /v2/avatars/photo_avatars","href":"/api-reference/v2/Avatar/PhotoAvatarsGet"},{"title":"Generate Photo Avatar","openapi":"POST /v2/photo_avatar/photo/generate","href":"/api-reference/v2/Avatar/PhotoAvatarGenerate"},{"title":"Get Photo Avatar Status","openapi":"GET /v2/photo_avatar/photo","href":"/api-reference/v2/Avatar/PhotoAvatarStatusGet"},{"title":"Add Motion to Photo Avatar","openapi":"POST /v2/photo_avatar/add_motion","href":"/api-reference/v2/Avatar/PhotoAvatarMotionAdd"},{"title":"Check Motion Status","openapi":"GET /v2/photo_avatar","href":"/api-reference/v2/Avatar/MotionStatusCheck"}]},{"group":"Voice","pages":[{"title":"Get Voices","openapi":"GET /v2/voices","href":"/api-reference/v2/Voice/GetVoices"},{"title":"Get Custom Voices","openapi":"GET /v2/voices/custom","href":"/api-reference/v2/Voice/GetCustomVoices"},{"title":"Synthesize Speech","openapi":"POST /v2/audio/tts/synthesize","href":"/api-reference/v2/Voice/SynthesizeSpeech"},{"title":"Get Speech Task","description":"Retrieve speech synthesis status and audio results without creating a new task.","openapi":"GET /v2/audio/tts/tasks/{task_id}","href":"/api-reference/v2/Voice/GetSpeechTask"}]},{"group":"Asset","pages":[{"title":"Create AI Script","openapi":"POST /v2/ai_scripts","href":"/api-reference/v2/Asset/CreateAIScript"},{"title":"Get AI Script Result","openapi":"GET /v2/ai_scripts/results/{task_id}","description":"Check the status and retrieve results of AI script generation task.\nScripts are generated in multiple styles for variety.\n","href":"/api-reference/v2/Asset/GetAIScriptResult"},{"title":"Get Background Music","openapi":"GET /v2/musics","href":"/api-reference/v2/Asset/GetMusic"},{"title":"Get Visual Styles","openapi":"GET /v2/visual_styles","href":"/api-reference/v2/Asset/GetVisualStyles"},{"title":"Upload Asset","openapi":"POST /v2/upload/asset","href":"/api-reference/v2/Asset/UploadAsset"}]},{"group":"Template","pages":[{"title":"Get Templates","openapi":"GET /v2/templates/custom","href":"/api-reference/v2/Template/GetTemplates"},{"title":"Get Template by ID","openapi":"GET /v2/template/custom/{id}","href":"/api-reference/v2/Template/GetTemplateById"}]},{"group":"Product","pages":[{"title":"Create Product","openapi":"POST /v2/product","href":"/api-reference/v2/Product/CreateProduct"},{"title":"Update Product","openapi":"PUT /v2/product","href":"/api-reference/v2/Product/UpdateProduct"}]},{"group":"User","pages":[{"title":"Get User Info","openapi":"GET /v2/user/whoami","href":"/api-reference/v2/User/GetUserInfo"},{"title":"Get Remaining Quota","openapi":"GET /v2/user/remaining_quota","href":"/api-reference/v2/User/GetRemainingQuota"}]},{"group":"Webhook","pages":[{"title":"List Webhook Endpoints","openapi":"GET /v2/endpoints","href":"/api-reference/v2/Webhook/ListWebhookEndpoints"},{"title":"Add Webhook Endpoint","openapi":"POST /v2/endpoint","href":"/api-reference/v2/Webhook/AddWebhookEndpoint"},{"title":"Update Webhook Endpoint","openapi":"PUT /v2/endpoint/{endpoint_id}","href":"/api-reference/v2/Webhook/UpdateWebhookEndpoint"},{"title":"Delete Webhook Endpoint","openapi":"DELETE /v2/endpoint/{endpoint_id}","href":"/api-reference/v2/Webhook/DeleteWebhookEndpoint"},{"title":"List Webhook Events","openapi":"GET /v2/events","href":"/api-reference/v2/Webhook/ListWebhookEvents"}]}]},{"tab":"V1","hidden":true,"pages":[{"title":"V1","href":"/api-reference/v1/QuickStart/GettingStarted"}]}]},"basePath":"","title":"Create AI Script - JoggAI API","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}