{
  "openapi": "3.0.1",
  "info": {
    "title": "App Icon & Screenshot Generator: iOS, Android & PWA",
    "description": "Generate every app icon size from one image: Xcode AppIcon.appiconset, Android adaptive and legacy launcher icons, Play Store 512, favicon.ico and PWA icons, plus App Store and Google Play screenshot sizes. One ready-to-use ZIP.",
    "version": "0.1",
    "x-build-id": "GCRcHjeaSbVXiBw1q"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/digitalni.produkty.pro.zivot~app-icon-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-digitalni.produkty.pro.zivot-app-icon-generator",
        "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/digitalni.produkty.pro.zivot~app-icon-generator/runs": {
      "post": {
        "operationId": "runs-sync-digitalni.produkty.pro.zivot-app-icon-generator",
        "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/digitalni.produkty.pro.zivot~app-icon-generator/run-sync": {
      "post": {
        "operationId": "run-sync-digitalni.produkty.pro.zivot-app-icon-generator",
        "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": {
          "iconUrl": {
            "title": "App icon URL",
            "type": "string",
            "description": "Your app icon or logo as PNG (transparent background is fine), SVG, JPEG or WebP. Ideally square and at least 1024×1024 px."
          },
          "appName": {
            "title": "App name",
            "type": "string",
            "description": "Used in the web app manifest (site.webmanifest).",
            "default": "My App"
          },
          "platforms": {
            "title": "Icon platforms",
            "type": "array",
            "description": "Which icon sets to generate. All are included in the price.",
            "items": {
              "type": "string",
              "enum": [
                "ios",
                "android",
                "web"
              ],
              "enumTitles": [
                "iOS / iPadOS (Xcode AppIcon.appiconset)",
                "Android (adaptive + legacy launcher icons, Play Store 512)",
                "Web / PWA (favicon.ico, apple-touch-icon, manifest)"
              ]
            },
            "default": [
              "ios",
              "android",
              "web"
            ]
          },
          "backgroundColor": {
            "title": "Icon background color",
            "type": "string",
            "description": "Hex color used where transparency is not allowed (iOS icons, Play Store icon, apple-touch-icon) and as the Android adaptive icon background, e.g. #ffffff.",
            "default": "#ffffff"
          },
          "adaptiveIconScalePercent": {
            "title": "Android adaptive icon logo size (%)",
            "minimum": 40,
            "maximum": 100,
            "type": "integer",
            "description": "Size of your logo inside the 108 dp adaptive icon layer. 61 % keeps it inside the safe zone that every launcher shape shows.",
            "default": 61
          },
          "screenshotUrls": {
            "title": "Screenshot URLs",
            "type": "array",
            "description": "Optional: app screenshots (any size, portrait or landscape). Each one is resized to every store size selected below.",
            "items": {
              "type": "string"
            }
          },
          "screenshotTargets": {
            "title": "Screenshot sizes",
            "type": "array",
            "description": "Store sizes to create. Landscape screenshots get the landscape version of each size.",
            "items": {
              "type": "string",
              "enum": [
                "iphone-6.9",
                "iphone-6.5",
                "ipad-13",
                "play-phone",
                "play-tablet-7",
                "play-tablet-10"
              ],
              "enumTitles": [
                "App Store: iPhone 6.9\" (1320×2868)",
                "App Store: iPhone 6.5\" (1284×2778)",
                "App Store: iPad 13\" (2064×2752)",
                "Google Play: phone 9:16 (1080×1920)",
                "Google Play: 7\" tablet (1200×1920)",
                "Google Play: 10\" tablet (1600×2560)"
              ]
            },
            "default": [
              "iphone-6.9",
              "iphone-6.5",
              "play-phone"
            ]
          },
          "screenshotMode": {
            "title": "Screenshot fitting",
            "enum": [
              "fit",
              "cover"
            ],
            "type": "string",
            "description": "How to handle screenshots whose aspect ratio differs from the store size.",
            "default": "fit"
          },
          "screenshotBackground": {
            "title": "Screenshot background",
            "type": "string",
            "description": "\"auto\" uses the dominant color of each screenshot, or a hex color like #000000.",
            "default": "auto"
          },
          "maxFileSizeMb": {
            "title": "Maximum input size (MB)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Larger files are skipped (not charged).",
            "default": 30
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}