{
  "openapi": "3.0.1",
  "info": {
    "title": "CineKids AI — Consistent Video Studio",
    "description": "Paid video generation: USD19.99 once for five reusable 30-second video credits. No free new video generation. Watch Milo before buying. Create stories with audio and continue from the previous final frame. MP4 downloads; creators 18+. MiniMax H3 Max Turbo via fal.ai.",
    "version": "0.0",
    "x-build-id": "ZraGP4fVEtugvaYlF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cinenyx~cinekids-ai-consistent-video-studio/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cinenyx-cinekids-ai-consistent-video-studio",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/cinenyx~cinekids-ai-consistent-video-studio/runs": {
      "post": {
        "operationId": "runs-sync-cinenyx-cinekids-ai-consistent-video-studio",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/cinenyx~cinekids-ai-consistent-video-studio/run-sync": {
      "post": {
        "operationId": "run-sync-cinenyx-cinekids-ai-consistent-video-studio",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What would you like to do?",
            "enum": [
              "demo",
              "preflight",
              "render",
              "continue",
              "resume",
              "balance",
              "buy_credits"
            ],
            "type": "string",
            "description": "Watch Milo reuses the existing example; it does not create a new video or grant credits. Buy five credits is a separate USD19.99 purchase. Recovery never submits a missing generation stage.",
            "default": "demo"
          },
          "adultConfirmed": {
            "title": "I confirm I am 18 or older",
            "type": "boolean",
            "description": "Required before buying credits or creating a new video. This is a self-declaration, not identity verification.",
            "default": false
          },
          "paidRenderConfirmed": {
            "title": "I confirm using one video credit for this episode",
            "type": "boolean",
            "description": "Each new 30-second episode, including a continuation, uses one credit. Recovery of an existing paid job uses no extra credit.",
            "default": false
          },
          "purchasePackConfirmed": {
            "title": "I confirm buying five credits for USD19.99",
            "type": "boolean",
            "description": "Only Buy five credits charges USD19.99 once. Requires a paid Apify account and a maximum run charge of at least USD19.99. No automatic renewal; future packs require a separate purchase.",
            "default": false
          },
          "openingPrompt": {
            "title": "Opening - first 15 seconds",
            "maxLength": 5000,
            "type": "string",
            "description": "Describe the original characters, environment, action, desired language and concise audio. Use family-friendly content and assets you have permission to use."
          },
          "endingPrompt": {
            "title": "Continuation - final 15 seconds",
            "maxLength": 5000,
            "type": "string",
            "description": "Continue the same action, appearance and environment. Give a clear ending and keep narration short enough for 15 seconds."
          },
          "resolution": {
            "title": "Video resolution",
            "enum": [
              "768p",
              "480p"
            ],
            "type": "string",
            "description": "768p identifies the short side. The demonstrated vertical video is 768 x 1344 pixels.",
            "default": "768p"
          },
          "aspectRatio": {
            "title": "Video format",
            "enum": [
              "9:16",
              "16:9",
              "1:1",
              "4:3",
              "3:4",
              "21:9"
            ],
            "type": "string",
            "description": "Choose vertical, horizontal or square framing. Continuation must preserve the previous reference format.",
            "default": "9:16"
          },
          "previousRunId": {
            "title": "Previous CineKids run ID",
            "pattern": "^[A-Za-z0-9_-]{1,80}$",
            "type": "string",
            "description": "For Continue or Recover: an earlier run of this same Actor belonging to your Apify account. No arbitrary URLs or other customers' runs are accepted."
          },
          "previousStoreId": {
            "title": "Previous CineKids video archive",
            "type": "string",
            "description": "For Continue or Recover: select the previous run archive. Only that archive is read; the Actor keeps Limited permissions and checks its account owner and saved CineKids run identity."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}