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

x-api-key
string
header
required

Body

application/json

Response

200 - application/json

Success

The response is of type object.