Reelcraft

Reelcraft · GPT-Aktionen

Reelcraft AI API

API for interacting with Reelcraft AI projects.

  • POST /external/project/detailsRetrieves project details based on the provided description.
Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "Reelcraft AI API",
    "description": "API for interacting with Reelcraft AI projects.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.reelcraft.ai/api/v1",
      "description": "Reelcraft AI API server"
    }
  ],
  "paths": {
    "/external/project/details": {
      "post": {
        "operationId": "getProjectDetails",
        "summary": "Retrieves project details based on the provided description.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "description": "Description of the project to retrieve details for."
                  },
                  "story_type": {
                    "type": "string",
                    "description": "Type of the story for the project."
                  },
                  "style": {
                    "type": "string",
                    "description": "Type of the story for the project."
                  },
                  "dimensions": {
                    "type": "string",
                    "description": "Type of the story for the project."
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Project details retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    },
    "schemas": {
      "ProjectDetails": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "Unique identifier for the project."
          },
          "name": {
            "type": "string",
            "description": "Name of the project."
          },
          "description": {
            "type": "string",
            "description": "Detailed description of the project."
          }
        }
      }
    }
  }
}