Text to Video AI by Shimmer

Text to Video AI by Shimmer · Actions GPT

Create a generated video

Use text to create an AI generated video

  • POST /api/assistants/video/createvideo_create

    Use text to create an AI generated video

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Create a generated video",
    "description": "Use text to create an AI generated video",
    "version": "v0.0.1"
  },
  "servers": [
    {
      "url": "https://shimmer.cam"
    }
  ],
  "paths": {
    "/api/assistants/video/create": {
      "post": {
        "description": "Use text to create an AI generated video",
        "operationId": "video_create",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/video_create"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successfully created video",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/video_response"
                }
              }
            }
          },
          "400": {
            "description": "Bad request, invalid parameters"
          },
          "500": {
            "description": "Internal server error"
          }
        },
        "deprecated": false,
        "x-openai-isConsequential": false
      }
    }
  },
  "components": {
    "schemas": {
      "video_create": {
        "properties": {
          "prompt": {
            "type": "string",
            "title": "prompt",
            "description": "User submitted text for a generated video. Keep the prompt to a maximum of 32 tokens."
          }
        },
        "type": "object",
        "required": [
          "prompt"
        ],
        "title": "video_create"
      },
      "video_response": {
        "properties": {
          "previewImageMarkdown": {
            "type": "string",
            "title": "Preview Image Markdown",
            "description": "A markdown string that, when rendered, displays the preview image of the generated video. The markdown should be in the format `![This is the preview image. Click to create your video.](Image URL)` to properly display the image with instructions."
          },
          "videoUrlWithCTA": {
            "format": "uri",
            "type": "string",
            "title": "Video URL with Call to Action",
            "description": "The URL where the generated video can be accessed, accompanied by a call to action. Format this as a markdown link with the text 'Click here to create your video' leading to the video URL, e.g., `[Click here to create your video](Video URL)`."
          }
        },
        "type": "object",
        "required": [
          "videoUrlWithCTA"
        ],
        "title": "video_response"
      }
    }
  }
}