AI Scripts
AI Scripts
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
AI Scripts
AI Scripts
Simply provide the product information or the product_id generated in the Upload URL to create product, and you can create several different styles of product introduction scripts.If you do not provide the product_id, then the product’s name and description are required.
POST
/
ai_scripts
curl --request POST \
--url https://api.jogg.ai/v1/ai_scripts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"product_id": "NTQ0MTkzNjg",
"name": "Owala FreeSip Insulated Stainless Steel Water Bottle with Straw for Sports.",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder features a fresh and vibrant mix of blushing tones infused with a pop of color to create a healthy glow. Multi-reflective pearls provide a soft iridescence to highlight contour and add radiance to cheeks. Experience the mood boosting effect: Infused with our Happy Boost Blend featuring Happy Skin and Euphoryl, natural plant extracts which have been shown to promote a feeling of happiness by mimicking the effect of Endorphins and helping protect the skin from environmental stress. ",
"target_audience": "",
"video_length": "15",
"language": "english"
}'
{
"code": 123,
"msg": "<string>",
"data": {
"generated_scripts": [
{
"script_paragraphs": "Ever tried drinking water while running? It's like a comedy show!You either spill it all over or look like a fish out of water.Then I found the Owala FreeSip bottle—game changer.",
"script_style": "Storytime."
}
]
}
}
Authorizations
Body
application/json
Response
200 - application/json
Success
The response is of type object
.
curl --request POST \
--url https://api.jogg.ai/v1/ai_scripts \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"product_id": "NTQ0MTkzNjg",
"name": "Owala FreeSip Insulated Stainless Steel Water Bottle with Straw for Sports.",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder features a fresh and vibrant mix of blushing tones infused with a pop of color to create a healthy glow. Multi-reflective pearls provide a soft iridescence to highlight contour and add radiance to cheeks. Experience the mood boosting effect: Infused with our Happy Boost Blend featuring Happy Skin and Euphoryl, natural plant extracts which have been shown to promote a feeling of happiness by mimicking the effect of Endorphins and helping protect the skin from environmental stress. ",
"target_audience": "",
"video_length": "15",
"language": "english"
}'
{
"code": 123,
"msg": "<string>",
"data": {
"generated_scripts": [
{
"script_paragraphs": "Ever tried drinking water while running? It's like a comedy show!You either spill it all over or look like a fish out of water.Then I found the Owala FreeSip bottle—game changer.",
"script_style": "Storytime."
}
]
}
}