> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Bulk Create AI Metadata

Generate AI metadata for multiple videos in bulk

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Platform",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/videos/ai_metadata": {
      "post": {
        "tags": [
          "Videos"
        ],
        "summary": "Bulk Create AI Metadata",
        "description": "Generate AI metadata for multiple videos in bulk",
        "operationId": "bulkCreateAIMetadata",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "video_ids"
                ],
                "properties": {
                  "video_ids": {
                    "type": "array",
                    "description": "List of video IDs to generate AI metadata for",
                    "items": {
                      "type": "string"
                    },
                    "example": [
                      "507f1f77bcf86cd799439011",
                      "60d5ec49ebdc3c1e9f1b5aaa"
                    ]
                  },
                  "attributes": {
                    "type": "array",
                    "description": "List of AI metadata attributes to generate. Valid values: title, friendly_title, description, short_description, keywords, genre",
                    "items": {
                      "type": "string",
                      "enum": [
                        "title",
                        "friendly_title",
                        "description",
                        "short_description",
                        "keywords",
                        "genre"
                      ]
                    },
                    "example": [
                      "title",
                      "keywords"
                    ]
                  },
                  "prompt_context_id": {
                    "type": "string",
                    "description": "ID of the prompt context to use when generating AI metadata",
                    "example": "507f1f77bcf86cd799439011"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "title": "AIMetadataBulkCreateResponse",
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1videos/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  }
}
```