Skip to main content

Introduction

Generate professional marketing scripts automatically using JoggAI’s AI. Provide product information or a topic, and get multiple script variations optimized for your video length and language. Perfect for scaling video content production across multiple products, languages, and platforms.

Key Features

Auto-Generate

Create scripts from product info or descriptions

Multiple Styles

Get 3-5 script variations in different styles

Length Optimization

Scripts timed for 15/30/60 second videos

40+ Languages

Generate scripts in any supported language

Workflow Overview

AI script generation is a 2-step asynchronous process:
1

Submit Request

Send product info and requirements to AI
2

Retrieve & Select

Get generated scripts and choose your favorite
AI script generation typically completes in 10-30 seconds. You can start polling after 15 seconds.

Quick Start

Key Parameters

Product Info Required: Either provide a product_info.data.id (for existing products) or product_info.data.name and product_info.data.description (for new products).

Code Examples

Scenario 1: Generate Scripts from Product ID

Use an existing product to generate scripts:

Step 1: Submit Script Generation Request

Response:
Save the task_id - you’ll need it to retrieve your scripts!

Step 2: Retrieve Generated Scripts

Wait 15-30 seconds, then retrieve your scripts:
Response (Completed):
The AI generates multiple script variations automatically. Choose the style that best fits your brand and audience!

Scenario 2: Generate Scripts with Product Details

Provide product details directly without creating a product entry:

Step 1: Submit Request with Product Details

Response:

Step 2: Retrieve Generated Scripts


Scenario 3: Check Generation Status

Poll to check if scripts are ready:
Response (Still Processing):
Response (Completed):
Response (Failed):

Advanced Examples

Short 15-Second Scripts

Generate punchy scripts for quick social media videos:
Sample Response:

Multi-Language Scripts

Generate scripts in different languages:
Spanish Script Example:
Supported languages include: English, Spanish, French, German, Japanese, Korean, Chinese, Portuguese, and 30+ more. See full list in the API Reference.

Script Style Guide

Understanding different script styles:
The AI automatically generates scripts in multiple styles so you can choose the best fit for your brand and audience.

Use Case Examples

Convert product pages into video scripts:
  • Use existing product IDs
  • Generate in multiple languages for global markets
  • Create variations for A/B testing
  • Batch process entire catalog
Create engaging scripts for social platforms:
  • Use 15-second scripts for TikTok/Reels
  • Try “Storytime” or “Discovery” styles
  • Generate in target market languages
  • Produce multiple versions weekly
Generate ad scripts quickly:
  • Test different messaging angles
  • Create urgency with “Don’t Worry” style
  • Use “Top 3 Reasons” for clarity
  • Localize for different regions
Scale video content production:
  • Generate scripts for product series
  • Create educational content
  • Produce weekly tips and tricks
  • Maintain consistent messaging

Tips for Best Results

Script Selection:
  • Match your brand voice by selecting style that aligns with brand personality
  • Know your audience: “Data” style for B2B, “Storytime” for consumers
  • Consider platform: Shorter, punchier scripts for social media
  • Test different styles: A/B test to find what resonates
Optimization Tips:
  • Be specific with product descriptions for better results
  • Include key features you want highlighted
  • Specify target audience for appropriate tone
  • Generate multiple times if not satisfied with first result
  • Provide detailed descriptions when using source_type: "details"
Best Practices:
  • Wait 15-30 seconds before checking results
  • Use product IDs when possible for better consistency
  • Generate multiple script variations and compare
  • Test different styles for the same product
  • Use appropriate video length for your platform

Troubleshooting

Issue: Generated scripts lack specificitySolutions:
  • Provide more detailed product descriptions
  • Include specific features and benefits
  • Specify target audience clearly
  • Add unique selling points
  • Use target_audience parameter
Issue: Scripts don’t match expected language or styleSolutions:
  • Verify language parameter is correct
  • Try different script_style options
  • Provide target_audience description
  • Add context about brand personality in product description
  • Check language spelling (e.g., “english” not “English”)
Issue: Script generation takes longer than expectedSolutions:
  • Wait up to 60 seconds before retry
  • Check task_id is correct
  • Verify API key permissions
  • Check product ID exists (if using source_type: "id")
  • Contact support if persists > 2 minutes
Issue: Response shows completed but no scriptsSolutions:
  • Check data.generated_scripts array in response
  • Verify product information is valid
  • Ensure product description is detailed enough
  • Try with different script_style
  • Retry with simpler product description

Create Product

Create product entries first

Avatar Videos

Use scripts in avatar videos

Product Videos

Generate videos with AI scripts

Webhook Integration

Automate script generation