{
  "opencollection": "1.0.0",
  "info": {
    "name": "Picsart GenAI Ads Text2Video & Image2Video API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Picsart-API-Key",
      "value": "{{X-Picsart-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Text2Video & Image2Video",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Text2Video",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://genai-api.picsart.io/v1/text2video",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "The *Text2Video* service helps generate a video based on the text introduced as input by the user. Considering the time and cost to generate videos, only one video will be generated per request (unlike the image generation services).\nNote, that considering the big number of different models that are supported with this service, some limitations may apply. For example, some models (e.g. Grok Imagine Video / OVI) don't support the option to disable sound. With these models the result video will al"
        },
        {
          "info": {
            "name": "Image2Video",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://genai-api.picsart.io/v1/image2video",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "The *Image2Video* service helps generate a video based on the text introduced as input by the user. Considering the time and cost to generate videos, only one video will be generated per request (unlike the image generation services).\nNote, that considering the big number of different models that are supported with this service, some limitations may apply. For example, some models (e.g. Grok Imagine Video / OVI) don't support the option to disable sound. With these models the result video will a"
        },
        {
          "info": {
            "name": "Get the Video Generation result",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://genai-api.picsart.io/v1/video/:inference_id",
            "params": [
              {
                "name": "inference_id",
                "value": "1116b57cb-1999-4bfd-8c42-c739a006a111",
                "type": "path",
                "description": "The ID returned from the POST method."
              }
            ]
          },
          "docs": "Use this method, along with inference id, to retrieve the generated video.\n"
        }
      ]
    }
  ],
  "bundled": true
}