PixVerse - Generate videos for free

PixVerse - Generate videos for free · Actions GPT

Pixverse Creative Platform API

API for generating creative content using prompts.

  • POST /creative_platform/gen/createVideoGenerateTaskCreate a task to generate a video based on a given prompt
Schéma original API
{
  "openapi": "3.0.0",
  "info": {
    "title": "Pixverse Creative Platform API",
    "version": "1.0.0",
    "description": "API for generating creative content using prompts."
  },
  "servers": [
    {
      "url": "https://openai-api.pixverse.ai"
    }
  ],
  "paths": {
    "/creative_platform/gen/createVideoGenerateTask": {
      "post": {
        "summary": "Create a task to generate a video based on a given prompt",
        "operationId": "text2video",
        "is_consequential": false,
        "tags": [
          "Video Generation"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "Prompt": {
                    "type": "string",
                    "description": "The text prompt for generating content",
                    "example": "cat"
                  },
                  "Seed": {
                    "type": "integer",
                    "description": "A seed value for randomness control, random positive int32",
                    "example": 1000
                  },
                  "Height": {
                    "type": "integer",
                    "description": "Generated video's height",
                    "example": 256
                  },
                  "Width": {
                    "type": "integer",
                    "description": "Generated video's width",
                    "example": 256
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Task created successfully with response details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ErrCode": {
                      "type": "integer",
                      "description": "Error code indicating the status of the request",
                      "example": 0
                    },
                    "ErrMsg": {
                      "type": "string",
                      "description": "Error message explaining the status code",
                      "example": "Success"
                    },
                    "Resp": {
                      "type": "object",
                      "properties": {
                        "VideoId": {
                          "type": "integer",
                          "description": "The generated video's unique identifier",
                          "example": 18604
                        },
                        "WebpUrl": {
                          "type": "string",
                          "format": "uri",
                          "description": "URL to the generated WebP image preview",
                          "example": "https://media.pixverse.ai/pixverse/webp/media/536cb95f-3397-4157-a4d6-1eb9765dec30_seed1000_cat.webp"
                        },
                        "VideoUrl": {
                          "type": "string",
                          "format": "uri",
                          "description": "URL to the generated MP4 video",
                          "example": "https://media.pixverse.ai/pixverse/mp4/media/536cb95f-3397-4157-a4d6-1eb9765dec30_seed1000_cat.mp4"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "Unexpected error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "ErrCode": {
            "type": "integer",
            "description": "Error code indicating the status of the request"
          },
          "ErrMsg": {
            "type": "string",
            "description": "Error message explaining the status code"
          }
        }
      }
    }
  }
}