AI Video Generator - VideoGPT by VEED

AI Video Generator - VideoGPT by VEED · Actions GPT

Video GPT by VEED API

This API is used to create VEED projects.

  • POST /generate/videogptGenerateProject

    Generate a VEED video project and upload files

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Video GPT by VEED API",
    "description": "This API is used to create VEED projects.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://www.veed.io/text-to-video-ap/api"
    }
  ],
  "paths": {
    "/generate/videogpt": {
      "post": {
        "description": "Generate a VEED video project and upload files",
        "operationId": "GenerateProject",
        "x-openai-isConsequential": false,
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "flowType"
                ],
                "additionalProperties": true,
                "properties": {
                  "flowType": {
                    "type": "string",
                    "enum": [
                      "social",
                      "clips",
                      "aiPlayground",
                      "fabric"
                    ]
                  },
                  "payload": {
                    "type": "object",
                    "properties": {
                      "script": {
                        "type": "string"
                      },
                      "videoUrl": {
                        "type": "string",
                        "format": "uri"
                      },
                      "prompt": {
                        "type": "string"
                      },
                      "model": {
                        "type": "string"
                      },
                      "aspectRatio": {
                        "type": "string",
                        "enum": [
                          "portrait",
                          "landscape",
                          "square"
                        ]
                      },
                      "characterId": {
                        "type": "string",
                        "description": "The character ID for Fabric flow (character-1 through character-8)"
                      }
                    }
                  },
                  "openaiFileIdRefs": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "source": {
                    "type": "string",
                    "description": "Optional string to indicate which integration/source triggered the request, e.g. 'videogpt'."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Expected response to a valid request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Project": {
        "description": "A VEED project",
        "type": "object",
        "required": [
          "project"
        ],
        "additionalProperties": false,
        "properties": {
          "project": {
            "type": "object",
            "required": [
              "id",
              "link"
            ],
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid"
              },
              "link": {
                "description": "URL to edit the project in the VEED editor",
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      }
    }
  }
}