URL to Video
Upload URL to create product
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
URL to Video
Upload URL to create product
Get product information by crawling the provided URL or create a new product with provided information.
The response contains product_id which is used in Step 2 & Step 3 for updating product information and creating the video.
POST
/
product
curl --request POST \
--url https://api.jogg.ai/v1/product \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "https://res.jogg.ai.com/product_url",
"name": "Physicians Formula Happy Booster Heart Blush",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder",
"target_audience": "Tech-savvy millennials",
"media": [
{
"type": 1,
"name": "product.jpg",
"url": "https://res.jogg.ai/media.jpg",
"description": "Product front view"
}
]
}'
{
"code": 123,
"msg": "<string>",
"data": {
"product_id": "NTQ0MTkzNjg",
"url": "https://res.jogg.ai.com/product_url",
"name": "Physicians Formula Happy Booster Heart Blush Glow &amp; Mood Boosting, Rose, Dermatologist Tested",
"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": "",
"media": [
{
"type": 1,
"name": "media.jpg",
"url": "https://res.jogg.ai/media.jpg",
"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."
}
]
}
}
Authorizations
Body
application/json
Response
200 - application/json
Success
The response is of type object
.
curl --request POST \
--url https://api.jogg.ai/v1/product \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "https://res.jogg.ai.com/product_url",
"name": "Physicians Formula Happy Booster Heart Blush",
"description": "Brush on a radiant blushing glow: Ultra-soft and blendable blushing powder",
"target_audience": "Tech-savvy millennials",
"media": [
{
"type": 1,
"name": "product.jpg",
"url": "https://res.jogg.ai/media.jpg",
"description": "Product front view"
}
]
}'
{
"code": 123,
"msg": "<string>",
"data": {
"product_id": "NTQ0MTkzNjg",
"url": "https://res.jogg.ai.com/product_url",
"name": "Physicians Formula Happy Booster Heart Blush Glow &amp; Mood Boosting, Rose, Dermatologist Tested",
"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": "",
"media": [
{
"type": 1,
"name": "media.jpg",
"url": "https://res.jogg.ai/media.jpg",
"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."
}
]
}
}