{
  "openapi": "3.0.1",
  "info": {
    "title": "360 Image Widget Generator",
    "description": "AI-powered 360-degree product view generator. Upload product images and get 8 different angle views at hip level. Includes an interactive HTML widget that responds to mouse movement for smooth 360-degree rotation effect. Perfect for e-commerce, product showcases, and interactive product displays.",
    "version": "1.0",
    "x-build-id": "YLHiOXoAj3AAf6efH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~360-image-widget-generator/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-360-image-widget-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/parseforge~360-image-widget-generator/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-360-image-widget-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/parseforge~360-image-widget-generator/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-360-image-widget-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",
        "required": [
          "imageUrls"
        ],
        "properties": {
          "imageUrls": {
            "title": "Product Images (For better results, use the same object and background in all images)",
            "type": "array",
            "description": "Upload one or more images of the SAME object from different angles. This helps the AI understand the complete 3D structure, features, colors, and details of your object.\n\n📸 How it affects output:\n• All input images are used as reference for every generated view to maintain consistency\n• Images are automatically optimized before processing\n• Works best with 3 input pictures showing different sides of your object\n\n💡 Tip: Upload 3 images showing different sides of your object (e.g., front, side, back) for best results.\n\nSupported formats: JPG, PNG, WebP"
          },
          "imageCount": {
            "title": "Number of Views to Generate",
            "enum": [
              "4",
              "8"
            ],
            "type": "string",
            "description": "Choose how many angle views to generate around your object. This determines the smoothness of the 360° rotation in your widget.\n\n📸 How it affects output:\n• More views = Smoother rotation experience = More processing time\n• Fewer views = Faster generation = Less smooth rotation\n\n✅ 4 Images (every 90°)\nGenerates: Front (0°), Right (90°), Back (180°), Left (270°)\nBest for: Quick previews, simple objects\nProcessing time: ~2-4 minutes\n\n✅ 8 Images (every 45°)\nGenerates: Front, Front-Right, Right, Back-Right, Back, Back-Left, Left, Front-Left\nBest for: Professional product showcases, smooth rotation\nProcessing time: ~4-8 minutes\n\n💡 Recommended: 8 images for the best balance of quality and smoothness.",
            "default": "8"
          },
          "distance": {
            "title": "Camera Distance from Object",
            "enum": [
              "close",
              "medium",
              "far"
            ],
            "type": "string",
            "description": "Control how close or far the camera appears from your object in all generated views. This affects the framing and how much background is visible.\n\n📸 How it affects output:\n• Close: Object fills more of the frame, less background visible, great for detail shots\n• Medium: Balanced view, object and background both visible, recommended for most products\n• Far: Object appears smaller, more background visible, shows context and environment\n\n✅ Close\nEffect: Camera is very close to the object\nBest for: Detail-focused products, jewelry, small items\nObject size: Large in frame\nBackground: Minimal\n\n✅ Medium (Recommended)\nEffect: Camera at comfortable viewing distance\nBest for: Most products, general use cases\nObject size: Balanced\nBackground: Moderate\n\n✅ Far\nEffect: Camera is far from the object\nBest for: Showing context, environment, large items in setting\nObject size: Smaller in frame\nBackground: Extensive\n\n💡 All views maintain the same distance - only the angle changes around the object.",
            "default": "medium"
          },
          "temperature": {
            "title": "Generation Temperature",
            "minimum": 0.1,
            "maximum": 1,
            "type": "number",
            "description": "Control how strictly the AI follows instructions versus being creative. This affects consistency and adherence to your requirements.\n\n📸 How it affects output:\n• Lower temperature (0.1-0.4): More consistent, strictly follows instructions, better background consistency, less variation\n• Medium temperature (0.5-0.7): Balanced approach, good consistency with some flexibility\n• Higher temperature (0.8-1.0): More creative, may vary more, less strict adherence\n\n⚠️ Too Low (below 0.3):\n• May be too rigid and repetitive\n• Could produce very similar images across angles\n• Might miss some creative details\n• Best for: Maximum consistency when background must be identical\n\n✅ Recommended (0.4-0.6):\n• Good balance of consistency and quality\n• Follows instructions well while maintaining natural appearance\n• Best for: Most use cases, professional product showcases\n\n⚠️ Too High (above 0.7):\n• May introduce unwanted variations\n• Background consistency might suffer\n• Could deviate from angle requirements\n• Best for: Creative variations when strict consistency isn't critical\n\n💡 Default: 0.5 provides the best balance for most products.",
            "default": 0.5
          },
          "customPrompt": {
            "title": "Additional Instructions (Optional)",
            "type": "string",
            "description": "Add specific instructions to customize how your 360° views are generated. These instructions are combined with the standard requirements.\n\n📸 How it affects output:\n• Your instructions guide the AI's generation style and focus\n• Use for specific styling, background preferences, or special requirements\n• Leave empty to use default professional settings\n\n💡 Example instructions:\n• \"Keep the background minimal and clean\"\n• \"Emphasize product details and textures\"\n• \"Maintain professional studio lighting\"\n• \"Show the object in a natural environment\"\n• \"Keep colors vibrant and saturated\"\n• \"Use soft, diffused lighting\"\n\n⚠️ Note: Instructions should complement, not contradict, the standard requirements (like maintaining background consistency)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}