{
  "openapi": "3.0.1",
  "info": {
    "title": "RushSlides – AI Slides via Gamma API",
    "description": "Generate AI slides, docs & posts via Gamma API. Third-party tool for Gamma. Gamma Pro plan required.",
    "version": "0.0",
    "x-build-id": "UsXzbce7vs3Hy8yPk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/futurizerush~rushslides-ai-via-gamma/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-futurizerush-rushslides-ai-via-gamma",
        "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/futurizerush~rushslides-ai-via-gamma/runs": {
      "post": {
        "operationId": "runs-sync-futurizerush-rushslides-ai-via-gamma",
        "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/futurizerush~rushslides-ai-via-gamma/run-sync": {
      "post": {
        "operationId": "run-sync-futurizerush-rushslides-ai-via-gamma",
        "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",
        "required": [
          "apiKey",
          "inputText"
        ],
        "properties": {
          "apiKey": {
            "title": "Gamma API Key",
            "type": "string",
            "description": "Get your API key from gamma.app/settings/api-keys (Gamma Pro subscription required)"
          },
          "inputText": {
            "title": "Content Input",
            "minLength": 1,
            "maxLength": 750000,
            "type": "string",
            "description": "Your content or idea. Can be brief ('AI pitch deck') or detailed (paste full document text)."
          },
          "format": {
            "title": "Output Format",
            "enum": [
              "presentation",
              "document",
              "social"
            ],
            "type": "string",
            "description": "Type of content to create",
            "default": "presentation"
          },
          "textMode": {
            "title": "Content Mode",
            "enum": [
              "generate",
              "condense",
              "preserve"
            ],
            "type": "string",
            "description": "How to process your input text",
            "default": "generate"
          },
          "numCards": {
            "title": "Number of Slides",
            "minimum": 1,
            "maximum": 60,
            "type": "integer",
            "description": "Total slides to generate (recommended: 10-15 for presentations)",
            "default": 10
          },
          "language": {
            "title": "Output Language",
            "enum": [
              "en",
              "en-gb",
              "en-in",
              "zh-cn",
              "zh-tw",
              "ja",
              "ja-da",
              "ko",
              "es",
              "es-es",
              "es-mx",
              "es-419",
              "fr",
              "de",
              "it",
              "pt-br",
              "pt-pt",
              "nl",
              "ru",
              "pl",
              "uk",
              "ar",
              "he",
              "fa",
              "hi",
              "bn",
              "ta",
              "te",
              "th",
              "vi",
              "id",
              "ms",
              "fil",
              "tr",
              "el",
              "bg",
              "ro",
              "hu",
              "cs",
              "sk",
              "sl",
              "hr",
              "sr",
              "lt",
              "lv",
              "et",
              "fi",
              "sv",
              "no",
              "da",
              "is",
              "ca",
              "eu",
              "gl",
              "af",
              "sw",
              "am",
              "ka",
              "hy",
              "az",
              "kk",
              "ky",
              "tg",
              "uz",
              "tk",
              "mn",
              "my",
              "km",
              "lo",
              "si",
              "ne",
              "ur",
              "ps",
              "sq",
              "mk",
              "bs"
            ],
            "type": "string",
            "description": "Language for your generated content",
            "default": "en"
          },
          "textAmount": {
            "title": "Text Density",
            "enum": [
              "brief",
              "medium",
              "detailed",
              "extensive"
            ],
            "type": "string",
            "description": "Amount of text per slide",
            "default": "medium"
          },
          "themeName": {
            "title": "Theme",
            "enum": [
              "",
              "alien",
              "ash",
              "ashrose",
              "atacama",
              "atmosphere",
              "aurora",
              "aurum",
              "blues",
              "borealis",
              "breeze",
              "canaveral",
              "chisel",
              "chocolate",
              "cigar",
              "clementa",
              "coal",
              "commons",
              "consultant",
              "cornfield",
              "cornflower",
              "creme",
              "daktilo",
              "daydream",
              "dawn",
              "dialogue",
              "dune",
              "editoria",
              "electric",
              "elysia",
              "finesse",
              "flamingo",
              "flax",
              "fluo",
              "founder",
              "gamma",
              "gleam",
              "howlite",
              "icebreaker",
              "incandescent",
              "indigo",
              "iris",
              "keepsake",
              "lavender",
              "leimoon",
              "linen",
              "lunaria",
              "lux",
              "malibu",
              "marine",
              "mercury",
              "mocha",
              "nebulae",
              "nova",
              "oasis",
              "oatmeal",
              "onyx",
              "orbit",
              "peach",
              "pearl",
              "petrol",
              "piano",
              "pistachio",
              "prism",
              "rush",
              "sage",
              "sanguine",
              "seafoam",
              "serene",
              "shadow",
              "slate",
              "snowball",
              "spectrum",
              "sprout",
              "stardust",
              "stratos",
              "terracotta",
              "tranquil",
              "twilight",
              "vanilla",
              "verdigris",
              "vortex",
              "wine",
              "wireframe",
              "zephyr"
            ],
            "type": "string",
            "description": "Visual theme for your content. Leave as 'Default' to use your workspace default theme.",
            "default": ""
          },
          "cardDimensions": {
            "title": "Slide Dimensions (Optional)",
            "enum": [
              "",
              "fluid",
              "16x9",
              "4x3",
              "pageless",
              "letter",
              "a4",
              "1x1",
              "4x5",
              "9x16"
            ],
            "type": "string",
            "description": "Card dimensions - leave empty for auto-selection based on format",
            "default": ""
          },
          "imageSource": {
            "title": "Image Source",
            "enum": [
              "aiGenerated",
              "pictographic",
              "unsplash",
              "webAllImages",
              "webFreeToUse",
              "webFreeToUseCommercially",
              "giphy",
              "placeholder",
              "noImages"
            ],
            "type": "string",
            "description": "Where to get images for your content",
            "default": "aiGenerated"
          },
          "aiImageModel": {
            "title": "AI Image Model",
            "enum": [
              "auto",
              "flux-1-quick",
              "flux-kontext-fast",
              "imagen-3-flash",
              "luma-photon-flash-1",
              "flux-1-pro",
              "imagen-3-pro",
              "ideogram-v3-turbo",
              "luma-photon-1",
              "leonardo-phoenix",
              "flux-kontext-pro",
              "ideogram-v3",
              "imagen-4-pro",
              "recraft-v3",
              "gpt-image-1-medium",
              "dall-e-3",
              "flux-1-ultra",
              "imagen-4-ultra",
              "flux-kontext-max",
              "recraft-v3-svg",
              "ideogram-v3-quality",
              "gpt-image-1-high"
            ],
            "type": "string",
            "description": "Which AI model to use for image generation (only applies if Image Source is 'AI Generated'). Choose based on your Gamma plan and credit balance.",
            "default": "auto"
          },
          "exportFormat": {
            "title": "Export Format",
            "enum": [
              "none",
              "pdf",
              "pptx"
            ],
            "type": "string",
            "description": "Download format (in addition to web link)",
            "default": "none"
          },
          "tone": {
            "title": "Tone (Optional)",
            "type": "string",
            "description": "Content tone – e.g., 'professional', 'casual', 'inspiring', 'technical'"
          },
          "audience": {
            "title": "Target Audience (Optional)",
            "type": "string",
            "description": "Who will view this – e.g., 'investors', 'students', 'C-suite executives'"
          },
          "additionalInstructions": {
            "title": "Additional Instructions (Optional)",
            "maxLength": 500,
            "type": "string",
            "description": "Any specific requirements or preferences for content generation"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}